]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/blobdiff - dotnet-gtk-sharp.spec
- we got now gtkhtml 3.6.1 on head, release 2
[packages/dotnet-gtk-sharp.git] / dotnet-gtk-sharp.spec
index 2115e1261285dcaf2ee535b1d8519d59b214bc33..d2a51e58d74505813d43d69e198a110b9b851ff7 100644 (file)
@@ -1,25 +1,25 @@
-%define                gtkhtml_soversion       %(/bin/ls %{_libdir}/libgtkhtml-3.1.so.* | /usr/bin/head -1 | /usr/bin/awk '{ split($1,v,"."); print v[4]; }')
-%define                gtkhtml_version         %(if [ -e /usr/bin/pkg-config ]; then /usr/bin/pkg-config --modversion libgtkhtml-3.; fi)
+%define                gtkhtml_soversion       %(/bin/ls %{_libdir}/libgtkhtml-3.6.so.* | /usr/bin/head -n 1 | /usr/bin/awk '{ split($1,v,"."); print v[4]; }')
+%define                gtkhtml_version         %(if [ -e /usr/bin/pkg-config ]; then /usr/bin/pkg-config --modversion libgtkhtml-3.6; else echo 0; fi)
 %include       /usr/lib/rpm/macros.perl
-Summary:       .NET language bindings for Gtk+ and GNOME
-Summary(pl):   Wi±zania Gtk+ oraz GNOME dla .NET
+Summary:       .NET language bindings for GTK+ and GNOME
+Summary(pl):   Wi±zania GTK+ oraz GNOME dla .NET
 Name:          dotnet-gtk-sharp
-Version:       1.0
-Release:       6
+Version:       1.0.6
+Release:       2
 License:       LGPL
 Group:         Development/Libraries
 Source0:       http://www.go-mono.com/archive/%{version}/gtk-sharp-%{version}.tar.gz
-# Source0-md5: 6eab56e11c1e1245ec6af12312969399
+# Source0-md5: 2651d14fe77174ab20b8af53d150ee11
 Patch0:                %{name}-gtkhtml31.patch
 Patch1:                %{name}-destdir.patch
 Patch2:                %{name}-mint.patch
-Patch3:                %{name}-disable-rsvg-sample.patch
+#Patch3:               %{name}-disable-rsvg-sample.patch
 Patch4:                %{name}-pc-libdir.patch
 URL:           http://gtk-sharp.sf.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: pkgconfig
-BuildRequires: gtkhtml-devel >= 3.1.14
+BuildRequires: gawk
+BuildRequires: gtkhtml-devel >= 3.6.0
 BuildRequires: libart_lgpl-devel >= 2.2.0
 BuildRequires: libgda-devel >= 1.0.0
 BuildRequires: libglade2-devel >= 2.0.1
@@ -30,26 +30,24 @@ BuildRequires:      libgnomeui-devel >= 2.4.0
 BuildRequires: librsvg-devel >= 2.4.0
 BuildRequires: libtool
 BuildRequires: libxml2-devel
-BuildRequires: mono-csharp
-BuildRequires: mono-devel >= 1.0-3
+BuildRequires: mono-csharp >= 1.0.2
 BuildRequires: ncurses-devel
+BuildRequires: pkgconfig
 BuildRequires: rpm-perlprov
 BuildRequires: vte-devel >= 0.11.10
-BuildRequires: gawk
 Requires:      gtkhtml = %{gtkhtml_version}
 Provides:      dotnet-gtk
 Provides:      gtk-sharp
 Obsoletes:     dotnet-gtk
 Obsoletes:     gtk-sharp
+ExcludeArch:   alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
-
 %description
-This package provides bindings for .NET to Gtk+2 and GNOME2 libraries.
+This package provides bindings for .NET to GTK+2 and GNOME2 libraries.
 
 %description -l pl
-Pakiet ten dostarcza wi±zania dla .NET do bibliotek z Gtk+2 oraz
+Pakiet ten dostarcza wi±zania dla .NET do bibliotek z GTK+2 oraz
 GNOME2.
 
 %package devel
@@ -91,7 +89,7 @@ Biblioteki statyczne gtk-sharp.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
+#%patch3 -p1
 %patch4 -p1
 
 %build
@@ -104,7 +102,6 @@ rm -rf autom4te.cache
 
 %configure \
        GTKHTMLSOVERSION=%{gtkhtml_soversion}
-    
 %{__make}
 
 %install
This page took 0.057782 seconds and 4 git commands to generate.