2006-12-29 00:03:49 +01:00
|
|
|
#
|
2010-04-16 00:11:04 +02:00
|
|
|
# spec file for package epiphany (Version 2.30.2)
|
2006-12-29 00:03:49 +01:00
|
|
|
#
|
2010-01-18 14:34:49 +01:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-15 01:19:38 +01:00
|
|
|
|
2006-12-29 00:03:49 +01:00
|
|
|
Name: epiphany
|
2010-04-16 00:11:04 +02:00
|
|
|
Version: 2.30.2
|
2010-01-18 14:34:49 +01:00
|
|
|
Release: 1
|
2010-06-04 15:04:12 +02:00
|
|
|
# FIXME: once ca-certificates will create the bundle file, uncomment the --with-ca-file configure option
|
2009-12-24 16:29:02 +01:00
|
|
|
License: GPLv2+
|
2010-04-16 00:11:04 +02:00
|
|
|
Summary: GNOME Web Browser Based on the WebKit Rendering Engine
|
2009-09-03 15:32:34 +02:00
|
|
|
Url: http://www.gnome.org/projects/epiphany/
|
|
|
|
Group: Productivity/Networking/Web/Browsers
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
# 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
|
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
|
|
|
|
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-12-30 00:14:30 +01:00
|
|
|
BuildRequires: libgnome-keyring-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-10-06 01:21:25 +02:00
|
|
|
%if 0%{suse_version} > 1110
|
2009-08-07 16:48:13 +02:00
|
|
|
BuildRequires: lsb-release
|
2009-10-06 01:21:25 +02:00
|
|
|
%else
|
|
|
|
BuildRequires: lsb
|
|
|
|
%endif
|
2009-09-22 22:26:15 +02:00
|
|
|
BuildRequires: mozilla-nss-devel
|
2009-08-07 16:48:13 +02:00
|
|
|
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-09-03 15:32:33 +02:00
|
|
|
Requires: %{name}-branding
|
2009-09-03 15:32:34 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
|
|
|
Requires: gnome-icon-theme
|
|
|
|
Requires: iso-codes
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2009-12-24 16:29:02 +01:00
|
|
|
License: GPLv2+
|
2010-04-16 00:11:04 +02:00
|
|
|
Summary: GNOME Web Browser based on the WebKit 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
|
2009-12-24 16:29:02 +01:00
|
|
|
License: GPLv2+
|
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
|
2009-12-24 16:29:02 +01:00
|
|
|
License: GPLv2+
|
2008-08-02 03:15:52 +02:00
|
|
|
Summary: Upstream branding of Epiphany
|
|
|
|
Group: Productivity/Networking/Web/Browsers
|
2009-09-03 15:32:34 +02:00
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
2008-08-02 03:15:52 +02:00
|
|
|
Provides: %{name}-branding = %{version}
|
2008-10-06 16:32:28 +02:00
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
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
|
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 \
|
2010-06-04 15:04:12 +02:00
|
|
|
--enable-dbus \
|
2008-09-24 15:19:01 +02:00
|
|
|
--enable-zeroconf \
|
2009-03-25 18:53:44 +01:00
|
|
|
--enable-network-manager \
|
2009-08-07 16:48:13 +02:00
|
|
|
--enable-introspection \
|
2010-03-19 09:00:54 +01:00
|
|
|
--enable-seed \
|
|
|
|
--without-ca-file
|
2010-06-04 15:04:12 +02:00
|
|
|
# FIXME: when ca-certificates will be recent-enough:
|
|
|
|
#%if 0%{?suse_version} > 1120
|
|
|
|
# --with-ca-file=%{_sysconfdir}/ssl/ca-bundle.pem
|
|
|
|
#%else
|
|
|
|
# --without-ca-file
|
|
|
|
#%endif
|
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
|
2009-12-24 16:29:02 +01:00
|
|
|
%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
|
2010-04-16 00:11:04 +02:00
|
|
|
# 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}
|
2009-08-07 16:48:13 +02:00
|
|
|
fi
|
|
|
|
%suse_update_desktop_file -N "Epiphany" %name
|
|
|
|
%suse_update_desktop_file bme System
|
2007-01-10 17:39:58 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
%find_gconf_schemas
|
2009-09-03 15:32:34 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-08-03 00:18:52 +02:00
|
|
|
|
2007-01-10 17:39:58 +01:00
|
|
|
%clean
|
2009-09-03 15:32:34 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 17:39:58 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
2009-09-22 22:26:15 +02:00
|
|
|
%files -f %{name}.schemas_list
|
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
|
|
|
%{_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
|