File gnome-sharp2.spec of Package gnome-sharp2
#
# spec file for package gnome-sharp2 (Version 2.24.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define _name gnome-sharp
Name: gnome-sharp2
Version: 2.24.2
Release: 1
Url: http://www.mono-project.com/GtkSharp
License: LGPLv2.1
Group: System/GUI/GNOME
Summary: Mono bindings for Gnome
BuildRequires: glade-sharp2 gtk-sharp2 gtk-sharp2-gapi
BuildRequires: librsvg-devel
BuildRequires: mono-devel
BuildRequires: vte-devel
BuildRequires: gnome-panel-devel
BuildRequires: monodoc-core
BuildRequires: update-desktop-files
BuildRequires: gtkhtml2-devel
Source: http://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.24/%{_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains Mono bindings for Gnome.
%package -n gnome-sharp2-complete
License: LGPLv2.1
Group: System/GUI/GNOME
Summary: GTK+ and GNOME bindings for Mono (virtual package)
Requires: art-sharp2 = %{version}-%{release}
Requires: gconf-sharp2 = %{version}-%{release}
Requires: gnome-sharp2 = %{version}-%{release}
Requires: gnome-vfs-sharp2 = %{version}-%{release}
%description -n gnome-sharp2-complete
Gtk# is a library that allows you to build fully native graphical GNOME
applications using Mono. Gtk# is a binding to GTK+, the cross platform
user interface toolkit used in GNOME. It includes bindings for Gtk,
Atk, Pango, Gdk, libgnome, libgnomeui and libgnomecanvas. (Virtual
package which depends on all gtk-sharp2 subpackages)
%package -n gnome-vfs-sharp2
License: LGPLv2.1
Summary: Mono bindings for gnomevfs
Group: System/GUI/GNOME
%description -n gnome-vfs-sharp2
This package contains Mono bindings gnomevfs.
%package -n art-sharp2
License: LGPLv2.1
Summary: Mono bindings for libart
Group: System/GUI/GNOME
%description -n art-sharp2
This package contains Mono bindings for libart.
%package -n gconf-sharp2
License: LGPLv2.1
Summary: Mono bindings for gconf
Group: System/GUI/GNOME
%description -n gconf-sharp2
This package contains Mono bindings for gconf and gconf peditors.
%prep
%setup -q -n %{_name}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --libexecdir=%{_prefix}/lib --enable-debug
make
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_libdir}/*.*a
%clean
rm -rf %{buildroot}
%files -n gnome-sharp2-complete
%defattr(-, root, root)
%dir %{_prefix}/lib/gtk-sharp-2.0
%dir %{_prefix}/lib/mono/gtk-sharp-2.0
%files -n gnome-sharp2
%defattr(-,root,root)
%{_datadir}/gapi-2.0/gnome-api.xml
%{_libdir}/libgnomesharpglue-2.so
%{_libdir}/pkgconfig/gnome-sharp-2.0.pc
%{_prefix}/lib/mono/gac/*gnome-sharp
%{_prefix}/lib/mono/gtk-sharp-2.0/*gnome-sharp.dll
%files -n gnome-vfs-sharp2
%defattr(-,root,root)
%{_datadir}/gapi-2.0/gnome-vfs-api.xml
%{_libdir}/pkgconfig/gnome-vfs-sharp-2.0.pc
%{_prefix}/lib/mono/gac/*gnome-vfs-sharp
%{_prefix}/lib/mono/gtk-sharp-2.0/*gnome-vfs-sharp.dll
%files -n art-sharp2
%defattr(-,root,root)
%{_datadir}/gapi-2.0/art-api.xml
%{_libdir}/pkgconfig/art-sharp-2.0.pc
%{_prefix}/lib/mono/gac/*art-sharp
%{_prefix}/lib/mono/gtk-sharp-2.0/*art-sharp.dll
%files -n gconf-sharp2
%defattr(-, root, root)
%{_bindir}/gconfsharp2-schemagen
%{_libdir}/pkgconfig/gconf-sharp-2.0.pc
%{_libdir}/pkgconfig/gconf-sharp-peditors-2.0.pc
%{_prefix}/lib/gtk-sharp-2.0/gconfsharp-schemagen.exe
%{_prefix}/lib/mono/gac/*gconf-sharp
%{_prefix}/lib/mono/gac/*gconf-sharp-peditors
%{_prefix}/lib/mono/gtk-sharp-2.0/*gconf-sharp-peditors.dll
%{_prefix}/lib/mono/gtk-sharp-2.0/*gconf-sharp.dll
%changelog