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: d54c30d7bd842137fd0321ec2f2c32e9
12 Patch0: %{name}-first-tab.patch
13 Patch1: %{name}-desktop.patch
14 Patch2: %{name}-mozilla_includes.patch
15 Patch3: %{name}-mozilla.patch
16 URL: http://www.gnome.org/projects/epiphany/
17 BuildRequires: GConf2-devel >= 2.8.0.1
18 BuildRequires: ORBit2-devel >= 1:2.12.0
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gnome-common >= 2.8.0
22 BuildRequires: gnome-vfs2-devel >= 2.8.1
23 BuildRequires: gtk+2-devel >= 2:2.4.4
24 BuildRequires: gtk-doc
25 BuildRequires: intltool >= 0.31
26 BuildRequires: libbonoboui-devel >= 2.8.0
27 BuildRequires: libglade2-devel >= 1:2.4.0
28 BuildRequires: libgnomeui-devel >= 2.8.0
29 BuildRequires: libtool
30 BuildRequires: libxml2-devel >= 2.6.11
31 BuildRequires: mozilla-devel >= %{minmozver}
32 BuildRequires: nautilus-devel >= 2.8.0
33 BuildRequires: pango-devel >= 1:1.5.2
34 BuildRequires: rpm-build >= 4.1-10
35 BuildRequires: scrollkeeper
36 Requires(post): GConf2
37 Requires(post,postun): scrollkeeper
38 Requires: gnome-icon-theme >= 2.8.0
39 Requires: gtk+2 >= 2:2.4.4
40 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 # can be provided by mozilla or mozilla-embedded
44 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
47 GNOME browser based on Gecko (Mozilla rendering engine).
50 Navigador Web de GNOME basado en Gecko (el engine plasmante de Mozilla).
53 Epiphany jest przegl±dark± WWW bazuj±c± na Gecko (mechanizmie
54 interpretacji stron Mozilli).
57 Summary: Epiphany header files
58 Summary(es): Ficheros de cabecera de Epiphany
59 Summary(pl): Pliki nag³ówkowe Epiphany
60 Group: X11/Applications/Networking
61 # doesn't require base
62 Requires: gtk+2-devel >= 2:2.4.4
63 Requires: libxml2-devel >= 2.6.11
66 Epiphany header files for plugin development.
68 %description devel -l es
69 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
71 %description devel -l pl
72 Pliki nag³ówkowe Epiphany do tworzenia wtyczek.
83 cp /usr/share/automake/mkinstalldirs .
84 glib-gettextize --copy --force
85 intltoolize --copy --force
86 gnome-doc-common --copy
94 --disable-schemas-install \
95 --enable-nautilus-view=yes \
97 --with-html-dir=%{_gtkdocdir}
99 # CFLAGS is a hack for gcc 3.3
101 CFLAGS="%{rpmcflags} -fno-strict-aliasing"
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
108 DESTDIR=$RPM_BUILD_ROOT \
109 HTML_DIR=%{_gtkdocdir}
111 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
113 # epiphany-2.0.mo, but gnome/help/epiphany
114 %find_lang %{name}-2.0 --with-gnome --all-name
117 rm -rf $RPM_BUILD_ROOT
121 %gconf_schema_install
122 /usr/bin/scrollkeeper-update
123 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
127 /usr/bin/scrollkeeper-update
128 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
130 %files -f %{name}-2.0.lang
131 %defattr(644,root,root,755)
132 %doc AUTHORS ChangeLog NEWS README
133 %attr(755,root,root) %{_bindir}/*
134 %{_libdir}/bonobo/servers/*
137 %{_datadir}/application-registry/*
139 %{_sysconfdir}/gconf/schemas/*
144 %defattr(644,root,root,755)
145 %{_includedir}/epiphany-1.4
146 %{_pkgconfigdir}/*.pc