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 # Source0-md5: 0f796f788159b008ee8a7f656dedf363
11 URL: http://gtk-sharp.sf.net/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: libtool
15 BuildRequires: libgda-devel
16 BuildRequires: libglade2-devel
17 BuildRequires: libgnomecanvas-devel >= 2.0.0
18 BuildRequires: libgnomeui >= 2.0.0
19 #BuildRequires: libgnomedb
20 BuildRequires: mono-csharp
21 BuildRequires: rpm-perlprov
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
28 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
32 Summary: Development part of GTK#
33 Group: Development/Libraries
34 Requires: %{name} = %{version}
37 Tools (C source parser and C# code generator) and documentation for
38 developing applications using GTK#.
40 %description devel -l pl
41 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
42 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{perl_vendorlib}
61 mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/GAPI $RPM_BUILD_ROOT%{perl_vendorlib}
63 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
73 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
77 %attr(755,root,root) %{_libdir}/libgtksharpglue.so
78 %{_libdir}/libgtksharpglue.la
81 %defattr(644,root,root,755)
82 %doc README.generator ChangeLog
83 %attr(755,root,root) %{_bindir}/gapi*
84 %{_libdir}/libgtksharpglue.a
86 %{perl_vendorlib}/GAPI
87 %{_examplesdir}/%{name}-%{version}