]> git.pld-linux.org Git - packages/dotnet-gecko-sharp.git/blobdiff - dotnet-gecko-sharp.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/dotnet-gecko-sharp.git] / dotnet-gecko-sharp.spec
index 4fd3cf52ac6c948d51697afb9a00ad519226a03d..504c6e5fcc81bb7c95a1f4c103d53006460a432f 100644 (file)
@@ -1,13 +1,12 @@
-%include       /usr/lib/rpm/macros.mono
+# NOTE: libgtkembedmoz.so has been dropped since xulrunner 1.9
 Summary:       Gecko# - A Gtk# Mozilla binding
-Summary(pl.UTF-8):   Gecko# - wiązanie Gtk# dla Mozilli
+Summary(pl.UTF-8):     Gecko# - wiązanie Gtk# dla Mozilli
 Name:          dotnet-gecko-sharp
 Version:       0.6
-Release:       7
-Epoch:         0
+Release:       8
 License:       GPL
 Group:         Libraries
-Source0:       http://www.go-mono.com/archive/1.0.6/gecko-sharp-%{version}.tar.gz
+Source0:       http://download.mono-project.com/sources/gecko-sharp/gecko-sharp-%{version}.tar.gz
 # Source0-md5: 9ce9bb08125f7c7eecf8bd696a3345bd
 Patch0:                %{name}-mint.patch
 Patch1:                %{name}-monodir.patch
@@ -16,14 +15,19 @@ BuildRequires:      autoconf
 BuildRequires: automake
 # just gtk-sharp
 BuildRequires: dotnet-gtk-sharp-devel >= 0.98
-BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: gtk+2-devel >= 1:2.0.0
 BuildRequires: mono-csharp >= 1.1.7
 BuildRequires: pkgconfig
 BuildRequires: sed >= 4.0
 BuildConflicts:        gecko-sharp < 0.2
 Requires:      mono >= 1.1.7
 Requires:      dotnet-gtk-sharp >= 0.98
-ExcludeArch:   i386 alpha sparc sparc64
+%ifarch %{x8664} ia64 ppc64 s390x sparc64
+Requires:      libgtkembedmoz.so()(64bit)
+%else
+Requires:      libgtkembedmoz.so
+%endif
+ExcludeArch:   i386
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,9 +38,9 @@ Gecko# - wiązanie Gtk# dla Mozilli.
 
 %package devel
 Summary:       Gecko# development files
-Summary(pl.UTF-8):   Pliki programistyczne Gecko#
+Summary(pl.UTF-8):     Pliki programistyczne Gecko#
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Gecko# development files.
@@ -71,8 +75,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root)%{_bindir}/webshot
+%doc ChangeLog README
+%attr(755,root,root) %{_bindir}/webshot
 %{_libdir}/gecko-sharp
 %{_prefix}/lib/mono/gac/gecko-sharp
 
This page took 0.070459 seconds and 4 git commands to generate.