2 %define minmozver 5:1.6
4 Summary: Epiphany - gecko-based GNOME web browser
5 Summary(es): Epiphany - navigador Web de GNOME basado en gecko
6 Summary(pl): Epiphany - przegl±darka WWW dla GNOME
11 Group: X11/Applications/Networking
12 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
13 # Source0-md5: 6f1639d7c7133769ce28eb24358ef55b
14 #Source0: http://downloads.uk1.mozdev.org/rsync/%{name}/%{name}-%{version}.tar.gz
15 Patch0: %{name}-MOZILLA_FIVE_HOME.patch
16 Patch1: %{name}-tabsmenu.patch
17 Patch2: %{name}-first-tab.patch
18 URL: http://www.gnome.org/projects/epiphany/
19 BuildRequires: GConf2-devel >= 2.4.0
20 BuildRequires: ORBit2-devel >= 2.8.0
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: gnome-common >= 2.4.0
24 BuildRequires: gnome-vfs2-devel >= 2.4.0
25 BuildRequires: gtk+2-devel >= 2.2.0
26 BuildRequires: intltool
27 BuildRequires: libbonoboui-devel >= 2.4.0
28 BuildRequires: libglade2-devel >= 2.0.1
29 BuildRequires: libgnomeui-devel >= 2.4.0
30 BuildRequires: libtool
31 BuildRequires: libxml2-devel >= 2.5.9
32 BuildRequires: mozilla-embedded-devel >= %{minmozver}
33 BuildRequires: nautilus-devel >= 2.4.0
34 BuildRequires: rpm-build >= 4.1-10
35 BuildRequires: scrollkeeper
36 Requires(post): GConf2
37 Requires(post): scrollkeeper
38 Requires: gnome-icon-theme
39 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 # can be provided by mozilla or mozilla-embedded
43 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
46 GNOME browser based on Gecko (Mozilla rendering engine).
49 Navigador Web de GNOME basado en Gecko (el engine plasmante de Mozilla).
52 Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
53 interpretacji stron Mozilli).
56 Summary: Epiphany header files
57 Summary(es): Ficheros de cabecera de Epiphany
58 Summary(pl): Pliki nag³ówkowe Epiphany
59 Group: X11/Applications/Networking
60 Requires: %{name} = %{version}
61 Requires: gtk+2-devel >= 2.2.0
62 Requires: libxml2-devel >= 2.5.9
65 Epiphany header files for plugin development.
67 %description devel -l es
68 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
70 %description devel -l pl
71 Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
81 glib-gettextize --copy --force
82 intltoolize --copy --force
84 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
89 # rebuild for new ORBit2
91 orbit-idl-2 -I/usr/share/idl -I/usr/share/idl/bonobo-2.0 \
92 -I/usr/share/idl/bonobo-activation-2.0 EphyAutomation.idl
97 --disable-schemas-install \
98 --enable-nautilus-view=yes \
99 --with-mozilla-snapshot=1.6
101 # CFLAGS is a hack for gcc 3.3
103 CFLAGS="%{rpmcflags} -fno-strict-aliasing"
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
110 DESTDIR=$RPM_BUILD_ROOT
112 # epiphany-2.0.mo, but gnome/help/epiphany
113 %find_lang %{name}-2.0 --with-gnome --all-name
116 rm -rf $RPM_BUILD_ROOT
119 %gconf_schema_install
120 /usr/bin/scrollkeeper-update
122 %postun -p /usr/bin/scrollkeeper-update
124 %files -f %{name}-2.0.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog NEWS README
127 %attr(755,root,root) %{_bindir}/*
128 %{_libdir}/bonobo/servers/*
131 %{_datadir}/application-registry/*
133 %{_sysconfdir}/gconf/schemas/*
138 %defattr(644,root,root,755)
139 %{_includedir}/epiphany-1.0
140 %{_pkgconfigdir}/*.pc