[epiphany] Split out a -runtime subpackage

Richard Hughes rhughes at fedoraproject.org
Mon Feb 3 16:41:06 UTC 2014


commit ee7528015f14bb3c167b5158650a726df6674737
Author: Richard Hughes <richard at hughsie.com>
Date:   Mon Feb 3 16:41:24 2014 +0000

    Split out a -runtime subpackage
    
    This is to avoid making the gnome-software application depend on the epiphany application.

 epiphany.spec |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)
---
diff --git a/epiphany.spec b/epiphany.spec
index 7ba0798..0dca171 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -2,7 +2,7 @@ Summary: Web browser for GNOME
 Name: epiphany
 Epoch: 1
 Version: 3.11.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ and GFDL
 Group: Applications/Internet
 URL: https://wiki.gnome.org/Apps/Web
@@ -14,6 +14,7 @@ Requires(postun): desktop-file-utils
 
 Requires: gnome-icon-theme
 Requires: iso-codes
+Requires: %{name}-runtime
 
 BuildRequires: gcr-devel >= 3.5.5
 BuildRequires: glib2-devel >= 2.31.2
@@ -52,6 +53,12 @@ simple and easy to use. Epiphany ties together many GNOME components
 in order to let you focus on the Web content, instead of the browser
 application.
 
+%package runtime
+Summary: Epiphany runtime suitable for web applications
+
+%description runtime
+This package provides a runtime for web-applications without actually
+installing the epiphany application itself.
 
 %prep
 %setup -q
@@ -91,6 +98,19 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %files -f %{name}.lang
+%defattr(-,root,root,-)
+%{_libexecdir}/epiphany-search-provider
+%dir %{_datadir}/appdata/
+%{_datadir}/appdata/epiphany.appdata.xml
+%{_datadir}/applications/epiphany.desktop
+%dir %{_datadir}/gnome-shell/
+%dir %{_datadir}/gnome-shell/search-providers/
+%{_datadir}/gnome-shell/search-providers/epiphany-search-provider.ini
+%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
+
+
+%files runtime
+%defattr(-,root,root,-)
 %doc README NEWS COPYING COPYING.README AUTHORS
 %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml
@@ -98,19 +118,15 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %{_bindir}/epiphany
 %{_bindir}/ephy-profile-migrator
 %{_libdir}/epiphany/
-%{_libexecdir}/epiphany-search-provider
-%dir %{_datadir}/appdata/
-%{_datadir}/appdata/epiphany.appdata.xml
-%{_datadir}/applications/epiphany.desktop
 %{_datadir}/epiphany
-%dir %{_datadir}/gnome-shell/
-%dir %{_datadir}/gnome-shell/search-providers/
-%{_datadir}/gnome-shell/search-providers/epiphany-search-provider.ini
 %{_mandir}/man*/*
-%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
 
 
 %changelog
+* Mon Feb 03 2014 Richard Hughes <rhughes at redhat.com> - 1:3.11.3-2
+- Split out a -runtime subpackage to avoid making the gnome-software application
+  depend on the epiphany application.
+
 * Tue Jan 14 2014 Richard Hughes <rhughes at redhat.com> - 1:3.11.3-1
 - Update to 3.11.3
 


More information about the scm-commits mailing list