This commit is contained in:
parent
d6ca1bd970
commit
9463371be3
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 10 16:10:11 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Enabled NetworkManager support.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 3 14:53:07 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Spec file cleanup.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 29 11:45:58 GMT 2006 - james@usr-local-bin.org
|
||||||
|
|
||||||
|
- Fix %post.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 29 11:45:11 CST 2006 - maw@suse.de
|
||||||
|
|
||||||
|
- Move to /usr.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 28 23:12:30 CET 2006 - jhargadon@suse.de
|
Thu Dec 28 23:12:30 CET 2006 - jhargadon@suse.de
|
||||||
|
|
||||||
|
134
epiphany.spec
134
epiphany.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package epiphany (Version 2.16.1)
|
# spec file for package epiphany (Version 2.16.1)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -12,9 +12,7 @@
|
|||||||
|
|
||||||
Name: epiphany
|
Name: epiphany
|
||||||
%define xulrunner_version 181
|
%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
|
BuildRequires: NetworkManager-devel docbook_4 enchant-devel gcc-c++ gnome-common gnome-desktop-devel gnome-doc-utils-devel gnome-icon-theme 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}
|
%if %suse_version > 1010 || 0%{?opensuse_bs}
|
||||||
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
|
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
|
||||||
%define mozilla_ver %(rpm -q --qf '%%{version}' mozilla-xulrunner%{xulrunner_version})
|
%define mozilla_ver %(rpm -q --qf '%%{version}' mozilla-xulrunner%{xulrunner_version})
|
||||||
@ -32,24 +30,25 @@ Requires: mozilla = %{mozilla_ver}
|
|||||||
%endif
|
%endif
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
Group: Productivity/Networking/Web/Browsers
|
Group: Productivity/Networking/Web/Browsers
|
||||||
Autoreqprov: on
|
|
||||||
Version: 2.16.1
|
Version: 2.16.1
|
||||||
Release: 36
|
Release: 40
|
||||||
%define interface_version 2.16
|
%define interface_version 2.16
|
||||||
Summary: GNOME Web Browser Based on the Mozilla Rendering Engine
|
Summary: GNOME Web Browser Based on the Mozilla Rendering Engine
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch1: %{name}-schema.dif
|
Patch1: %{name}-schema.dif
|
||||||
Patch4: 59950.diff
|
Patch4: 59950.diff
|
||||||
Patch5: 59949.diff
|
Patch5: 59949.diff
|
||||||
Patch9: %name-desktop.patch
|
Patch9: %{name}-desktop.patch
|
||||||
Patch11: epiphany-no-root.patch
|
Patch11: epiphany-no-root.patch
|
||||||
Patch12: epiphany-flash-crash.patch
|
Patch12: epiphany-flash-crash.patch
|
||||||
Patch13: epiphany-browser-plugins.patch
|
Patch13: epiphany-browser-plugins.patch
|
||||||
Patch14: epiphany-dbus-connection-close-fix-thoenig-01.patch
|
Patch14: epiphany-dbus-connection-close-fix-thoenig-01.patch
|
||||||
URL: http://www.gnome.org/projects/epiphany/
|
URL: http://www.gnome.org/projects/epiphany/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: python-gtk python-gnome iso-codes
|
Requires: python-gtk python-gnome iso-codes gnome-icon-theme
|
||||||
PreReq: filesystem gconf2
|
Autoreqprov: on
|
||||||
|
|
||||||
|
%gconf_schemas_prereq
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Epiphany is a Web browser for the GNOME Desktop. Its principles are
|
Epiphany is a Web browser for the GNOME Desktop. Its principles are
|
||||||
@ -122,89 +121,84 @@ cat %{P:13} | sed s/@LIB@/%{_lib}/g | patch -p0
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
#cp -i data/default-prefs-gecko-1-8.js data/default-prefs-xulrunner.js
|
#cp -i data/default-prefs-gecko-1-8.js data/default-prefs-xulrunner.js
|
||||||
libtoolize --force
|
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
||||||
aclocal -I m4
|
# needed for epiphany-2.16.1:
|
||||||
automake --add-missing
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
autoconf
|
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
# FIXME: es/epiphany.xml:*: parser error : Entity 'hellip' not defined
|
||||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
%configure\
|
||||||
./configure \
|
--disable-scrollkeeper\
|
||||||
--prefix=%prefix \
|
|
||||||
--libdir=%prefix/%_lib \
|
|
||||||
--sysconfdir=%sysconfdir \
|
|
||||||
--datadir=%prefix/share \
|
|
||||||
--mandir=%prefix/share/man \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
%if %suse_version > 1000
|
%if %suse_version > 1000
|
||||||
--with-mozilla=xulrunner \
|
--with-mozilla=xulrunner\
|
||||||
%endif
|
%endif
|
||||||
--enable-dbus \
|
--enable-dbus\
|
||||||
--enable-zeroconf
|
--enable-zeroconf\
|
||||||
make
|
--enable-certificate-manager\
|
||||||
|
--enable-network-manager
|
||||||
|
# FIXME: Compile xulrunner with spellchecker extension.
|
||||||
|
# --enable-spell-checker
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
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 -N "Epiphany" %name Network WebBrowser
|
||||||
%suse_update_desktop_file bme System Network
|
%suse_update_desktop_file bme System Network
|
||||||
mkdir -p $RPM_BUILD_ROOT%{prefix}/%_lib/epiphany/%{interface_version}/extensions
|
mkdir $RPM_BUILD_ROOT%{_libdir}/epiphany/%{interface_version}/extensions
|
||||||
rm -f %{prefix}/share/applications/epiphany.desktop
|
%find_lang %{name}
|
||||||
rm -rf $RPM_BUILD_ROOT/var/lib/scrollkeeper
|
%find_gconf_schemas
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/share
|
cat %{name}.lang %{name}.schemas_list >%{name}.lst
|
||||||
mv $RPM_BUILD_ROOT%{prefix}/share/pygtk $RPM_BUILD_ROOT/usr/share
|
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a
|
||||||
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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%pre -f %{name}.schemas_pre
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%posttrans -f %{name}.schemas_posttrans
|
||||||
|
|
||||||
|
%preun -f %{name}.schemas_preun
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%files -f %{name}.lst
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||||
%{prefix}/bin/*
|
%{_bindir}/*
|
||||||
#%{prefix}/%_lib/bonobo/servers/*.server
|
%{_datadir}/applications/*.desktop
|
||||||
#%{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
|
%{_datadir}/dbus-1/services/org.gnome.Epiphany.service
|
||||||
%{prefix}/share/icons/hicolor/48x48/apps/epiphany-bookmarks.png
|
%{_datadir}/epiphany
|
||||||
/etc/opt/gnome/gconf/schemas/epiphany.schemas
|
%{_datadir}/icons/hicolor/48x48/apps/epiphany-bookmarks.png
|
||||||
/etc/opt/gnome/gconf/schemas/epiphany-lockdown.schemas
|
%{_datadir}/pixmaps/*.svg
|
||||||
/etc/opt/gnome/gconf/schemas/epiphany-fonts.schemas
|
%{_datadir}/pygtk/2.0/defs/epiphany.defs
|
||||||
/etc/opt/gnome/gconf/schemas/epiphany-pango.schemas
|
%{_datadir}/omf/epiphany
|
||||||
%{prefix}/share/gnome/help/epiphany
|
%{_libdir}/epiphany
|
||||||
%{prefix}/share/man/man1/epiphany.1.gz
|
%doc %{_mandir}/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
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/include/epiphany*
|
%{_datadir}/aclocal/*.m4
|
||||||
%{prefix}/%_lib/pkgconfig/epiphany*.pc
|
%{_includedir}/epiphany*
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{prefix}/share/gtk-doc/html/epiphany
|
%{_datadir}/gtk-doc/html/epiphany
|
||||||
|
|
||||||
%changelog -n epiphany
|
%changelog -n epiphany
|
||||||
|
* 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
|
* Thu Dec 28 2006 - jhargadon@suse.de
|
||||||
- removed unneeded libtool file (#223685)
|
- removed unneeded libtool file (#223685)
|
||||||
* Thu Nov 30 2006 - sbrabec@suse.cz
|
* Thu Nov 30 2006 - sbrabec@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user