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: 28cdf5e3f846aab82f1acc7b5a323144
11 Patch0: %{name}-locale-names.patch
12 Patch1: %{name}-mozilla_includes.patch
13 URL: http://www.gnome.org/projects/epiphany/
14 BuildRequires: autoconf >= 2.57
15 Buildrequires: automake
16 BuildRequires: epiphany-devel >= 1.4.0
17 BuildRequires: gnome-common >= 2.8.0
18 BuildRequires: gtk+2-devel >= 2:2.4.4
19 BuildRequires: intltool >= 0.29
20 BuildRequires: libglade2-devel >= 1:2.4.0
21 BuildRequires: libtool
22 BuildRequires: libxml2-devel >= 2.6.11
23 BuildRequires: mozilla-devel >= %{minmozver}
24 BuildRequires: opensp-devel
25 BuildRequires: epiphany
26 Requires: epiphany = %(rpm -q --qf '%{EPOCH}:%{VERSION}' epiphany)
27 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
28 Obsoletes: epiphany-plugins <= 0.1.2
29 Provides: epiphany-plugins
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 # can be provided by mozilla or mozilla-embedded
33 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
36 Epiphany Extensions is a collection of extensions for Epiphany.
39 Epiphany Extensions jest zbiorem rozszerzeñ dla Epiphany.
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
64 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany-*/extensions/*.la
66 %find_lang %{name}-1.2
69 rm -rf $RPM_BUILD_ROOT
71 %files -f %{name}-1.2.lang
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS README
74 %attr(755,root,root) %{_libdir}/epiphany-*/extensions/*.so*