epiphany/epiphany.spec

466 lines
16 KiB
RPMSpec
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package epiphany (Version 2.20.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: epiphany
%define xulrunner_version 181
BuildRequires: NetworkManager-devel docbook_4 enchant-devel fdupes gcc-c++ gnome-common gnome-desktop-devel gnome-doc-utils-devel gnome-icon-theme gnome-themes gnutls-devel gtk-doc iso-codes-devel kdelibs3-devel-doc libglade2-devel libgnomeprintui-devel libwnck-devel libxslt-devel perl-XML-Parser python-devel python-gnome-devel python-gtk-devel update-desktop-files
%if %suse_version > 1010 || 0%{?opensuse_bs}
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
%define mozilla_ver %(rpm -q --qf '%%{version}' mozilla-xulrunner%{xulrunner_version})
Requires: mozilla-xulrunner%{xulrunner_version} = %{mozilla_ver}
%else
%if %suse_version > 1000 && %suse_version <= 1010
BuildRequires: gecko-sdk
%define mozilla_ver %(rpm -q --qf '%%{version}' mozilla-xulrunner)
Requires: mozilla-xulrunner = %{mozilla_ver}
%else
BuildRequires: mozilla-devel
%define mozilla_ver %(rpm -q --qf '%%{version}' mozilla)
Requires: mozilla = %{mozilla_ver}
%endif
%endif
Version: 2.20.1
Release: 1
Requires: %{name}-lang = %{version}
License: GPL v2 or later
Group: Productivity/Networking/Web/Browsers
%define interface_version 2.20
Summary: GNOME Web Browser Based on the Mozilla Rendering Engine
Source: %{name}-%{version}.tar.bz2
Patch1: %{name}-schema.dif
Patch4: 59950.diff
Patch5: 59949.diff
Patch9: %{name}-desktop.patch
Patch11: epiphany-no-root.patch
Patch13: epiphany-browser-plugins.patch
Patch14: default-bookmarks.patch
Patch15: epiphany-gcc4.3-fixes.patch
Url: http://www.gnome.org/projects/epiphany/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-gtk python-gnome iso-codes gnome-icon-theme
AutoReqProv: on
%gconf_schemas_prereq
%description
Epiphany is a Web browser for the GNOME Desktop. Its principles are
simplicity and standards compliance.
Authors:
--------
Marco Pesenti Gritti <marco@gnome.org>
Xan Lopez <xan@gnome.org>
Christian Persch <chpe@gnome.org>
Adam Hooper <adamh@cvs.gnome.org>
Jean-Fran<61>ois Rameau <jframeau@cvs.gnome.org>
Crispin Flowerday <crispin@flowerday.cx>
%package devel
Summary: GNOME Web Browser based on the Mozilla Rendering Engine
Group: Productivity/Networking/Web/Browsers
Requires: gtk2-devel libxml2-devel libgnomeui-devel libbonobo-devel orbit2-devel libglade2-devel gnome-vfs2-devel gconf2-devel
AutoReqProv: on
%description devel
Epiphany is a Web Browser for the GNOME Desktop. Its principles are
simplicity and standards compliance.
Authors:
--------
Marco Pesenti Gritti <marco@gnome.org>
Xan Lopez <xan@gnome.org>
Christian Persch <chpe@gnome.org>
Adam Hooper <adamh@cvs.gnome.org>
Jean-Fran<61>ois Rameau <jframeau@cvs.gnome.org>
Crispin Flowerday <crispin@flowerday.cx>
%package doc
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.
Authors:
--------
Marco Pesenti Gritti <marco@gnome.org>
Xan Lopez <xan@gnome.org>
Christian Persch <chpe@gnome.org>
Adam Hooper <adamh@cvs.gnome.org>
Jean-Fran<61>ois Rameau <jframeau@cvs.gnome.org>
Crispin Flowerday <crispin@flowerday.cx>
%lang_package
%prep
%setup -q
%patch1 -p1
%patch4 -p1
%patch5
%patch9
%patch11
%patch13
%patch14 -p1
%patch15 -p1
%build
#cp -i data/default-prefs-gecko-1-8.js data/default-prefs-xulrunner.js
ACLOCAL="aclocal -I m4" autoreconf -f -i
# needed for epiphany-2.16.1:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# FIXME: es/epiphany.xml:*: parser error : Entity 'hellip' not defined
%configure\
--disable-scrollkeeper\
%if %suse_version > 1000
--with-mozilla=xulrunner\
%endif
--enable-dbus\
--enable-zeroconf\
--enable-certificate-manager\
--enable-network-manager
# FIXME: Compile xulrunner with spellchecker extension.
# --enable-spell-checker
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps
ln -s ../icons/gnome/scalable/apps/web-browser.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/
%suse_update_desktop_file -N "Epiphany" %name Network WebBrowser
%suse_update_desktop_file bme System Network
mkdir $RPM_BUILD_ROOT%{_libdir}/epiphany/%{interface_version}/extensions
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
/sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
/sbin/ldconfig
%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
%{_datadir}/epiphany
%{_datadir}/icons/*/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/pixmaps/*.svg
%{_datadir}/pygtk/2.0/defs/epiphany.defs
%{_datadir}/omf/epiphany
%{_libdir}/epiphany
%doc %{_mandir}/man1/epiphany.1.gz
%files lang -f %{name}.lang
%files devel
%defattr(-,root,root)
%{_datadir}/aclocal/*.m4
%{_includedir}/epiphany*
%{_libdir}/pkgconfig/*.pc
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/epiphany
%changelog
* Wed Nov 07 2007 - maw@suse.de
- Update to version 2.20.1 (another cosmetic version bump)
- Add epiphany-gcc4.3-fixes.patch.
* Thu Oct 11 2007 - sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Mon Sep 17 2007 - mauro@suse.de
- Bump version and API version to 2.20.
* Fri Aug 31 2007 - maw@suse.de
- Update to version 2.19.91:
+ Compilation fixes for ancient compilers
+ Some typo changes
+ Icon reorg
+ Minor bug fixes.
* Thu Aug 23 2007 - maw@suse.de
- Add default-bookmarks.patch, which adds http://news.opensuse.org
as a default bookmark (#293690).
* Fri Aug 10 2007 - coolo@suse.de
- put Version before the use of %%version
* Wed Aug 08 2007 - maw@suse.de
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Thu Aug 02 2007 - maw@suse.de
- Update to version 2.19.6:
+ Experimental WebKit backend [not enabled in this build]
+ New (copied) lock icons
+ Sync with latest libegg
+ New checkbox for smooth scrolling
+ Use g_get_user_special_dir to determine Desktop and Downloads
directory locations
+ Use new gtk function to persist and load print settings and
page setup
+ All tooltips now created using the new GTK tooltip API
+ Minor string changes
+ Bugs (bugzilla.gnome.org) fixed: 452769, 450590, 450146,
- Use %%fdupes.
* Sat Jul 14 2007 - aj@suse.de
- It's really libwnck-devel.
* Mon Jul 09 2007 - maw@suse.de
- Update to version 2.19.2
- Fixes for bugzilla.gnome.org #348350, #452769, #450590, #450146,
[#346243], #351100, #433796 , #441419, #336739, #422114, #437798,
[#162489], and #162489
- Buildrequire libwnck-1-22-devel instead of libwnck-devel.
* Mon May 28 2007 - sbrabec@suse.cz
- Update to version 2.18.1:
* Fixed printing of frames.
* Fixed Epiphany not finding some Gecko plugins.
- Removed Flash crash work-around (upstream part of ephy-main.c).
* Tue Apr 03 2007 - maw@suse.de
- Remove all references to
epiphany-dbus-connection-close-fix-thoenig-01.patch (#260495).
* Mon Apr 02 2007 - maw@suse.de
- Update to version 2.18.0
- b.g.o 416994, 348331, 404514
- Fix several .desktop files to remove invalid Category entries.
* Mon Mar 12 2007 - jhargadon@suse.de
- added gtk-doc to the BuildRequires
* Wed Jan 10 2007 - sbrabec@suse.cz
- Enabled NetworkManager support.
* Wed Jan 03 2007 - sbrabec@suse.cz
- Spec file cleanup.
* Fri Dec 29 2006 - james@usr-local-bin.org
- Fix %%post.
* Fri Dec 29 2006 - maw@suse.de
- Move to /usr.
* Thu Dec 28 2006 - jhargadon@suse.de
- removed unneeded libtool file (#223685)
* Thu Nov 30 2006 - sbrabec@suse.cz
- Fixed xulrunner dependencies for older products.
* Tue Nov 21 2006 - jhargadon@suse.de
- re-enabled patch epiphany-browser-plugins.patch (#222861)
* Fri Nov 17 2006 - thoenig@suse.de
- Add patch epiphany-dbus-connection-close-fix-thoenig-01.patch: Do
not call dbus_connection_close on shared connection (b.n.c
[#221827])
* Tue Nov 07 2006 - sbrabec@suse.cz
- Use exact xulrunner version 181 (#216100).
* Tue Nov 07 2006 - meissner@suse.de
- use RPM_OPT_FLAGS for C++ too.
* Fri Oct 13 2006 - danw@suse.de
- Remove dead patches, update and reenable epiphany-desktop.patch
and epiphany-flash-crash.patch
- Update for gnome-doc-utils-devel
* Mon Oct 02 2006 - jhargadon@suse.de
- update to version 2.16.1
- Add a window group for the history window.
- Fix compile warnings
- Add smb: to recognised web schemes
- Fix spinner with new g-i-t
- Fix a crash when failing to load some icon data
* Thu Sep 14 2006 - jhargadon@suse.de
- update to version 2.16.0
- Update API version for 2.16
- Add some more mime types. Fixes bug #352482
* Sat Sep 02 2006 - gekker@suse.de
- Install dbus service file in correct location
* Thu Aug 24 2006 - jhargadon@suse.de
- update to version 2.15.92
- translation updates
- Spell check support using the gecko 'spellchecker' extension
- Add page security info dialogue from Certificates extension
- Drop libgnomeprint[ui] and use gtk printing
- Add methods to EphyNode to set typed properties
- Add a way to turn off password remembering
- Don't crash when adding zeroconf bookmarks while bookmarks are locked
down
- Fix middle-click and ctrl-enter in the location entry autocompletion
drop-down
- Make the crash recovery dialog appear on the taskbar
- copy history over when opening link in new tab/win using
context menu
- Don't crash on error from zeroconf bookmarks
- Don't set cookies from favicon downloads
- Allow cookie list to be sorted
- Fix crash when moving zoom widget on toolbar
- Display the find bar for "Find Next" and "Find Previous"
if it wasn't visible already
- Remove Shift+Ctrl+T accelerator, it was pressed accidentally
too often and people would lose their toolbars
* Wed Aug 16 2006 - ro@suse.de
- added python-gnome-devel to BuildRequires
* Wed Aug 16 2006 - cthiel@suse.de
- require python-gtk-devel instead of python-gobject2-devel
* Wed Aug 16 2006 - ro@suse.de
- added python-gobject2-devel to BuildRequires
* Thu Jun 29 2006 - lrupp@suse.de
- Requires: mozilla-xulrunner180 for suse_version > 1010
* Mon Mar 06 2006 - sbrabec@suse.cz
- Search plugins in browser-plugins directory (#154443).
* Wed Mar 01 2006 - sbrabec@suse.cz
- Updated to version 1.8.5 (fixes 150372#4).
* Mon Feb 27 2006 - ro@suse.de
- added kdelibs3-devel-doc to BuildRequires
* Mon Feb 20 2006 - sbrabec@suse.cz
- Enabled password manager (#150372).
* Thu Feb 16 2006 - sbrabec@suse.cz
- Worked around flash plugin crash (#149062).
* Thu Feb 16 2006 - stbinner@suse.de
- fix Name in .desktop file
* Sun Feb 05 2006 - mls@suse.de
- added mozilla-xulrunner to BuildRequires
* Thu Feb 02 2006 - sbrabec@suse.cz
- Explicitly require iso-codes (#147467).
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 30 2005 - gekker@suse.de
- Update to version 1.8.3
- Remove upstreamed xulrunner patch
* Wed Nov 16 2005 - sbrabec@suse.cz
- Fixed mozilla/xulrunner dependencies.
* Tue Nov 15 2005 - sbrabec@suse.cz
- Removed unneeded packages for build to break build cycle.
- Enable Zeroconf support.
* Tue Nov 08 2005 - sbrabec@suse.cz
- Create xulrunner default prefs.
* Mon Oct 24 2005 - sbrabec@suse.cz
- Fixed extension directories.
* Mon Oct 17 2005 - sbrabec@suse.cz
- Updated to version 1.8.2.
- Added xulrunner patch.
* Mon Sep 05 2005 - sbrabec@suse.cz
- Updated to version 1.8.0.
* Wed Aug 24 2005 - gekker@suse.de
- Updated to version 1.7.5
* Fri Aug 12 2005 - sbrabec@suse.cz
- Fixed requirement to not require symbols provided only by
mozilla-nss and mozilla-nspr packages (#98002).
* Fri Aug 05 2005 - sbrabec@suse.cz
- Updated to version 1.7.3.
* Wed Aug 03 2005 - sbrabec@suse.cz
- Updated to version 1.6.4.
- Turned on D-BUS support.
* Sat Mar 19 2005 - clahey@suse.de
- Remove Bookmarks desktop entry.
* Wed Mar 09 2005 - gekker@suse.de
- Updated to version 1.6.0 (GNOME 2.10)
* Fri Mar 04 2005 - gekker@suse.de
- Updated to version 1.5.8
* Wed Feb 09 2005 - hhetter@suse.de
- updated to version 1.5.6
* Mon Feb 07 2005 - gekker@suse.de
- Update to 1.5.5
* Sat Feb 05 2005 - meissner@suse.de
- 2 falses should be NULL
* Tue Feb 01 2005 - ro@suse.de
- fix compile warning
* Fri Jan 14 2005 - clahey@suse.de
- Updated to 1.5.4.
* Fri Jan 14 2005 - ro@suse.de
- update to 1.4.7 to accept mozilla 1.7.5
* Wed Dec 15 2004 - hvogel@suse.de
- fix desktop file
* Fri Nov 19 2004 - ro@suse.de
- removed extra aclocal include directive
* Mon Nov 08 2004 - ro@suse.de
- fix build with current intltool
* Wed Oct 27 2004 - mmj@suse.de
- Locale rename no to nb
* Thu Sep 23 2004 - sbrabec@suse.cz
- Fixed bad LD_LIBRARY_PATH in wrapper script (#45909).
* Fri Sep 10 2004 - sbrabec@suse.cz
- Minimal patch to compile with actual version of mozilla.
* Sat Sep 04 2004 - ro@suse.de
- remove epiphany.desktop in install-section, not in postinstall
* Fri Sep 03 2004 - sagarwal@suse.de
- Modified the spec file to delete epiphany.desktop, web-browser.desktop
is used for epiphany browser, and epiphany.desktop creates redundant
menu entry.
* Tue Aug 24 2004 - ro@suse.de
- backport some hunks from 1.2.7 to build with mozilla-1.7.2
* Tue Jul 20 2004 - rganesan@suse.de
- Modified patch for 59950(59950.diff)
* Fri Jul 16 2004 - rganesan@suse.de
-Patch for ximian bug 59949
* Fri Jul 16 2004 - rganesan@suse.de
-Patch for bug 59950
* Wed Jul 14 2004 - rganesan@suse.de
- patch for ximian bug 58913
* Thu Jul 01 2004 - hhetter@suse.de
- set default startup page
* Wed May 26 2004 - ro@suse.de
- update to 1.2.5 to build with mozilla-1.7
* Tue May 11 2004 - sbrabec@suse.cz
- Added empty directories /opt/gnome/%%_lib/epiphany and
/opt/gnome/%%_lib/epiphany/extensions to filelist.
* Fri Apr 30 2004 - hhetter@suse.de
- updated to version 1.2.2 [GNOME2.6]
- seperate gtk-doc documentation package
* Wed Mar 10 2004 - sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Fri Mar 05 2004 - hhetter@suse.de
- suse homepage as startpage
* Fri Feb 20 2004 - sbrabec@suse.cz
- Fixed names of GNOME2 packages.
* Tue Feb 17 2004 - adrian@suse.de
- use Network Category, instead of Internet
* Thu Feb 12 2004 - hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Thu Jan 29 2004 - ro@suse.de
- update to 1.0.7 to fix build with mozilla 1.6
* Sat Jan 10 2004 - adrian@suse.de
- build as user
* Mon Nov 10 2003 - hhetter@suse.de
- updated to version 1.0.6
* Thu Nov 06 2003 - hhetter@suse.de
- updated to version 1.0.5
* Mon Oct 27 2003 - sbrabec@suse.cz
- Updated to version 1.0.4.
* Fri Oct 17 2003 - hhetter@suse.de
- updated to version 1.0.3
* Wed Oct 15 2003 - hhetter@suse.de
- updated to version 1.0.2
- use aclocal
* Tue Sep 09 2003 - hhetter@suse.de
- updated to version 1.0 (minor bugfixes and translations)
* Tue Sep 02 2003 - hhetter@suse.de
- updated to version 0.9.3 (translations only)
* Mon Aug 25 2003 - sbrabec@suse.cz
- Updated to version 0.9.2.
* Tue Aug 19 2003 - sbrabec@suse.cz
- Updated neededforbuild (rename of librsvg2, eel2).
* Tue Aug 12 2003 - adrian@suse.de
- add Categories
* Mon Aug 11 2003 - hhetter@suse.de
- updated to bugfix release 0.8.4
* Mon Aug 04 2003 - hhetter@suse.de
- updated to bugfix release 0.8.2
* Mon Jul 28 2003 - hhetter@suse.de
- initial SuSE package