2 Summary: Epiphany - gecko-based GNOME web browser
3 Summary(es.UTF-8): Epiphany - navigador Web de GNOME basado en gecko
4 Summary(pl.UTF-8): Epiphany - przeglądarka WWW dla GNOME
9 Group: X11/Applications/Networking
10 Source0: http://ftp.gnome.org/pub/gnome/sources/epiphany/2.17/%{name}-%{version}.tar.bz2
11 # Source0-md5: ddb4363fae7f826abd0602a6f08e6cd7
12 Patch0: %{name}-first-tab.patch
13 Patch1: %{name}-desktop.patch
14 Patch2: %{name}-pld-homepage.patch
15 Patch3: %{name}-configure.patch
16 URL: http://www.gnome.org/projects/epiphany/
17 BuildRequires: GConf2-devel >= 2.18.0.1
18 BuildRequires: ORBit2-devel >= 1:2.14.7
19 BuildRequires: autoconf >= 2.59
20 BuildRequires: automake >= 1:1.9
21 BuildRequires: dbus-glib-devel >= 0.73
22 BuildRequires: gnome-common >= 2.12.0
23 BuildRequires: gnome-desktop-devel >= 2.17.92
24 BuildRequires: gnome-doc-utils >= 0.9.2
25 BuildRequires: gnome-vfs2-devel >= 2.17.91
26 BuildRequires: gtk+2-devel >= 2:2.10.9
27 BuildRequires: gtk-doc >= 1.8
28 BuildRequires: intltool >= 0.35.5
29 BuildRequires: iso-codes >= 0.53
30 BuildRequires: libglade2-devel >= 1:2.6.0
31 BuildRequires: libgnomeprintui-devel >= 2.17.92
32 BuildRequires: libgnomeui-devel >= 2.17.92
33 BuildRequires: libtool
34 BuildRequires: libxml2-devel >= 1:2.6.27
35 BuildRequires: libxslt-devel >= 1.1.20
36 BuildRequires: pkgconfig
37 BuildRequires: python-gnome-devel >= 2.17.92
38 BuildRequires: python-pygtk-devel >= 2:2.10.4
39 BuildRequires: rpmbuild(macros) >= 1.311
40 BuildRequires: scrollkeeper
41 BuildRequires: startup-notification-devel >= 0.8
42 BuildRequires: xulrunner
43 BuildRequires: xulrunner-devel >= 1.8.0.4
44 Requires(post,postun): desktop-file-utils
45 Requires(post,postun): gtk+2
46 Requires(post,postun): hicolor-icon-theme
47 Requires(post,postun): scrollkeeper
48 Requires(post,preun): GConf2
49 Requires: dbus >= 1.0.2
50 Requires: gnome-icon-theme >= 2.17.91
51 Requires: libgnomeui >= 2.17.92
52 %requires_eq xulrunner
53 Obsoletes: python-epiphany
54 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56 # can be provided by mozilla or mozilla-embedded
57 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
60 GNOME browser based on Gecko (Mozilla rendering engine).
62 %description -l es.UTF-8
63 Navigador Web de GNOME basado en Gecko (el engine plasmante de
66 %description -l pl.UTF-8
67 Epiphany jest przeglądarką WWW bazującą na Gecko (mechanizmie
68 interpretacji stron Mozilli).
71 Summary: Epiphany header files
72 Summary(es.UTF-8): Ficheros de cabecera de Epiphany
73 Summary(pl.UTF-8): Pliki nagłówkowe Epiphany
74 Group: X11/Applications/Networking
75 # doesn't require base
76 Requires: gtk+2-devel >= 2:2.10.9
77 Requires: libxslt-devel >= 1.1.20
80 Epiphany header files for plugin development.
82 %description devel -l es.UTF-8
83 Ficheros de cabecera de Epiphany para desarrollar plug-ins.
85 %description devel -l pl.UTF-8
86 Pliki nagłówkowe Epiphany do tworzenia wtyczek.
89 Summary: Epiphany API documentation
90 Summary(pl.UTF-8): Dokumentacja API Epiphany
92 Requires: gtk-doc-common
95 Epiphany API documentation.
97 %description apidocs -l pl.UTF-8
98 Dokumentacja API Epiphany.
108 %{__gnome_doc_prepare}
109 %{__gnome_doc_common}
118 --disable-schemas-install \
122 --with-html-dir=%{_gtkdocdir}
126 rm -rf $RPM_BUILD_ROOT
127 install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions
130 DESTDIR=$RPM_BUILD_ROOT \
131 HTML_DIR=%{_gtkdocdir}
133 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/plugins/*.la
135 %find_lang %{name} --with-gnome
138 rm -rf $RPM_BUILD_ROOT
141 %gconf_schema_install epiphany-fonts.schemas
142 %gconf_schema_install epiphany-lockdown.schemas
143 %gconf_schema_install epiphany-pango.schemas
144 %gconf_schema_install epiphany.schemas
145 %scrollkeeper_update_post
146 %update_desktop_database_post
147 %update_icon_cache hicolor
150 %gconf_schema_uninstall epiphany-fonts.schemas
151 %gconf_schema_uninstall epiphany-lockdown.schemas
152 %gconf_schema_uninstall epiphany-pango.schemas
153 %gconf_schema_uninstall epiphany.schemas
156 %scrollkeeper_update_postun
157 %update_desktop_database_postun
158 %update_icon_cache hicolor
160 %files -f %{name}.lang
161 %defattr(644,root,root,755)
162 %doc AUTHORS ChangeLog NEWS README
163 %attr(755,root,root) %{_bindir}/*
164 %{_datadir}/dbus-1/services/*.service
166 %{_desktopdir}/*.desktop
167 %{_iconsdir}/hicolor/*/*/*.png
168 %{_sysconfdir}/gconf/schemas/epiphany-fonts.schemas
169 %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas
170 %{_sysconfdir}/gconf/schemas/epiphany-pango.schemas
171 %{_sysconfdir}/gconf/schemas/epiphany.schemas
173 %dir %{_libdir}/%{name}
174 %dir %{_libdir}/%{name}/%{basever}
175 %dir %{_libdir}/%{name}/%{basever}/extensions
176 %dir %{_libdir}/%{name}/%{basever}/plugins
177 %attr(755,root,root) %{_libdir}/epiphany/%{basever}/plugins/*.so*
181 %defattr(644,root,root,755)
183 %{_includedir}/epiphany
184 %{_pkgconfigdir}/*.pc
185 %{_datadir}/pygtk/*/defs/epiphany.defs
188 %defattr(644,root,root,755)