[Epiphany] epiphany.spec.in



Hy

I made a rpm package (RH9) for epiphany.
I saw no spec.in in the tarball and as I don't know if there's still a 
packaging project for gnome I send it to the list, if you need it.

Hope it'll help
PS.: Thanks for this fine work ! I love it
# Note that this is NOT a relocatable package
# DON'T FORGET TO UPDATE THE MOZILLA & GNOME DEPENDENCIES
%define nam 	@PACKAGE@
%define ver	@VERSION@
%define RELEASE	0_cvs_0
%define rel	%{?CUSTOM_RELEASE}%{!?CUSTOM_RELEASE:%RELEASE}

Summary: 	Gecko based GNOME 2.2 integrated browser
Name: 		%nam
Version: 	%ver
Release: 	%rel
License: 	GPL
Group: 		GNOME/Network/Browsers
URL: 		http://epiphany.mozdev.org/
Source0: 	ftp://ftp.gnome.org/pub/GNOME/sources/epiphany/0.6/%{name}-%{version}.tar.bz2
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
Packager:	Remi Cohen-Scali <Remi.Cohen-Scali@Jaluna.COM>

Prereq:		/sbin/ldconfig
BuildRequires:	perl

# gtk-doc
BuildRequires:	gtk-doc >= 0.10
# scrollkeeper:
Requires:	scrollkeeper >= 0.3.11
BuildRequires:	scrollkeeper >= 0.3.11
# libxml2
Requires:	libxml2 >= 2.5.4
BuildRequires:	libxml2-devel >= 2.5.4
# gtk2
Requires: 	gtk2 >= 2.2.1
BuildRequires: 	gtk2-devel >= 2.2.1
# libgnomeui
Requires:	libgnomeui >= 2.2.0.1
BuildRequires:	libgnomeui-devel >= 2.2.0.1
# libglade2
Requires:	libglade2 >= 2.0.1
BuildRequires:	libglade2-devel >= 2.0.1
# bonobo-activation
Requires:	bonobo-activation >= 2.2.0
BuildRequires:	bonobo-activation-devel >= 2.2.0
# libbonoboui
Requires:	libbonoboui >= 2.2.0
BuildRequires:	libbonoboui-devel >= 2.2.0
# ORBit2
Requires:	ORBit2 >= 2.6.0
Requires:	ORBit2-devel >= 2.6.0
# gnome-vfs2
Requires:	gnome-vfs2 >= 2.2.2
BuildRequires:	gnome-vfs2-devel >= 2.2.2
# GConf2
Requires:	GConf2 >= 2.2.0
BuildRequires:	GConf2-devel >= 2.2.0
# nautilus
Requires:	nautilus >= 2.2.1
BuildRequires:	nautilus-devel >= 2.2.1
# mozilla
Requires:	mozilla >= 1.4b
BuildRequires:	mozilla-devel >= 1.4b

%description
Epiphany is a GNOME web browser based on the mozilla rendering 
engine. The name meaning: "An intuitive grasp of reality through
something (as an event) usually simple and striking"

%package nautilus_view
Summary: 	Package to use Epiphany as a Nautilus view
Group: 		GNOME/Network/Browsers
License: 	GPL

%description nautilus_view

%prep
%setup -q
%configure \
	--disable-install-schemas \
	--disable-dependency-tracking \
	--enable-compile-warnings=no \
	--enable-nautilus-view \
	--with-mozilla-snapshot=1.4b

%build
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post
GCONF_CONFIG_SOURCE=""
export GCONF_CONFIG_SOURCE
for schema in %{_sysconfdir}/gconf/schemas/%{name}.schemas ; do
	%{_bindir}/gconftool-2 --install-schema-file="${schema}" > /dev/null
done
ldconfig
%{_bindir}/scrollkeeper-update

%postun
ldconfig
%{_bindir}/scrollkeeper-update

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO COPYING.README 
%dir %{_datadir}/gnome/help/%{name}/C/figures
%dir %{_datadir}/omf/%{name}
%{_datadir}/%{name}/default-prefs.js
%{_datadir}/%{name}/%{name}-*.xml
%{_datadir}/%{name}/art/%{name}-*.png
%{_datadir}/%{name}/art/%{name}-*.gif
%{_datadir}/%{name}/glade/%{name}.glade
%{_datadir}/%{name}/glade/prefs-dialog.glade
%{_datadir}/%{name}/glade/print.glade
%{_datadir}/%{name}/starthere/section.xsl
%{_datadir}/%{name}/starthere/index.xml
%{_datadir}/%{name}/starthere/smartbookmarks.xml
%{_datadir}/%{name}/%{name}.xhtml
%{_datadir}/%{name}/conspiracy.xhtml
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/pixmaps/%{name}-bookmarks.png
%{_datadir}/application-registry/%{name}.applications
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/bme.desktop
%{_datadir}/locale/*/LC_MESSAGES/%{name}-2.0.mo
%{_datadir}/gnome/help/%{name}/C/legal.xml
%{_datadir}/gnome/help/%{name}/C/%{name}.xml
%{_datadir}/gnome/help/%{name}/C/figures/ephy-screenshot.png
%{_datadir}/omf/%{name}/%{name}-C.omf
%{_bindir}/%{name}-bin
%{_bindir}/%{name}
%{_sysconfdir}/gconf/schemas/%{name}.schemas
%{_libdir}/bonobo/servers/GNOME_Epiphany_Automation.server

%files nautilus_view
%{_datadir}/%{name}/nautilus-epiphany-view.xml
%{_libdir}/bonobo/servers/GNOME_Epiphany_NautilusView.server

%changelog
* Fri May 30 2003 root <root@achille.rcsnet.net> 0.6.1-0_cvs_0
- Add nautilus_view package

* Thu May 29 2003 root <root@achille.rcsnet.net> 
- Initial build.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]