b916e31ee5
Forwarding to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/60733 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/epiphany?expand=0&rev=91
207 lines
6.7 KiB
RPMSpec
207 lines
6.7 KiB
RPMSpec
#
|
|
# spec file for package epiphany (Version 2.30.6)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: epiphany
|
|
Version: 2.30.6
|
|
Release: 4
|
|
License: GPLv2+
|
|
Summary: GNOME Web Browser Based on the WebKit Rendering Engine
|
|
Url: http://www.gnome.org/projects/epiphany/
|
|
Group: Productivity/Networking/Web/Browsers
|
|
Source: %{name}-%{version}.tar.bz2
|
|
# PATCH-FIX-OPENSUSE epiphany-hide-bookmark-editor.patch vuntz@opensuse.org -- Hide bookmark editors in menu
|
|
Patch0: epiphany-hide-bookmark-editor.patch
|
|
# PATCH-FIX-UPSTREAM epiphany-fix-introspection-build.patch bgo#631119 vuntz@opensuse.org -- Fix build with recent g-i
|
|
Patch1: epiphany-fix-introspection-build.patch
|
|
# PATCH-FIX-UPSTREAM epiphany-mime-scheme-handler.patch bgo#631450 vuntz@opensuse.org -- Taken from git, register http/https-related mime types
|
|
Patch2: epiphany-mime-scheme-handler.patch
|
|
# PATCH-FEATURE-OPENSUSE epiphany-safe-one-click-install.patch bnc330070 vuntz@novell.com -- Make one-click install work with one-click
|
|
Patch6: epiphany-safe-one-click-install.patch
|
|
BuildRequires: NetworkManager-devel
|
|
BuildRequires: ca-certificates
|
|
BuildRequires: fdupes
|
|
BuildRequires: gconf2-devel
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gnome-icon-theme
|
|
BuildRequires: gnome-themes
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: iso-codes-devel
|
|
BuildRequires: libavahi-gobject-devel
|
|
BuildRequires: libgnome-keyring-devel
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libseed-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libwebkitgtk-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: mozilla-nss-devel
|
|
BuildRequires: startup-notification-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
Requires: %{name}-branding
|
|
Requires: gnome-icon-theme
|
|
Requires: iso-codes
|
|
Recommends: %{name}-lang
|
|
Recommends: ca-certificates
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%gconf_schemas_prereq
|
|
|
|
%description
|
|
Epiphany is a Web browser for the GNOME Desktop. Its principles are
|
|
simplicity and standards compliance.
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: GNOME Web Browser based on the WebKit Rendering Engine
|
|
Group: Development/Libraries/GNOME
|
|
Requires: %{name} = %{version}
|
|
Requires: gtk2-devel
|
|
Requires: libwebkitgtk-devel
|
|
Requires: libxml2-devel
|
|
Provides: %{name}-doc = %{version}
|
|
Obsoletes: %{name}-doc < %{version}
|
|
|
|
%description devel
|
|
Epiphany is a Web Browser for the GNOME Desktop. Its principles are
|
|
simplicity and standards compliance.
|
|
|
|
%package branding-upstream
|
|
License: GPLv2+
|
|
Summary: Upstream branding of Epiphany
|
|
Group: Productivity/Networking/Web/Browsers
|
|
Supplements: packageand(%{name}:branding-upstream)
|
|
Provides: %{name}-branding = %{version}
|
|
Conflicts: otherproviders(%{name}-branding)
|
|
#BRAND: Provide a few files -
|
|
#BRAND: /usr/share/epiphany/default-bookmarks.rdf
|
|
#BRAND: the default bookmarks
|
|
|
|
%description branding-upstream
|
|
This package provides upstream Look and Feel for Epiphany.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch6 -p1
|
|
|
|
%build
|
|
%configure \
|
|
--disable-scrollkeeper \
|
|
--disable-maintainer-mode \
|
|
--enable-introspection \
|
|
--enable-zeroconf \
|
|
--enable-network-manager \
|
|
--enable-seed \
|
|
--with-distributor-name="SUSE" \
|
|
%if 0%{?suse_version} > 1120
|
|
--with-ca-file=%{_sysconfdir}/ssl/ca-bundle.pem
|
|
%else
|
|
--without-ca-file
|
|
%endif
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1110
|
|
%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/*
|
|
%endif
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
# In case make install did not create the extensions directory; note that we
|
|
# determine this directory with the pkg-config file that got installed.
|
|
extensionsdir=`pkg-config --variable extensionsdir %{buildroot}%{_libdir}/pkgconfig/epiphany-*.pc`
|
|
if ! test -d %{buildroot}${extensionsdir}; then
|
|
install -d -m 0755 %{buildroot}${extensionsdir}
|
|
fi
|
|
%suse_update_desktop_file -N "Epiphany" %name
|
|
%suse_update_desktop_file bme
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%find_gconf_schemas
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
%icon_theme_cache_post HighContrastLargePrint
|
|
%icon_theme_cache_post HighContrastLargePrintInverse
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%icon_theme_cache_postun HighContrastLargePrint
|
|
%icon_theme_cache_postun HighContrastLargePrintInverse
|
|
|
|
%files -f %{name}.schemas_list
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
%dir %{_datadir}/gnome/
|
|
%dir %{_datadir}/gnome/help/
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
|
%dir %{_datadir}/omf/
|
|
%dir %{_datadir}/omf/%{name}/
|
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
|
%{_bindir}/*
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
|
|
%exclude %{_datadir}/epiphany/default-bookmarks.rdf
|
|
%{_datadir}/epiphany/
|
|
# When removing the HighContrastLargePrint* icon theme icons, don't forget to remove the %%icon_theme_cache_post(un) call for them
|
|
%{_datadir}/icons/HighContrastLargePrint/*/apps/*.png
|
|
%{_datadir}/icons/HighContrastLargePrintInverse/*/apps/*.png
|
|
# FIXME: gnome-themes does not provide excluded directories yet.
|
|
%exclude %{_datadir}/icons/LowContrastLargePrint/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
|
%{_libdir}/epiphany
|
|
%{_libdir}/girepository-1.0/Epiphany-2.29.typelib
|
|
%doc %{_mandir}/man1/epiphany.1.gz
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc %{_datadir}/gtk-doc/html/epiphany/
|
|
%{_datadir}/aclocal/*.m4
|
|
%{_datadir}/gir-1.0/*.gir
|
|
%{_includedir}/epiphany*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files branding-upstream
|
|
%defattr(-,root,root)
|
|
%{_datadir}/epiphany/default-bookmarks.rdf
|
|
|
|
%changelog
|