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/epiphany/1.6/%{name}-%{version}.tar.bz2
11 # Source0-md5: 53eda1c713aec26a51fb806210c8afa7
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.10.0
18 BuildRequires: ORBit2-devel >= 1:2.12.1
19 BuildRequires: autoconf >= 2.59
20 BuildRequires: automake
21 BuildRequires: gnome-common >= 2.8.0
22 BuildRequires: gnome-desktop >= 2.10.0
23 BuildRequires: gnome-vfs2-devel >= 2.10.0-2
24 BuildRequires: gtk+2-devel >= 2:2.6.4
25 BuildRequires: gtk-doc >= 1.3
26 BuildRequires: intltool >= 0.33
27 BuildRequires: libglade2-devel >= 1:2.5.1
28 BuildRequires: libgnomeui-devel >= 2.10.0
29 BuildRequires: libtool
30 BuildRequires: libxml2-devel >= 2.6.17
31 BuildRequires: mozilla-devel >= %{minmozver}
32 BuildRequires: nautilus-devel >= 2.10.0
33 BuildRequires: pango-devel >= 1:1.8.1
34 BuildRequires: pkgconfig
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.10.0
40 Requires: gtk+2 >= 2:2.6.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.6.4
64 Requires: libxml2-devel >= 2.6.17
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}
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}-1.6/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/*
141 %dir %{_libdir}/%{name}-1.6
142 %dir %{_libdir}/%{name}-1.6/extensions
146 %defattr(644,root,root,755)
147 %{_includedir}/epiphany-1.6
148 %{_pkgconfigdir}/*.pc