]>
Commit | Line | Data |
---|---|---|
70293a78 | 1 | # |
01f610e6 | 2 | %define basever 2.16 |
b214bb6b | 3 | Summary: Epiphany - gecko-based GNOME web browser |
1dda78a4 ER |
4 | Summary(es.UTF-8): Epiphany - navigador Web de GNOME basado en gecko |
5 | Summary(pl.UTF-8): Epiphany - przeglądarka WWW dla GNOME | |
b214bb6b | 6 | Name: epiphany |
87741ae1 | 7 | Version: 2.16.2 |
df9bc815 | 8 | Release: 2 |
64cfd84f | 9 | License: GPL v2 |
b214bb6b | 10 | Group: X11/Applications/Networking |
fd3ae4b7 | 11 | Source0: http://ftp.gnome.org/pub/gnome/sources/epiphany/%{basever}/%{name}-%{version}.tar.bz2 |
87741ae1 | 12 | # Source0-md5: 6d4ca4c3c1fb52b432ad3f5006866b6b |
e6dfa88b | 13 | Patch0: %{name}-first-tab.patch |
14 | Patch1: %{name}-desktop.patch | |
479b2587 | 15 | Patch2: %{name}-pld-homepage.patch |
16 | Patch3: %{name}-configure.patch | |
3adf4a38 | 17 | URL: http://www.gnome.org/projects/epiphany/ |
87741ae1 | 18 | BuildRequires: GConf2-devel >= 2.16.0 |
01f610e6 | 19 | BuildRequires: ORBit2-devel >= 1:2.14.3 |
fd3d9ecb | 20 | BuildRequires: autoconf >= 2.59 |
cabc9554 | 21 | BuildRequires: automake >= 1.8 |
c8df5897 | 22 | BuildRequires: dbus-glib-devel >= 0.71-2 |
479b2587 | 23 | BuildRequires: gnome-common >= 2.12.0 |
3396bafa | 24 | BuildRequires: gnome-desktop-devel >= 2.16.1 |
01f610e6 | 25 | BuildRequires: gnome-doc-utils >= 0.8.0 |
87741ae1 | 26 | BuildRequires: gnome-vfs2-devel >= 2.16.2 |
3396bafa | 27 | BuildRequires: gtk+2-devel >= 2:2.10.6 |
c8df5897 | 28 | BuildRequires: gtk-doc >= 1.7 |
87741ae1 | 29 | BuildRequires: intltool >= 0.35.0 |
01f610e6 | 30 | BuildRequires: iso-codes >= 0.53 |
fec44160 | 31 | BuildRequires: libglade2-devel >= 1:2.6.0 |
32 | BuildRequires: libgnomeprintui-devel >= 2.12.1 | |
87741ae1 | 33 | BuildRequires: libgnomeui-devel >= 2.16.1 |
47ba0170 | 34 | BuildRequires: libtool |
479b2587 | 35 | BuildRequires: libxslt-devel >= 1.1.17 |
8353110f | 36 | BuildRequires: xulrunner-devel >= 1.8.0.4 |
37 | BuildRequires: xulrunner | |
64cfd84f | 38 | BuildRequires: pkgconfig |
87741ae1 | 39 | BuildRequires: python-gnome-devel >= 2.16.2 |
3396bafa | 40 | BuildRequires: python-pygtk-devel >= 2.10.3 |
c8df5897 | 41 | BuildRequires: rpmbuild(macros) >= 1.311 |
c305e9cc | 42 | BuildRequires: scrollkeeper |
fec44160 | 43 | BuildRequires: startup-notification-devel >= 0.8 |
87741ae1 | 44 | Requires(post,preun): GConf2 >= 2.16.0 |
6c81e5d5 | 45 | Requires(post,postun): desktop-file-utils |
87741ae1 | 46 | Requires(post,postun): gtk+2 >= 2:2.10.6 |
d1e1b12f | 47 | Requires(post,postun): hicolor-icon-theme |
e6dfa88b | 48 | Requires(post,postun): scrollkeeper |
c8df5897 | 49 | Requires: dbus >= 0.91 |
01f610e6 | 50 | Requires: gnome-icon-theme >= 2.16.0.1 |
3396bafa | 51 | Requires: gtk+2 >= 2:2.10.6 |
87741ae1 | 52 | Requires: libgnomeui >= 2.16.1 |
8353110f | 53 | %requires_eq xulrunner |
ad062fc6 | 54 | Obsoletes: python-epiphany |
b214bb6b | 55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
56 | ||
57 | # can be provided by mozilla or mozilla-embedded | |
58 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so | |
59 | ||
60 | %description | |
584d60bd | 61 | GNOME browser based on Gecko (Mozilla rendering engine). |
b214bb6b | 62 | |
bbabfc8c | 63 | %description -l es.UTF-8 |
3adf4a38 | 64 | Navigador Web de GNOME basado en Gecko (el engine plasmante de Mozilla). |
65 | ||
bbabfc8c JR |
66 | %description -l pl.UTF-8 |
67 | Epiphany jest przeglądarką WWW bazującą na Gecko (mechanizmie | |
b214bb6b | 68 | interpretacji stron Mozilli). |
69 | ||
ce9f0285 | 70 | %package devel |
71 | Summary: Epiphany header files | |
1dda78a4 ER |
72 | Summary(es.UTF-8): Ficheros de cabecera de Epiphany |
73 | Summary(pl.UTF-8): Pliki nagłówkowe Epiphany | |
ce9f0285 | 74 | Group: X11/Applications/Networking |
cc8a9ea0 | 75 | # doesn't require base |
3396bafa | 76 | Requires: gtk+2-devel >= 2:2.10.6 |
479b2587 | 77 | Requires: libxslt-devel >= 1.1.17 |
ce9f0285 | 78 | |
79 | %description devel | |
80 | Epiphany header files for plugin development. | |
81 | ||
bbabfc8c | 82 | %description devel -l es.UTF-8 |
3adf4a38 | 83 | Ficheros de cabecera de Epiphany para desarrollar plug-ins. |
84 | ||
bbabfc8c JR |
85 | %description devel -l pl.UTF-8 |
86 | Pliki nagłówkowe Epiphany do tworzenia wtyczek. | |
ce9f0285 | 87 | |
c8df5897 | 88 | %package apidocs |
89 | Summary: Epiphany API documentation | |
1dda78a4 | 90 | Summary(pl.UTF-8): Dokumentacja API Epiphany |
c8df5897 | 91 | Group: Documentation |
92 | Requires: gtk-doc-common | |
93 | ||
94 | %description apidocs | |
95 | Epiphany API documentation. | |
96 | ||
bbabfc8c | 97 | %description apidocs -l pl.UTF-8 |
c8df5897 | 98 | Dokumentacja API Epiphany. |
99 | ||
b214bb6b | 100 | %prep |
c27c16d4 | 101 | %setup -q |
dd3c6f09 | 102 | %patch0 -p1 |
477bd04e | 103 | %patch1 -p1 |
d94aa458 | 104 | %patch2 -p1 |
b4c9fc53 | 105 | %patch3 -p1 |
b214bb6b | 106 | |
107 | %build | |
c8df5897 | 108 | %{__gnome_doc_prepare} |
cabc9554 | 109 | %{__gnome_doc_common} |
9d9c32a1 | 110 | %{__glib_gettextize} |
111 | %{__intltoolize} | |
b214bb6b | 112 | %{__libtoolize} |
cabc9554 | 113 | %{__aclocal} -I m4 |
b214bb6b | 114 | %{__autoheader} |
115 | %{__automake} | |
116 | %{__autoconf} | |
b214bb6b | 117 | %configure \ |
118 | --disable-schemas-install \ | |
cabc9554 | 119 | --enable-dbus \ |
10e31070 | 120 | --enable-gtk-doc \ |
cabc9554 | 121 | --enable-python \ |
10e31070 | 122 | --with-html-dir=%{_gtkdocdir} |
479b2587 | 123 | %{__make} |
b214bb6b | 124 | |
125 | %install | |
126 | rm -rf $RPM_BUILD_ROOT | |
fd3ae4b7 | 127 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions |
b214bb6b | 128 | |
129 | %{__make} install \ | |
10e31070 | 130 | DESTDIR=$RPM_BUILD_ROOT \ |
131 | HTML_DIR=%{_gtkdocdir} | |
b214bb6b | 132 | |
fd3ae4b7 | 133 | rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/plugins/*.la |
e6dfa88b | 134 | |
7bc0643f | 135 | %find_lang %{name} --with-gnome |
b214bb6b | 136 | |
137 | %clean | |
138 | rm -rf $RPM_BUILD_ROOT | |
139 | ||
140 | %post | |
fd3ae4b7 | 141 | %gconf_schema_install epiphany-fonts.schemas |
9d9c32a1 | 142 | %gconf_schema_install epiphany-lockdown.schemas |
3120beb0 | 143 | %gconf_schema_install epiphany-pango.schemas |
9d9c32a1 | 144 | %gconf_schema_install epiphany.schemas |
145 | %scrollkeeper_update_post | |
146 | %update_desktop_database_post | |
c8df5897 | 147 | %update_icon_cache hicolor |
6c81e5d5 | 148 | |
149 | %preun | |
fd3ae4b7 | 150 | %gconf_schema_uninstall epiphany-fonts.schemas |
9d9c32a1 | 151 | %gconf_schema_uninstall epiphany-lockdown.schemas |
3120beb0 | 152 | %gconf_schema_uninstall epiphany-pango.schemas |
9d9c32a1 | 153 | %gconf_schema_uninstall epiphany.schemas |
b214bb6b | 154 | |
e6dfa88b | 155 | %postun |
9d9c32a1 | 156 | %scrollkeeper_update_postun |
157 | %update_desktop_database_postun | |
c8df5897 | 158 | %update_icon_cache hicolor |
0c3c17e3 | 159 | |
7bc0643f | 160 | %files -f %{name}.lang |
b214bb6b | 161 | %defattr(644,root,root,755) |
162 | %doc AUTHORS ChangeLog NEWS README | |
163 | %attr(755,root,root) %{_bindir}/* | |
fd3ae4b7 | 164 | %{_datadir}/dbus-1/services/*.service |
b214bb6b | 165 | %{_datadir}/%{name} |
4d4e973b | 166 | %{_desktopdir}/*.desktop |
479b2587 | 167 | %{_iconsdir}/hicolor/*/*/*.png |
fd3ae4b7 | 168 | %{_sysconfdir}/gconf/schemas/epiphany-fonts.schemas |
cabc9554 | 169 | %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas |
3120beb0 | 170 | %{_sysconfdir}/gconf/schemas/epiphany-pango.schemas |
cabc9554 | 171 | %{_sysconfdir}/gconf/schemas/epiphany.schemas |
c27c16d4 | 172 | %{_omf_dest_dir}/* |
cabc9554 | 173 | %dir %{_libdir}/%{name} |
fd3ae4b7 | 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* | |
9405fbf9 | 178 | %{_mandir}/man1/* |
ce9f0285 | 179 | |
180 | %files devel | |
181 | %defattr(644,root,root,755) | |
fd3ae4b7 | 182 | %{_aclocaldir}/* |
cabc9554 | 183 | %{_includedir}/epiphany |
084a89d6 | 184 | %{_pkgconfigdir}/*.pc |
cabc9554 | 185 | %{_datadir}/pygtk/*/defs/epiphany.defs |
c8df5897 | 186 | |
187 | %files apidocs | |
188 | %defattr(644,root,root,755) | |
10e31070 | 189 | %{_gtkdocdir}/* |