X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=epiphany-extensions.spec;h=4e394e1522a9ccfd6380a1d8f65bcaab50a76a99;hb=6f8d334198f81eaa9485655495dc1e9408511924;hp=bc72d5820beb8280123f1bab8279b9f49ab57630;hpb=3cd6664135959c9e140883ac1aa66920986df198;p=packages%2Fepiphany-extensions.git diff --git a/epiphany-extensions.spec b/epiphany-extensions.spec index bc72d58..4e394e1 100644 --- a/epiphany-extensions.spec +++ b/epiphany-extensions.spec @@ -1,42 +1,33 @@ -# Conditinal build: -%bcond_with mozilla_firefox # build with mozilla-firefox-devel -# +%define basever 2.16 Summary: Collection of extensions for Epiphany Summary(pl): Zbiór rozszerzeñ dla Epiphany Name: epiphany-extensions -Version: 1.8.1 +Version: 2.16.1 Release: 1 License: GPL v2 Group: X11/Applications/Networking -Source0: http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/1.8/%{name}-%{version}.tar.bz2 -# Source0-md5: d1c40978c89a845973ed131774fa7769 -Patch0: %{name}-locale-names.patch -Patch1: %{name}-mozilla_includes.patch +Source0: http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/2.16/%{name}-%{version}.tar.bz2 +# Source0-md5: 93a8d37175dc1f173c0185c254de5c38 URL: http://www.gnome.org/projects/epiphany/ BuildRequires: autoconf >= 2.57 -BuildRequires: automake -BuildRequires: epiphany-devel >= 1.8.2 -BuildRequires: gnome-common >= 2.8.0 -BuildRequires: gtk+2-devel >= 2:2.8.3 -BuildRequires: intltool >= 0.33 -BuildRequires: libglade2-devel >= 1:2.5.1 -BuildRequires: libgnomeui-devel >= 2.10.0-2 +BuildRequires: automake >= 1:1.9 +BuildRequires: dbus-glib-devel >= 0.71-2 +BuildRequires: epiphany-devel >= 2.16.1 +BuildRequires: gnome-common >= 2.12.0 +BuildRequires: gtk+2-devel >= 2:2.10.6 +BuildRequires: intltool >= 0.35 +BuildRequires: libglade2-devel >= 1:2.6.0 +BuildRequires: libgnomeui-devel >= 2.16.0 BuildRequires: libtool -BuildRequires: libxml2-devel >= 1:2.6.19 -%if %{with mozilla_firefox} -BuildRequires: mozilla-firefox-devel -%else -BuildRequires: mozilla-devel >= 5:1.7 -%endif +BuildRequires: libxml2-devel >= 1:2.6.26 +BuildRequires: mozilla-firefox-devel >= 1.5.0.7 BuildRequires: opensp-devel +BuildRequires: pcre-devel BuildRequires: pkgconfig -BuildRequires: python-gnome-devel >= 2.11.3 +BuildRequires: python-gnome-devel >= 2.16.0 +Requires(post,postun): scrollkeeper Requires: epiphany = %(rpm -q --qf '%{EPOCH}:%{VERSION}' epiphany-devel) -%if %{with mozilla_firefox} %requires_eq mozilla-firefox -%else -Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded) -%endif Provides: epiphany-plugins Obsoletes: epiphany-plugins <= 0.1.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -52,18 +43,17 @@ Epiphany Extensions jest zbiorem rozszerze %prep %setup -q -%patch0 -p1 -%patch1 -p1 - -mv po/{no,nb}.po %build +%{__intltoolize} %{__libtoolize} -%{__aclocal} +%{__intltoolize} +%{__aclocal} -I m4 %{__autoconf} %{__automake} %configure \ - --with-extensions=all + --with-extensions=really-all \ + --disable-scrollkeeper %{__make} %install @@ -72,17 +62,26 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/1.8/extensions/*.{la,py} +rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/extensions/*.{la,py} -%find_lang %{name}-1.8 +%find_lang %{name}-%{basever} +%find_lang %{name} --with-gnome +cat %{name}.lang >> %{name}-%{basever}.lang %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}-1.8.lang +%post +%scrollkeeper_update_post + +%postun +%scrollkeeper_update_postun + +%files -f %{name}-%{basever}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README -%attr(755,root,root) %{_libdir}/epiphany/1.8/extensions/*.so* -%{_libdir}/epiphany/1.8/extensions/*.py[co] -%{_libdir}/epiphany/1.8/extensions/*.xml +%attr(755,root,root) %{_libdir}/epiphany/%{basever}/extensions/*.so* +%{_libdir}/epiphany/%{basever}/extensions/*.ephy-extension +%{_libdir}/epiphany/%{basever}/extensions/*.py[co] %{_datadir}/%{name} +%{_omf_dest_dir}/%{name}