1 %include /usr/lib/rpm/macros.perl
2 Summary: .NET language bindings for Gtk+ and GNOME
3 Summary(pl): Wi±zania Gtk+ oraz GNOME dla .NET
8 Group: Development/Libraries
9 Source0: http://dl.sourceforge.net/gtk-sharp/%{name}-%{version}.tar.gz
10 URL: http://gtk-sharp.sf.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRequires: libgda-devel
15 BuildRequires: libglade2-devel
16 BuildRequires: libgnomecanvas-devel >= 2.0.0
17 BuildRequires: libgnomeui >= 2.0.0
18 #BuildRequires: libgnomedb
19 BuildRequires: mono-csharp
20 BuildRequires: rpm-perlprov
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
27 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
31 Summary: Development part of GTK#
32 Group: Development/Libraries
33 Requires: %{name} = %{version}
36 Tools (C source parser and C# code generator) and documentation for
37 developing applications using GTK#.
39 %description devel -l pl
40 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
41 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install DESTDIR=$RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{perl_vendorlib}
60 mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/GAPI $RPM_BUILD_ROOT%{perl_vendorlib}
62 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
76 %attr(755,root,root) %{_libdir}/libgtksharpglue.so
77 %{_libdir}/libgtksharpglue.la
80 %defattr(644,root,root,755)
81 %doc README.generator ChangeLog
82 %attr(755,root,root) %{_bindir}/gapi*
83 %{_libdir}/libgtksharpglue.a
85 %{perl_vendorlib}/GAPI
86 %{_examplesdir}/%{name}-%{version}