1 %define minmozver 5:1.7
2 Summary: Collection of extensions for Epiphany
3 Summary(pl): Zbiór rozszerzeñ dla Epiphany
4 Name: epiphany-extensions
8 Group: X11/Applications/Networking
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.4/%{name}-%{version}.tar.bz2
10 # Source0-md5: 4ae247cd350feb8e959ed63e22853f83
11 Patch0: %{name}-locale-names.patch
12 Patch1: %{name}-mozilla_includes.patch
13 Patch2: %{name}-gsize.patch
14 URL: http://www.gnome.org/projects/epiphany/
15 BuildRequires: autoconf >= 2.57
16 Buildrequires: automake
17 BuildRequires: epiphany-devel >= 1.4.3
18 BuildRequires: gnome-common >= 2.8.0
19 BuildRequires: gtk+2-devel >= 2:2.4.4
20 BuildRequires: intltool >= 0.29
21 BuildRequires: libglade2-devel >= 1:2.4.0
22 BuildRequires: libgnomeui-devel >= 2.0
23 BuildRequires: libtool
24 BuildRequires: libxml2-devel >= 2.6.11
25 BuildRequires: mozilla-devel >= %{minmozver}
26 BuildRequires: opensp-devel
27 Requires: epiphany = %(rpm -q --qf '%{EPOCH}:%{VERSION}' epiphany-devel)
28 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
29 Provides: epiphany-plugins
30 Obsoletes: epiphany-plugins <= 0.1.2
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 # can be provided by mozilla or mozilla-embedded
34 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
37 Epiphany Extensions is a collection of extensions for Epiphany.
40 Epiphany Extensions jest zbiorem rozszerzeñ dla Epiphany.
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany-*/extensions/*.la
68 %find_lang %{name}-1.4
71 rm -rf $RPM_BUILD_ROOT
73 %files -f %{name}-1.4.lang
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README
76 %attr(755,root,root) %{_libdir}/epiphany-*/extensions/*.so*