]> git.pld-linux.org Git - packages/epiphany-extensions.git/blobdiff - epiphany-extensions.spec
- updated to 2.20.1
[packages/epiphany-extensions.git] / epiphany-extensions.spec
index 4abfce6c5812ca7ddeff5fcc4717319e4972e42c..7650c1b6bb21c9f5232f6560a3cfaa8bec3feb69 100644 (file)
@@ -1,55 +1,48 @@
-# Conditinal build:
-%bcond_with    mozilla_firefox # build with mozilla-firefox-devel
-#
-%define                basever 2.14
+%define                basever 2.20
 Summary:       Collection of extensions for Epiphany
-Summary(pl):   Zbiór rozszerzeñ dla Epiphany
+Summary(pl.UTF-8):     Zbiór rozszerzeń dla Epiphany
 Name:          epiphany-extensions
-Version:       2.14.1
+Version:       2.20.1
 Release:       1
 License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/2.14/%{name}-%{version}.tar.bz2
-# Source0-md5: 318418ce023ef5688e535309012591d9
+Source0:       http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/2.20/%{name}-%{version}.tar.bz2
+# Source0-md5: cd8a247d81960217df4d7c8edfe9fbf8
 URL:           http://www.gnome.org/projects/epiphany/
 BuildRequires: autoconf >= 2.57
-BuildRequires: automake >= 1.9
-BuildRequires: dbus-glib-devel >= 0.34
-BuildRequires: epiphany-devel >= 2.14.1
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gtk+2-devel >= 2:2.8.3
-BuildRequires: intltool >= 0.33
-BuildRequires: libglade2-devel >= 1:2.5.1
-BuildRequires: libgnomeui-devel >= 2.12.0
+BuildRequires: automake >= 1:1.9
+BuildRequires: dbus-glib-devel >= 0.73
+BuildRequires: epiphany-devel >= 2.20.0
+BuildRequires: gnome-common >= 2.20.0
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: intltool >= 0.35.5
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeui-devel >= 2.20.0
 BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.22
-%if %{with mozilla_firefox}
-BuildRequires: mozilla-firefox-devel
-%else
-BuildRequires: mozilla-devel >= 5:1.7
-%endif
+BuildRequires: libxml2-devel >= 1:2.6.28
 BuildRequires: opensp-devel
+BuildRequires: pcre-devel
 BuildRequires: pkgconfig
-BuildRequires: python-gnome-devel >= 2.12.0
+BuildRequires: python-gnome-devel >= 2.20.0
+BuildRequires: rpmbuild(macros) >= 1.198
+BuildRequires: xulrunner-devel >= 1.8.0.4
 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
+Requires(post,preun):  GConf2
+%requires_eq_to        epiphany epiphany-devel
+%requires_eq   xulrunner
 Provides:      epiphany-plugins
 Obsoletes:     epiphany-plugins <= 0.1.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # can be provided by mozilla or mozilla-embedded
 %define                _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
+%define                _noautoreq      libxpcom.so
 
 %description
 Epiphany Extensions is a collection of extensions for Epiphany.
 
-%description -l pl
-Epiphany Extensions jest zbiorem rozszerzeñ dla Epiphany.
+%description -l pl.UTF-8
+Epiphany Extensions jest zbiorem rozszerzeń dla Epiphany.
 
 %prep
 %setup -q
@@ -62,7 +55,7 @@ Epiphany Extensions jest zbiorem rozszerze
 %{__autoconf}
 %{__automake}
 %configure \
-       --with-extensions=all \
+       --with-extensions=really-all \
        --disable-scrollkeeper
 %{__make}
 
@@ -72,8 +65,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/extensions/*.{la,py}
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/extensions/{,libepilicious/}*.{la,py}
 
 %find_lang %{name}-%{basever}
 %find_lang %{name} --with-gnome
@@ -84,6 +76,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %scrollkeeper_update_post
+%gconf_schema_install epilicious.schemas
+%gconf_schema_install smart-bookmarks.schemas
+
+%preun
+%gconf_schema_uninstall epilicious.schemas
+%gconf_schema_uninstall smart-bookmarks.schemas
 
 %postun
 %scrollkeeper_update_postun
@@ -92,6 +90,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/epiphany/%{basever}/extensions/*.so*
-%{_libdir}/epiphany/%{basever}/extensions/[!l]*
+%{_libdir}/epiphany/%{basever}/extensions/*.ephy-extension
+%{_libdir}/epiphany/%{basever}/extensions/*.py[co]
+%dir %{_libdir}/epiphany/%{basever}/extensions/libepilicious
+%{_libdir}/epiphany/%{basever}/extensions/libepilicious/*.py[co]
 %{_datadir}/%{name}
-%{_omf_dest_dir}/%{name}/*
+%{_datadir}/epiphany/icons/hicolor/*/*/*.png
+%{_datadir}/epiphany/icons/hicolor/*/*/*.svg
+%{_omf_dest_dir}/%{name}
+%{_sysconfdir}/gconf/schemas/epilicious.schemas
+%{_sysconfdir}/gconf/schemas/smart-bookmarks.schemas
This page took 0.082232 seconds and 4 git commands to generate.