epiphany/epiphany.spec

412 lines
14 KiB
RPMSpec
Raw Normal View History

#
# spec file for package epiphany (Version 2.16.1)
#
# Copyright (c) 2006 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: gcc-c++ gnome-common gnome-desktop-devel gnome-doc-utils-devel gnutls-devel iso-codes-devel kdelibs3-devel-doc libglade2-devel libgnomeprintui-devel libwnck-devel libxslt-devel mDNSResponder-devel perl-XML-Parser python-devel python-gnome-devel python-gtk-devel update-desktop-files
%define prefix /opt/gnome
%define sysconfdir /etc%{prefix}
%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
License: GNU General Public License (GPL)
Group: Productivity/Networking/Web/Browsers
Autoreqprov: on
Version: 2.16.1
Release: 36
%define interface_version 2.16
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
Patch12: epiphany-flash-crash.patch
Patch13: epiphany-browser-plugins.patch
Patch14: epiphany-dbus-connection-close-fix-thoenig-01.patch
URL: http://www.gnome.org/projects/epiphany/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-gtk python-gnome iso-codes
PreReq: filesystem gconf2
%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>
%prep
%setup -q
%patch1 -p1
%patch4 -p1
%patch5
%patch9
%patch11
%patch12
cat %{P:13} | sed s/@LIB@/%{_lib}/g | patch -p0
%patch14 -p0
%build
#cp -i data/default-prefs-gecko-1-8.js data/default-prefs-xulrunner.js
libtoolize --force
aclocal -I m4
automake --add-missing
autoconf
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%prefix \
--libdir=%prefix/%_lib \
--sysconfdir=%sysconfdir \
--datadir=%prefix/share \
--mandir=%prefix/share/man \
--localstatedir=/var/lib \
%if %suse_version > 1000
--with-mozilla=xulrunner \
%endif
--enable-dbus \
--enable-zeroconf
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%suse_update_desktop_file -N "Epiphany" %name Network WebBrowser
%suse_update_desktop_file bme System Network
mkdir -p $RPM_BUILD_ROOT%{prefix}/%_lib/epiphany/%{interface_version}/extensions
rm -f %{prefix}/share/applications/epiphany.desktop
rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper
mkdir -p $RPM_BUILD_ROOT/usr/share
mv $RPM_BUILD_ROOT%{prefix}/share/pygtk $RPM_BUILD_ROOT/usr/share
mv $RPM_BUILD_ROOT%{prefix}/share/dbus-1 $RPM_BUILD_ROOT/usr/share
rm $RPM_BUILD_ROOT%{prefix}/lib/epiphany/2.16/plugins/libdesktopfileplugin.la
%post
%run_ldconfig
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/epiphany.schemas >/dev/null
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/epiphany-lockdown.schemas >/dev/null
%postun
%run_ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{prefix}/bin/*
#%{prefix}/%_lib/bonobo/servers/*.server
#%{prefix}/share/application-registry/epiphany.applications
%{prefix}/share/applications/*.desktop
%{prefix}/share/epiphany
%{prefix}/share/aclocal/epiphany.m4
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
%{prefix}/share/icons/hicolor/48x48/apps/epiphany-bookmarks.png
/etc/opt/gnome/gconf/schemas/epiphany.schemas
/etc/opt/gnome/gconf/schemas/epiphany-lockdown.schemas
/etc/opt/gnome/gconf/schemas/epiphany-fonts.schemas
/etc/opt/gnome/gconf/schemas/epiphany-pango.schemas
%{prefix}/share/gnome/help/epiphany
%{prefix}/share/man/man1/epiphany.1.gz
%{prefix}/share/omf/epiphany
#%{prefix}/share/pixmaps/*.png
/usr/share/pygtk/2.0/defs/epiphany.defs
%{prefix}/share/locale/*/LC_MESSAGES/epiphany*
%dir %{prefix}/%_lib/epiphany
%dir %{prefix}/%_lib/epiphany/%{interface_version}
%dir %{prefix}/%_lib/epiphany/%{interface_version}/plugins
%dir %{prefix}/%_lib/epiphany/%{interface_version}/extensions
%{prefix}/%_lib/epiphany/%{interface_version}/plugins/*
%files devel
%defattr(-,root,root)
%{prefix}/include/epiphany*
%{prefix}/%_lib/pkgconfig/epiphany*.pc
%files doc
%defattr(-,root,root)
%{prefix}/share/gtk-doc/html/epiphany
%changelog -n epiphany
* 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