From 8bb799fcef197af8d66355d664e5da827befaed3 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Nov 18 2005 08:21:35 +0000 Subject: auto-import gtk-sharp2-2.4.0-1 on branch devel from gtk-sharp2-2.4.0-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..d155325 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gtk-sharp-2.4.0.tar.gz diff --git a/gtk-sharp2.spec b/gtk-sharp2.spec new file mode 100644 index 0000000..ed35556 --- /dev/null +++ b/gtk-sharp2.spec @@ -0,0 +1,86 @@ +Name: gtk-sharp2 +Version: 2.4.0 +Release: 1 +Summary: GTK+ and GNOME bindings for Mono + +Group: System Environment/Libraries +License: LGPL +URL: http://gtk-sharp.sf.net +Source0: gtk-sharp-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: mono-devel gtk2-devel libart_lgpl-devel gnome-vfs2-devel libgnomecanvas-devel libgnomeui-devel +BuildRequires: libglade2-devel librsvg2-devel gtkhtml3-devel vte-devel gnome-panel-devel +BuildRequires: libgnomeprintui22-devel + +# Mono only availible on these: (s390 disabled for now) +ExclusiveArch: %ix86 x86_64 ppc ia64 armv4l sparc #s390 + +%description +This package provides 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. Gtk# +2.4.x binds GTK+ 2.4. + +%package gapi +Group: Development/Languages +Summary: Glib and GObject C source parser and C generator for the creation and maintenance of managed bindings for Mono and .NET +Requires: perl-XML-LibXML-Common perl-XML-LibXML perl-XML-SAX + +%description gapi +This package provides developer tools for the creation and +maintainance of managed bindings to native libraries which utilize +glib and GObject. Some examples of libraries currently bound using +the GAPI tools and found in Gtk# include Gtk, Atk, Pango, Gdk, +libgnome, libgnomeui and libgnomecanvas. + +%prep +%setup -n gtk-sharp-%{version} + +%build +%configure +# Work around issue with gtkdotnet without System.Drawing +perl -pi -e "s,gtkdotnet,,g" Makefile +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp /gacdir %{_prefix}/lib /root ${RPM_BUILD_ROOT}%{_prefix}/lib" +rm $RPM_BUILD_ROOT%{_libdir}/*.*a +mv $RPM_BUILD_ROOT%{_prefix}/lib/mono/gtk-sharp $RPM_BUILD_ROOT%{_prefix}/lib/mono/gtk-sharp-2.0 + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING ChangeLog README +%{_libdir}/*.so +%dir %{_prefix}/lib/gtk-sharp-2.0 +%{_prefix}/lib/gtk-sharp-2.0/gconfsharp-schemagen.exe +%{_bindir}/gconfsharp2-schemagen +%{_prefix}/lib/mono/gac +%{_prefix}/lib/mono/gtk-sharp-2.0 +%{_libdir}/pkgconfig/*-sharp-2.0.pc + +%files gapi +%defattr(-,root,root,-) +%{_bindir}/gapi2-codegen +%{_bindir}/gapi2-fixup +%{_bindir}/gapi2-parser +%{_prefix}/lib/gtk-sharp-2.0/gapi_codegen.exe +%{_prefix}/lib/gtk-sharp-2.0/gapi-fixup.exe +%{_prefix}/lib/gtk-sharp-2.0/gapi-parser.exe +%{_prefix}/lib/gtk-sharp-2.0/gapi_pp.pl +%{_prefix}/lib/gtk-sharp-2.0/gapi2xml.pl +%{_libdir}/pkgconfig/gapi-2.0.pc +%{_prefix}/share/gapi-2.0 + +%changelog +* Tue Nov 15 2005 Alexander Larsson - 2.4.0-1 +- Initial version + diff --git a/sources b/sources index e69de29..7e1d3db 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9c2e4283a104479d4c7f404142042f3a gtk-sharp-2.4.0.tar.gz