diff --git a/.cvsignore b/.cvsignore index e69de29..a37ead2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gnome-sharp-2.15.0.tar.bz2 diff --git a/gnome-sharp.spec b/gnome-sharp.spec new file mode 100644 index 0000000..9939a57 --- /dev/null +++ b/gnome-sharp.spec @@ -0,0 +1,59 @@ +Name: gnome-sharp +Version: 2.15.0 +Release: 1%{?dist} +Summary: GTK+ and GNOME bindings for Mono + +Group: System Environment/Libraries +License: LGPL +URL: ftp://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.15/ +Source0: ftp://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.15/gnome-sharp-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: mono-devtools gtk2-devel libart_lgpl-devel gnome-vfs2-devel libgnomecanvas-devel libgnomeui-devel +BuildRequires: gtk-sharp2 >= 2.9.0 +BuildRequires: gtk-sharp2-gapi >= 2.9.0 +BuildRequires: libglade2-devel librsvg2-devel gtkhtml3-devel vte-devel gnome-panel-devel +BuildRequires: libgnomeprintui22-devel + +# Mono only availible on these: +ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc +# no mono on s390 for now: s390 s390x + +%description +This package provides a library that allows you to build +fully native graphical GNOME applications using Mono. gnome-sharp +extends gtk-sharp2 and adds bindings for gconf, libgnome, gnome-vfs, +libart, gtkhtml, librsvg, and vte. + +%prep +%setup -n gnome-sharp-%{version} + +%build + +export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} +%configure +make + +%install +%{__rm} -rf $RPM_BUILD_ROOT +export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} +make install DESTDIR=$RPM_BUILD_ROOT +%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.*a + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING ChangeLog README +%{_bindir}/gconfsharp2-schemagen +%{_prefix}/lib/gtk-sharp-2.0/gconfsharp-schemagen.exe +%{_libdir}/*.so +%{_prefix}/lib/mono/gac +%{_prefix}/lib/mono/gtk-sharp-2.0/*.dll +%{_libdir}/pkgconfig/*-sharp-2.0.pc +%{_prefix}/share/gapi-2.0/* + +%changelog +* Mon Aug 14 2006 Alexander Larsson - 2.15.0-1 +- Initial version split out from gtk-sharp2 diff --git a/sources b/sources index e69de29..4356d35 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +757734d783df2cad2c30bff122acd774 gnome-sharp-2.15.0.tar.bz2