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/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gtkhtml-devel >= 3.1.14
18 BuildRequires: libart_lgpl-devel >= 2.2.0
19 BuildRequires: libgda-devel >= 1.0.0
20 BuildRequires: libglade2-devel >= 2.0.1
21 BuildRequires: libgnomecanvas-devel >= 2.4.0
22 BuildRequires: libgnomedb-devel >= 1.0.0
23 BuildRequires: libgnomeprintui-devel >= 2.4.0
24 BuildRequires: libgnomeui-devel >= 2.4.0
25 BuildRequires: librsvg-devel >= 2.4.0
26 BuildRequires: libtool
27 BuildRequires: libxml2-devel
28 BuildRequires: mono-csharp
29 BuildRequires: mono-devel >= 0.96
30 BuildRequires: ncurses-devel
31 BuildRequires: rpm-perlprov
32 BuildRequires: vte-devel >= 0.11.10
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
44 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
48 Summary: Development part of GTK#
49 Summary(pl): Czê¶æ dla programistów GTK#
50 Group: Development/Libraries
51 Requires: %{name} = %{version}-%{release}
52 Provides: dotnet-gtk-devel
53 Provides: gtk-sharp-devel
54 Obsoletes: dotnet-gtk-devel
55 Obsoletes: gtk-sharp-devel
58 Tools (C source parser and C# code generator) and documentation for
59 developing applications using GTK#.
61 %description devel -l pl
62 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
63 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
66 Summary: Static gtk-sharp libraries
67 Summary(pl): Biblioteki statyczne gtk-sharp
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
70 Provides: dotnet-gtk-static
71 Provides: gtk-sharp-static
72 Obsoletes: dotnet-gtk-static
73 Obsoletes: gtk-sharp-static
76 Static gtk-sharp libraries.
78 %description static -l pl
79 Biblioteki statyczne gtk-sharp.
82 %setup -q -n gtk-sharp-%{version}
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
102 DESTDIR=$RPM_BUILD_ROOT
104 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
116 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
117 %{_libdir}/lib*sharpglue.la
118 %{_libdir}/mono/gac/*
121 %defattr(644,root,root,755)
122 %doc README.generator ChangeLog
123 %attr(755,root,root) %{_bindir}/gapi*
125 %{_examplesdir}/%{name}-%{version}
127 %{_libdir}/mono/gtk-sharp
131 %defattr(644,root,root,755)
132 %{_libdir}/lib*sharpglue.a