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://www.go-mono.com/archive/beta3/gtk-sharp-%{version}.tar.gz
10 # Source0-md5: 39f8db2c65a687e6ac799b42d8d1304f
11 Patch0: %{name}-gtkhtml31.patch
12 Patch1: %{name}-destdir.patch
13 Patch2: %{name}-mint.patch
14 URL: http://gtk-sharp.sf.net/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gtkhtml-devel >= 3.1.14
22 BuildRequires: libgda-devel >= 1.0.0
23 BuildRequires: libglade2-devel >= 2.0.1
24 BuildRequires: libgnomecanvas-devel >= 2.4.0
25 BuildRequires: libgnomedb-devel >= 1.0.0
26 BuildRequires: libgnomeui-devel >= 2.4.0
27 BuildRequires: librsvg-devel >= 2.4.0
28 BuildRequires: libtool
29 BuildRequires: mono-csharp
30 BuildRequires: mono-devel >= 0.96
31 BuildRequires: ncurses-devel
32 BuildRequires: rpm-perlprov
33 BuildRequires: vte-devel >= 0.11.10
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
41 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
45 Summary: Development part of GTK#
46 Summary(pl): Czê¶æ dla programistów GTK#
47 Group: Development/Libraries
48 Obsoletes: gtk-sharp-devel
49 Obsoletes: dotnet-gtk-devel
50 Provides: gtk-sharp-devel
51 Provides: dotnet-gtk-devel
52 Requires: %{name} = %{version}-%{release}
55 Tools (C source parser and C# code generator) and documentation for
56 developing applications using GTK#.
58 %description devel -l pl
59 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
60 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
63 Summary: Static gtk-sharp libraries
64 Summary(pl): Biblioteki statyczne gtk-sharp
65 Group: Development/Libraries
66 Obsoletes: gtk-sharp-static
67 Obsoletes: dotnet-gtk-static
68 Provides: gtk-sharp-static
69 Provides: dotnet-gtk-static
70 Requires: %{name}-devel = %{version}-%{release}
73 Static gtk-sharp libraries.
75 %description static -l pl
76 Biblioteki statyczne gtk-sharp.
79 %setup -q -n gtk-sharp-%{version}
95 rm -rf $RPM_BUILD_ROOT
96 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
99 DESTDIR=$RPM_BUILD_ROOT
101 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
110 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
113 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
114 %{_libdir}/lib*sharpglue.la
115 %{_libdir}/mono/gac/*
118 %defattr(644,root,root,755)
119 %doc README.generator ChangeLog
120 %attr(755,root,root) %{_bindir}/gapi*
122 %{_examplesdir}/%{name}-%{version}
124 %{_libdir}/mono/gtk-sharp
128 %defattr(644,root,root,755)
129 %{_libdir}/lib*sharpglue.a