[epiphany-extensions/f18] Rebuild for Epiphany 3.6

Mohamed ElMorabity melmorabity at fedoraproject.org
Wed Oct 3 22:58:17 UTC 2012


commit a41badc18228954a2044764e835c9df0885c9aba
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Thu Oct 4 00:55:51 2012 +0200

    Rebuild for Epiphany 3.6

 epiphany-extensions.spec |   33 +++++++++++++++++++++++++--------
 1 files changed, 25 insertions(+), 8 deletions(-)
---
diff --git a/epiphany-extensions.spec b/epiphany-extensions.spec
index 83fc499..87f6e0f 100644
--- a/epiphany-extensions.spec
+++ b/epiphany-extensions.spec
@@ -1,10 +1,12 @@
 %global major_version %%(cut -d "." -f 1-2 <<<%{version})
+# %global api_version %{major_version}
+%global api_version 3.6
 %global commit f4fcbfc
 %global commit_date 20120914
 
 Name:           epiphany-extensions
 Version:        3.5.0
-Release:        0.2.%{commit_date}git%{commit}%{?dist}
+Release:        0.3.%{commit_date}git%{commit}%{?dist}
 Summary:        Extensions for Epiphany, the GNOME web browser
 
 Group:          Applications/Internet
@@ -22,10 +24,19 @@ Source0:        %{name}-%{commit}.tar.xz
 BuildRequires:  gnome-common
 BuildRequires:  intltool
 BuildRequires:  opensp-devel
+BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(dbus-glib-1)
-BuildRequires:  pkgconfig(epiphany-%{major_version})
+BuildRequires:  pkgconfig(epiphany-%{api_version})
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gmodule-2.0)
+BuildRequires:  pkgconfig(gtk+-3.0)
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(webkitgtk-3.0)
 BuildRequires:  rarian-compat
-Requires:       epiphany(abi) = %{major_version}
+# TODO: Requires on epiphany(abi) once RHBZ #861770 is fixed
+# Requires:       epiphany(abi) = %{api_version}
+Requires:       epiphany >= %{api_version}
 
 %description
 Epiphany Extensions is a collection of extensions for Epiphany, the GNOME web
@@ -35,6 +46,8 @@ browser.
 %prep
 %setup -q -n %{name}-%{commit}
 
+sed -i "s/^EPIPHANY_API_VERSION=.*/EPIPHANY_API_VERSION=%{api_version}/" configure.ac
+
 
 %build
 [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
@@ -49,7 +62,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name "*.la" -delete
 
 %{find_lang} %{name} --with-gnome
-%{find_lang} %{name}-%{major_version} --with-gnome
+%{find_lang} %{name}-%{api_version} --with-gnome
 
 
 %postun
@@ -62,19 +75,23 @@ fi
 /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
-%files -f %{name}.lang -f %{name}-%{major_version}.lang
+%files -f %{name}.lang -f %{name}-%{api_version}.lang
 %doc AUTHORS COPYING COPYING.README MAINTAINERS NEWS README TODO
 %{_datadir}/epiphany/icons/hicolor/*/status/*
 %{_datadir}/%{name}/
 %{_datadir}/glib-2.0/schemas/*.xml
-%{_libdir}/epiphany/%{major_version}/extensions/*
+# TODO: Own this directory until RHBZ #861770 is fixed
+%{_libdir}/epiphany/%{api_version}/
 
 
 %changelog
-* Thu Sep 20 2012 Mohamed El Morabity <melmorabity at fedorapeople.org> - 3.5.0-0.2.20120914gitf4fcbfc
+* Thu Oct 04 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.5.0-0.3.20120914gitf4fcbfc
+- Rebuild for Epiphany 3.6
+
+* Thu Sep 20 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.5.0-0.2.20120914gitf4fcbfc
 - Update to lastest GIT snapshot
 
-* Mon Aug 20 2012 Mohamed El Morabity <melmorabity at fedorapeople.org> - 3.5.0-0.1.20120805git6e2c042
+* Mon Aug 20 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.5.0-0.1.20120805git6e2c042
 - Update to a pre-3.5.0 GIT snapshot
 
 * Mon Mar 30 2012 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.4.0-1


More information about the scm-commits mailing list