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.2/%{name}-%{version}.tar.bz2
13 # Source0-md5: 9b84ae65fe30b51db139ea6d44ab871c
14 Patch0: %{name}-MOZILLA_FIVE_HOME.patch
15 Patch1: %{name}-first-tab.patch
16 Patch2: %{name}-locale-names.patch
17 Patch3: %{name}-desktop-name-entry.patch
18 URL: http://www.gnome.org/projects/epiphany/
19 BuildRequires: GConf2-devel
20 BuildRequires: ORBit2-devel >= 1:2.10.0
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: gnome-common >= 2.4.0
24 BuildRequires: gnome-vfs2-devel >= 2.6.0
25 BuildRequires: gtk+2-devel >= 2:2.4.0
26 BuildRequires: intltool >= 0.29
27 BuildRequires: libbonoboui-devel >= 2.6.0
28 BuildRequires: libglade2-devel >= 1:2.3.6
29 BuildRequires: libgnomeui-devel >= 2.6.0
30 BuildRequires: libxml2-devel >= 2.6.6
31 BuildRequires: mozilla-devel >= %{minmozver}
32 BuildRequires: nautilus-devel >= 2.6.0
33 BuildRequires: rpm-build >= 4.1-10
34 BuildRequires: scrollkeeper
35 Requires(post): GConf2
36 Requires(post): scrollkeeper
37 Requires: gnome-icon-theme >= 1.2.0
38 Requires: gtk+2 >= 2:2.4.0
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 # doesn't require base
61 Requires: gtk+2-devel >= 2:2.4.0
62 Requires: libxml2-devel >= 2.6.6
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.
84 cp /usr/share/automake/mkinstalldirs .
85 glib-gettextize --copy --force
86 intltoolize --copy --force
87 gnome-doc-common --copy
89 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
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 # 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.2
140 %{_pkgconfigdir}/*.pc