2006-12-29 00:03:49 +01:00
|
|
|
#
|
2009-08-17 14:52:10 +02:00
|
|
|
# spec file for package epiphany (Version 2.27.90)
|
2006-12-29 00:03:49 +01:00
|
|
|
#
|
2009-02-06 22:29:08 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-29 00:03:49 +01:00
|
|
|
#
|
2008-08-14 02:10:42 +02:00
|
|
|
# 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.
|
|
|
|
|
2006-12-29 00:03:49 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-15 01:19:38 +01:00
|
|
|
|
2006-12-29 00:03:49 +01:00
|
|
|
Name: epiphany
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: NetworkManager-devel
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2009-08-07 16:48:13 +02:00
|
|
|
BuildRequires: gconf2-devel
|
|
|
|
BuildRequires: gir-repository
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: gnome-icon-theme
|
2009-08-17 14:52:10 +02:00
|
|
|
BuildRequires: gnome-keyring-devel
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: gnome-themes
|
2009-08-07 16:48:13 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: iso-codes-devel
|
|
|
|
BuildRequires: libavahi-gobject-devel
|
2009-08-07 16:48:13 +02:00
|
|
|
BuildRequires: libnotify-devel
|
|
|
|
BuildRequires: libseed-devel
|
|
|
|
BuildRequires: libsoup-devel
|
|
|
|
BuildRequires: libwebkit-devel
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: libxslt-devel
|
2009-08-07 16:48:13 +02:00
|
|
|
BuildRequires: lsb-release
|
|
|
|
BuildRequires: startup-notification-devel
|
2009-03-11 20:39:07 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2009-02-12 17:25:10 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2009-08-17 14:52:10 +02:00
|
|
|
Version: 2.27.90
|
2009-03-25 18:53:44 +01:00
|
|
|
Release: 1
|
2009-08-07 16:48:13 +02:00
|
|
|
%define major_version 2.27
|
2007-07-12 01:22:27 +02:00
|
|
|
License: GPL v2 or later
|
2006-12-29 00:03:49 +01:00
|
|
|
Group: Productivity/Networking/Web/Browsers
|
|
|
|
Summary: GNOME Web Browser Based on the Mozilla Rendering Engine
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-08-07 16:48:13 +02:00
|
|
|
# PATCH-FEATURE-UPSTREAM epiphany-user-agent.patch bgo580903 vuntz@novell.com -- Set user agent with a vendor part, via a gconf key
|
|
|
|
Patch0: epiphany-user-agent.patch
|
2008-12-15 12:29:02 +01:00
|
|
|
# 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
|
2007-09-18 01:15:17 +02:00
|
|
|
Url: http://www.gnome.org/projects/epiphany/
|
2006-12-29 00:03:49 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-08-07 16:48:13 +02:00
|
|
|
Requires: iso-codes gnome-icon-theme
|
|
|
|
Requires: %{name}-lang = %{version}
|
2008-08-02 03:15:52 +02:00
|
|
|
Requires: %{name}-branding
|
2007-01-10 17:39:58 +01:00
|
|
|
%gconf_schemas_prereq
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Epiphany is a Web browser for the GNOME Desktop. Its principles are
|
|
|
|
simplicity and standards compliance.
|
|
|
|
|
|
|
|
%package devel
|
2008-04-24 09:24:04 +02:00
|
|
|
License: GPL v2 or later
|
2006-12-29 00:03:49 +01:00
|
|
|
Summary: GNOME Web Browser based on the Mozilla Rendering Engine
|
2008-03-26 16:09:14 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2009-08-07 16:48:13 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: gtk2-devel
|
|
|
|
Requires: libwebkit-devel
|
|
|
|
Requires: libxml2-devel
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Epiphany is a Web Browser for the GNOME Desktop. Its principles are
|
|
|
|
simplicity and standards compliance.
|
|
|
|
|
|
|
|
%package doc
|
2008-04-24 09:24:04 +02:00
|
|
|
License: GPL v2 or later
|
2006-12-29 00:03:49 +01:00
|
|
|
Summary: Developer Documentation for Epiphany
|
|
|
|
Group: Productivity/Networking/Web/Browsers
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Epiphany is a Web Browser for the GNOME Desktop. Its principles are
|
|
|
|
simplicity and standards compliance.
|
|
|
|
|
|
|
|
This package contains developer documentation for epiphany.
|
|
|
|
|
2008-08-02 03:15:52 +02:00
|
|
|
%package branding-upstream
|
|
|
|
License: GPL v2 or later
|
|
|
|
Summary: Upstream branding of Epiphany
|
|
|
|
Group: Productivity/Networking/Web/Browsers
|
|
|
|
Provides: %{name}-branding = %{version}
|
2008-10-06 16:32:28 +02:00
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
2008-09-13 05:22:39 +02:00
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
2008-08-02 03:15:52 +02:00
|
|
|
#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.
|
|
|
|
|
2007-08-09 18:49:02 +02:00
|
|
|
%lang_package
|
2006-12-29 00:03:49 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-03-11 20:39:07 +01:00
|
|
|
translation-update-upstream
|
2009-08-07 16:48:13 +02:00
|
|
|
%patch0 -p1
|
2008-12-15 12:29:02 +01:00
|
|
|
%patch6 -p1
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%build
|
2007-01-10 17:39:58 +01:00
|
|
|
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
2008-09-24 15:19:01 +02:00
|
|
|
%configure \
|
|
|
|
--disable-scrollkeeper \
|
|
|
|
--enable-dbus \
|
|
|
|
--enable-zeroconf \
|
2009-03-25 18:53:44 +01:00
|
|
|
--enable-network-manager \
|
2009-08-07 16:48:13 +02:00
|
|
|
--enable-introspection \
|
|
|
|
--enable-seed
|
2008-02-15 01:19:38 +01:00
|
|
|
%__make %{?jobs:-j%jobs}
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%install
|
2008-02-15 01:19:38 +01:00
|
|
|
%makeinstall
|
2007-01-10 17:39:58 +01:00
|
|
|
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
|
ln -s ../icons/gnome/scalable/apps/web-browser.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
2009-08-07 16:48:13 +02:00
|
|
|
# In case make install did not create the extensions folder
|
|
|
|
if ! test -d %{buildroot}%{_libdir}/epiphany/%{major_version}/extensions; then
|
|
|
|
install -d -m 0755 %{buildroot}%{_libdir}/epiphany/%{major_version}/extensions
|
|
|
|
fi
|
|
|
|
%suse_update_desktop_file -N "Epiphany" %name
|
|
|
|
%suse_update_desktop_file bme System
|
|
|
|
# Change sr@Latn to sr@latin
|
|
|
|
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
|
2007-01-10 17:39:58 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%find_gconf_schemas
|
2007-08-09 18:49:02 +02:00
|
|
|
cat %{name}.schemas_list >%{name}.lst
|
2007-08-03 00:18:52 +02:00
|
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
|
2007-01-10 17:39:58 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2008-02-15 01:19:38 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2009-08-07 16:48:13 +02:00
|
|
|
|
2007-01-10 17:39:58 +01:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2008-02-15 01:19:38 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2007-01-10 17:39:58 +01:00
|
|
|
%files -f %{name}.lst
|
2006-12-29 00:03:49 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
2007-01-10 17:39:58 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_datadir}/applications/*.desktop
|
2006-12-29 00:03:49 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
|
2008-09-13 05:22:39 +02:00
|
|
|
%exclude %{_datadir}/epiphany/default-bookmarks.rdf
|
2007-01-10 17:39:58 +01:00
|
|
|
%{_datadir}/epiphany
|
2009-08-07 16:48:13 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2008-02-15 01:19:38 +01:00
|
|
|
%dir %{_datadir}/icons/LowContrastLargePrint
|
|
|
|
%dir %{_datadir}/icons/LowContrastLargePrint/48x48
|
|
|
|
%dir %{_datadir}/icons/LowContrastLargePrint/48x48/apps
|
2007-09-04 00:48:16 +02:00
|
|
|
%{_datadir}/icons/*/*/apps/*.png
|
2007-08-03 00:18:52 +02:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.svg
|
2007-01-10 17:39:58 +01:00
|
|
|
%{_datadir}/pixmaps/*.svg
|
|
|
|
%{_libdir}/epiphany
|
2009-08-07 16:48:13 +02:00
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
2007-01-10 17:39:58 +01:00
|
|
|
%doc %{_mandir}/man1/epiphany.1.gz
|
2006-12-29 00:03:49 +01:00
|
|
|
|
2007-08-09 18:49:02 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2006-12-29 00:03:49 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2007-01-10 17:39:58 +01:00
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_includedir}/epiphany*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2006-12-29 00:03:49 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2007-01-10 17:39:58 +01:00
|
|
|
%{_datadir}/gtk-doc/html/epiphany
|
2008-02-04 00:21:17 +01:00
|
|
|
|
2008-08-02 03:15:52 +02:00
|
|
|
%files branding-upstream
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/epiphany/default-bookmarks.rdf
|
|
|
|
|
2007-03-13 00:43:47 +01:00
|
|
|
%changelog
|