]>
Commit | Line | Data |
---|---|---|
0ac02180 | 1 | %define basever 2.29 |
eeabb3ec MB |
2 | Summary: Epiphany - WebKit-based GNOME web browser |
3 | Summary(es.UTF-8): Epiphany - navigador Web de GNOME basado en WebKit | |
1dda78a4 | 4 | Summary(pl.UTF-8): Epiphany - przeglądarka WWW dla GNOME |
b214bb6b | 5 | Name: epiphany |
d08074dc | 6 | Version: 2.30.2 |
78221944 | 7 | Release: 4 |
64cfd84f | 8 | License: GPL v2 |
b214bb6b | 9 | Group: X11/Applications/Networking |
d08074dc MB |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.30/%{name}-%{version}.tar.bz2 |
11 | # Source0-md5: 29b084acfa016540d91d3601ec3dff5c | |
b3cca493 | 12 | Patch0: %{name}-pld-homepage.patch |
3adf4a38 | 13 | URL: http://www.gnome.org/projects/epiphany/ |
eeabb3ec | 14 | BuildRequires: GConf2-devel >= 2.28.0 |
3b036307 | 15 | BuildRequires: NetworkManager-devel |
fd3d9ecb | 16 | BuildRequires: autoconf >= 2.59 |
9c7631b4 | 17 | BuildRequires: automake >= 1:1.9 |
eeabb3ec | 18 | BuildRequires: avahi-gobject-devel >= 0.6.22 |
9c7631b4 | 19 | BuildRequires: dbus-glib-devel >= 0.73 |
1e6eea56 | 20 | BuildRequires: docbook-dtd412-xml |
2f518579 | 21 | BuildRequires: gettext-devel |
af6ddef1 | 22 | BuildRequires: gir-repository-devel |
b3cca493 | 23 | BuildRequires: gnome-common >= 2.20.0 |
b3cca493 | 24 | BuildRequires: gnome-doc-utils >= 0.12.0 |
d08074dc MB |
25 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
26 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
9c7631b4 | 27 | BuildRequires: gtk-doc >= 1.8 |
d08074dc | 28 | BuildRequires: gtk-webkit-devel >= 1.1.22 |
2f518579 | 29 | BuildRequires: intltool >= 0.40.0 |
01f610e6 | 30 | BuildRequires: iso-codes >= 0.53 |
d08074dc | 31 | BuildRequires: libgnome-keyring-devel >= 2.28.0 |
a25d521e | 32 | BuildRequires: libicu-devel |
2f518579 | 33 | BuildRequires: libnotify-devel >= 0.4 |
d08074dc MB |
34 | BuildRequires: libsoup-gnome-devel >= 2.30.0 |
35 | BuildRequires: libtool >= 2:2.2 | |
2ee625f0 | 36 | BuildRequires: libxml2-devel >= 1:2.6.28 |
9c7631b4 | 37 | BuildRequires: libxslt-devel >= 1.1.20 |
eeabb3ec | 38 | BuildRequires: nss-devel |
64cfd84f | 39 | BuildRequires: pkgconfig |
acf50bed | 40 | BuildRequires: rpm >= 4.4.9-56 |
5c860df1 | 41 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
a84d07de | 42 | BuildRequires: rpmbuild(macros) >= 1.364 |
c305e9cc | 43 | BuildRequires: scrollkeeper |
d08074dc | 44 | BuildRequires: sed >= 4.0 |
fec44160 | 45 | BuildRequires: startup-notification-devel >= 0.8 |
d08074dc | 46 | BuildRequires: xorg-lib-libSM-devel |
6c81e5d5 | 47 | Requires(post,postun): desktop-file-utils |
c4601149 | 48 | Requires(post,postun): gtk+2 |
d1e1b12f | 49 | Requires(post,postun): hicolor-icon-theme |
e6dfa88b | 50 | Requires(post,postun): scrollkeeper |
9c7631b4 | 51 | Requires(post,preun): GConf2 |
d08074dc | 52 | Requires: ca-certificates |
9c7631b4 | 53 | Requires: dbus >= 1.0.2 |
2f518579 | 54 | Requires: gnome-icon-theme >= 2.26.0 |
a84d07de | 55 | Provides: wwwbrowser |
84d82d33 | 56 | # sr@Latn vs. sr@latin |
57 | Conflicts: glibc-misc < 6:2.7 | |
b214bb6b | 58 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
59 | ||
b214bb6b | 60 | %description |
eeabb3ec | 61 | GNOME browser based on WebKit. |
b214bb6b | 62 | |
bbabfc8c | 63 | %description -l es.UTF-8 |
eeabb3ec | 64 | Navigador Web de GNOME basado en WebKit. |
3adf4a38 | 65 | |
bbabfc8c | 66 | %description -l pl.UTF-8 |
eeabb3ec | 67 | Epiphany jest przeglądarką WWW bazującą na WebKit. |
b214bb6b | 68 | |
ce9f0285 | 69 | %package devel |
70 | Summary: Epiphany header files | |
1dda78a4 ER |
71 | Summary(es.UTF-8): Ficheros de cabecera de Epiphany |
72 | Summary(pl.UTF-8): Pliki nagłówkowe Epiphany | |
ce9f0285 | 73 | Group: X11/Applications/Networking |
cc8a9ea0 | 74 | # doesn't require base |
d08074dc MB |
75 | Requires: gtk+2-devel >= 2:2.20.0 |
76 | Requires: gtk-webkit-devel >= 1.1.22 | |
2f518579 | 77 | Requires: libxml2-devel >= 1:2.6.28 |
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 |
b3cca493 | 102 | %patch0 -p1 |
b214bb6b | 103 | |
d08074dc MB |
104 | sed -i -e 's/^en@shaw//' po/LINGUAS |
105 | rm -f po/en@shaw.po | |
106 | ||
b214bb6b | 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 \ |
d08074dc | 118 | --disable-silent-rules \ |
eeabb3ec | 119 | --with-distributor-name="PLD Linux" \ |
d08074dc | 120 | --with-ca-file=/etc/certs/ca-certificates.crt \ |
3428cfce | 121 | --enable-network-manager \ |
eeabb3ec MB |
122 | --enable-gtk-doc \ |
123 | --with-html-dir=%{_gtkdocdir} \ | |
124 | --disable-schemas-install | |
479b2587 | 125 | %{__make} |
b214bb6b | 126 | |
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
f6084035 | 129 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions |
a84d07de | 130 | |
b214bb6b | 131 | %{__make} install \ |
eeabb3ec | 132 | DESTDIR=$RPM_BUILD_ROOT |
b214bb6b | 133 | |
f16457d3 | 134 | rm -rf $RPM_BUILD_ROOT%{_iconsdir}/LowContrastLargePrint |
e6dfa88b | 135 | |
359d4f9e | 136 | %find_lang %{name} --with-gnome --with-omf |
b214bb6b | 137 | |
138 | %clean | |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
141 | %post | |
9d9c32a1 | 142 | %gconf_schema_install epiphany-lockdown.schemas |
143 | %gconf_schema_install epiphany.schemas | |
144 | %scrollkeeper_update_post | |
145 | %update_desktop_database_post | |
c8df5897 | 146 | %update_icon_cache hicolor |
6c81e5d5 | 147 | |
148 | %preun | |
9d9c32a1 | 149 | %gconf_schema_uninstall epiphany-lockdown.schemas |
150 | %gconf_schema_uninstall epiphany.schemas | |
b214bb6b | 151 | |
e6dfa88b | 152 | %postun |
9d9c32a1 | 153 | %scrollkeeper_update_postun |
154 | %update_desktop_database_postun | |
c8df5897 | 155 | %update_icon_cache hicolor |
0c3c17e3 | 156 | |
7bc0643f | 157 | %files -f %{name}.lang |
b214bb6b | 158 | %defattr(644,root,root,755) |
159 | %doc AUTHORS ChangeLog NEWS README | |
a84d07de | 160 | |
d08074dc MB |
161 | %attr(755,root,root) %{_bindir}/epiphany |
162 | %{_datadir}/dbus-1/services/org.gnome.Epiphany.service | |
b214bb6b | 163 | %{_datadir}/%{name} |
d08074dc MB |
164 | %{_desktopdir}/bme.desktop |
165 | %{_desktopdir}/epiphany.desktop | |
3428cfce | 166 | %{_iconsdir}/*/*/apps/*.* |
cabc9554 | 167 | %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas |
168 | %{_sysconfdir}/gconf/schemas/epiphany.schemas | |
f6084035 JR |
169 | %dir %{_libdir}/%{name} |
170 | %dir %{_libdir}/%{name}/%{basever} | |
171 | %dir %{_libdir}/%{name}/%{basever}/extensions | |
d08074dc MB |
172 | %{_libdir}/girepository-1.0/Epiphany-*.typelib |
173 | %{_mandir}/man1/epiphany.1* | |
ce9f0285 | 174 | |
175 | %files devel | |
176 | %defattr(644,root,root,755) | |
d08074dc | 177 | %{_aclocaldir}/epiphany.m4 |
cabc9554 | 178 | %{_includedir}/epiphany |
d08074dc MB |
179 | %{_pkgconfigdir}/epiphany-*.pc |
180 | %{_datadir}/gir-1.0/Epiphany-*.gir | |
c8df5897 | 181 | |
182 | %files apidocs | |
183 | %defattr(644,root,root,755) | |
d08074dc | 184 | %{_gtkdocdir}/epiphany |