1 %define minmozver 5:1.7
2 Summary: Epiphany - gecko-based GNOME web browser
3 Summary(es): Epiphany - navigador Web de GNOME basado en gecko
4 Summary(pl): Epiphany - przegl±darka WWW dla GNOME
9 Group: X11/Applications/Networking
10 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.4/%{name}-%{version}.tar.bz2
11 # Source0-md5: 82e44449cc615e729d5fb218719b1d58
12 # Source0-size: 3355896
13 Patch0: %{name}-first-tab.patch
14 Patch1: %{name}-desktop.patch
15 Patch2: %{name}-mozilla_includes.patch
16 Patch3: %{name}-mozilla.patch
17 URL: http://www.gnome.org/projects/epiphany/
18 BuildRequires: GConf2-devel >= 2.8.0.1
19 BuildRequires: ORBit2-devel >= 1:2.12.0
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: gnome-common >= 2.8.0
23 BuildRequires: gnome-vfs2-devel >= 2.8.1
24 BuildRequires: gtk+2-devel >= 2:2.4.4
25 BuildRequires: gtk-doc
26 BuildRequires: intltool >= 0.31
27 BuildRequires: libbonoboui-devel >= 2.8.0
28 BuildRequires: libglade2-devel >= 1:2.4.0
29 BuildRequires: libgnomeui-devel >= 2.8.0
30 BuildRequires: libtool
31 BuildRequires: libxml2-devel >= 2.6.11
32 BuildRequires: mozilla-devel >= %{minmozver}
33 BuildRequires: nautilus-devel >= 2.8.0
34 BuildRequires: pango-devel >= 1:1.5.2
35 BuildRequires: rpm-build >= 4.1-10
36 BuildRequires: scrollkeeper
37 Requires(post): GConf2
38 Requires(post,postun): scrollkeeper
39 Requires: gnome-icon-theme >= 2.8.0
40 Requires: gtk+2 >= 2:2.4.4
41 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 # can be provided by mozilla or mozilla-embedded
45 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
48 GNOME browser based on Gecko (Mozilla rendering engine).
51 Navigador Web de GNOME basado en Gecko (el engine plasmante de Mozilla).
54 Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
55 interpretacji stron Mozilli).
58 Summary: Epiphany header files
59 Summary(es): Ficheros de cabecera de Epiphany
60 Summary(pl): Pliki nag³ówkowe Epiphany
61 Group: X11/Applications/Networking
62 # doesn't require base
63 Requires: gtk+2-devel >= 2:2.4.4
64 Requires: libxml2-devel >= 2.6.11
67 Epiphany header files for plugin development.
69 %description devel -l es
70 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
72 %description devel -l pl
73 Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
84 cp /usr/share/automake/mkinstalldirs .
85 glib-gettextize --copy --force
86 intltoolize --copy --force
87 gnome-doc-common --copy
95 --disable-schemas-install \
96 --enable-nautilus-view=yes \
98 --with-html-dir=%{_gtkdocdir}
100 # CFLAGS is a hack for gcc 3.3
102 CFLAGS="%{rpmcflags} -fno-strict-aliasing"
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
109 DESTDIR=$RPM_BUILD_ROOT \
110 HTML_DIR=%{_gtkdocdir}
112 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
114 # epiphany-2.0.mo, but gnome/help/epiphany
115 %find_lang %{name}-2.0 --with-gnome --all-name
118 rm -rf $RPM_BUILD_ROOT
122 %gconf_schema_install
123 /usr/bin/scrollkeeper-update
124 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
128 /usr/bin/scrollkeeper-update
129 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
131 %files -f %{name}-2.0.lang
132 %defattr(644,root,root,755)
133 %doc AUTHORS ChangeLog NEWS README
134 %attr(755,root,root) %{_bindir}/*
135 %{_libdir}/bonobo/servers/*
138 %{_datadir}/application-registry/*
139 %{_mandir}/man1/%{name}*
141 %{_sysconfdir}/gconf/schemas/*
147 %defattr(644,root,root,755)
148 %{_includedir}/epiphany-1.4
149 %{_pkgconfigdir}/*.pc