2 %bcond_with mozilla_firefox # build with mozilla-firefox-devel
4 Summary: Collection of extensions for Epiphany
5 Summary(pl): Zbiór rozszerzeñ dla Epiphany
6 Name: epiphany-extensions
10 Group: X11/Applications/Networking
11 Source0: http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/1.6/%{name}-%{version}.tar.bz2
12 # Source0-md5: 9e2573dcf57b7313160b19de878f0939
13 Patch0: %{name}-locale-names.patch
14 Patch1: %{name}-mozilla_includes.patch
15 URL: http://www.gnome.org/projects/epiphany/
16 BuildRequires: autoconf >= 2.57
17 BuildRequires: automake
18 BuildRequires: epiphany-devel >= 1.6.2
19 BuildRequires: gnome-common >= 2.8.0
20 BuildRequires: gtk+2-devel >= 2:2.6.4
21 BuildRequires: intltool >= 0.33
22 BuildRequires: libglade2-devel >= 1:2.5.1
23 BuildRequires: libgnomeui-devel >= 2.10.0-2
24 BuildRequires: libtool
25 BuildRequires: libxml2-devel >= 1:2.6.19
26 %if %{with mozilla_firefox}
27 BuildRequires: mozilla-firefox-devel
29 BuildRequires: mozilla-devel >= 5:1.7
31 BuildRequires: opensp-devel
32 BuildRequires: pkgconfig
33 Requires: epiphany = %(rpm -q --qf '%{EPOCH}:%{VERSION}' epiphany-devel)
34 %if %{with mozilla_firefox}
35 %requires_eq mozilla-firefox
37 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
39 Provides: epiphany-plugins
40 Obsoletes: epiphany-plugins <= 0.1.2
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 # can be provided by mozilla or mozilla-embedded
44 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
47 Epiphany Extensions is a collection of extensions for Epiphany.
50 Epiphany Extensions jest zbiorem rozszerzeñ dla Epiphany.
69 rm -rf $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
74 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany-*/extensions/*.la
76 %find_lang %{name}-1.6
79 rm -rf $RPM_BUILD_ROOT
81 %files -f %{name}-1.6.lang
82 %defattr(644,root,root,755)
83 %doc AUTHORS ChangeLog NEWS README
84 %attr(755,root,root) %{_libdir}/epiphany-*/extensions/*.so*
85 %{_libdir}/epiphany-*/extensions/*.xml