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/rc/gtk-sharp-%{version}.tar.gz
10 # Source0-md5: fef7aea3d834ccf208913e29c2e989eb
11 Patch0: %{name}-gtkhtml31.patch
12 Patch1: %{name}-destdir.patch
13 Patch2: %{name}-mint.patch
14 Patch3: %{name}-runtime-optimize.patch
15 URL: http://gtk-sharp.sf.net/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gtkhtml-devel >= 3.1.14
19 BuildRequires: libart_lgpl-devel >= 2.2.0
20 BuildRequires: libgda-devel >= 1.0.0
21 BuildRequires: libglade2-devel >= 2.0.1
22 BuildRequires: libgnomecanvas-devel >= 2.4.0
23 BuildRequires: libgnomedb-devel >= 1.0.0
24 BuildRequires: libgnomeprintui-devel >= 2.4.0
25 BuildRequires: libgnomeui-devel >= 2.4.0
26 BuildRequires: librsvg-devel >= 2.4.0
27 BuildRequires: libtool
28 BuildRequires: libxml2-devel
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
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
45 Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
49 Summary: Development part of GTK#
50 Summary(pl): Czê¶æ dla programistów GTK#
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Provides: dotnet-gtk-devel
54 Provides: gtk-sharp-devel
55 Obsoletes: dotnet-gtk-devel
56 Obsoletes: gtk-sharp-devel
59 Tools (C source parser and C# code generator) and documentation for
60 developing applications using GTK#.
62 %description devel -l pl
63 Narzêdzia (parser kodu C oraz generator kodu C#) i dokumentacja
64 potrzebne przy tworzeniu aplikacji korzystaj±cych z GTK#.
67 Summary: Static gtk-sharp libraries
68 Summary(pl): Biblioteki statyczne gtk-sharp
69 Group: Development/Libraries
70 Requires: %{name}-devel = %{version}-%{release}
71 Provides: dotnet-gtk-static
72 Provides: gtk-sharp-static
73 Obsoletes: dotnet-gtk-static
74 Obsoletes: gtk-sharp-static
77 Static gtk-sharp libraries.
79 %description static -l pl
80 Biblioteki statyczne gtk-sharp.
83 %setup -q -n gtk-sharp-%{version}
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{_examplesdir}/%{name}-%{version}}
104 DESTDIR=$RPM_BUILD_ROOT
106 cp -a sample/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/gconfsharp-schemagen*
118 %attr(755,root,root) %{_libdir}/lib*sharpglue.so
119 %{_libdir}/lib*sharpglue.la
120 %{_libdir}/mono/gac/*
123 %defattr(644,root,root,755)
124 %doc README.generator ChangeLog
125 %attr(755,root,root) %{_bindir}/gapi*
127 %{_examplesdir}/%{name}-%{version}
129 %{_libdir}/mono/gtk-sharp
132 %defattr(644,root,root,755)
133 %{_libdir}/lib*sharpglue.a