1 # TODO: fix perl stuff?
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: ftp://ftp.sf.net/pub/sourceforge/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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
25 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
29 Summary: Development part of GTK#
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
34 Tools (C source parser and C# code generator) and documentation for
35 developing applications using GTK#.
37 %description devel -l pl
38 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
39 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
54 rm -rf $RPM_BUILD_ROOT
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT%{_libdir}/perl5/site_perl
58 mv -f $RPM_BUILD_ROOT%{_datadir}/perl5/* $RPM_BUILD_ROOT%{_libdir}/perl5/site_perl
60 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
61 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
70 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
74 %{_libdir}/libgtksharpglue.*
77 %defattr(644,root,root,755)
78 %doc README.generator ChangeLog
79 %attr(755,root,root) %{_bindir}/gapi*
81 %{_libdir}/perl5/site_perl/*
82 %{_examplesdir}/%{name}-%{version}