]>
Commit | Line | Data |
---|---|---|
5fe2dbbf | 1 | %define basever 3.2 |
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 |
13ca155e | 6 | Version: 3.2.0 |
5fe2dbbf | 7 | Release: 2 |
64cfd84f | 8 | License: GPL v2 |
b214bb6b | 9 | Group: X11/Applications/Networking |
13ca155e AF |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/3.2/%{name}-%{version}.tar.xz |
11 | # Source0-md5: b17e955680cdccd06bd2ee741cf671ec | |
b3cca493 | 12 | Patch0: %{name}-pld-homepage.patch |
3adf4a38 | 13 | URL: http://www.gnome.org/projects/epiphany/ |
fd3d9ecb | 14 | BuildRequires: autoconf >= 2.59 |
9c7631b4 | 15 | BuildRequires: automake >= 1:1.9 |
fb636461 | 16 | BuildRequires: avahi-devel >= 0.6.22 |
eeabb3ec | 17 | BuildRequires: avahi-gobject-devel >= 0.6.22 |
1e6eea56 | 18 | BuildRequires: docbook-dtd412-xml |
2f518579 | 19 | BuildRequires: gettext-devel |
13ca155e | 20 | BuildRequires: glib2-devel >= 1:2.30.0 |
b3cca493 | 21 | BuildRequires: gnome-common >= 2.20.0 |
b3cca493 | 22 | BuildRequires: gnome-doc-utils >= 0.12.0 |
fb636461 MB |
23 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
24 | BuildRequires: gsettings-desktop-schemas-devel | |
25 | BuildRequires: gtk+3-devel >= 3.0.2 | |
9c7631b4 | 26 | BuildRequires: gtk-doc >= 1.8 |
13ca155e | 27 | BuildRequires: gtk-webkit3-devel >= 1.6.1 |
2f518579 | 28 | BuildRequires: intltool >= 0.40.0 |
01f610e6 | 29 | BuildRequires: iso-codes >= 0.53 |
d08074dc | 30 | BuildRequires: libgnome-keyring-devel >= 2.28.0 |
fb636461 | 31 | BuildRequires: libsoup-gnome-devel >= 2.34.0 |
d08074dc | 32 | BuildRequires: libtool >= 2:2.2 |
2ee625f0 | 33 | BuildRequires: libxml2-devel >= 1:2.6.28 |
9c7631b4 | 34 | BuildRequires: libxslt-devel >= 1.1.20 |
eeabb3ec | 35 | BuildRequires: nss-devel |
64cfd84f | 36 | BuildRequires: pkgconfig |
acf50bed | 37 | BuildRequires: rpm >= 4.4.9-56 |
5c860df1 | 38 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
fb636461 MB |
39 | BuildRequires: rpmbuild(macros) >= 1.601 |
40 | BuildRequires: sed >= 4.0 | |
41 | BuildRequires: seed-devel >= 2.28.0 | |
13ca155e AF |
42 | BuildRequires: libnotify-devel >= 0.5.1 |
43 | BuildRequires: tar >= 1:1.22 | |
fb636461 | 44 | BuildRequires: xorg-lib-libICE-devel |
d08074dc | 45 | BuildRequires: xorg-lib-libSM-devel |
fb636461 | 46 | BuildRequires: xorg-lib-libX11-devel |
13ca155e | 47 | BuildRequires: xz |
6c81e5d5 | 48 | Requires(post,postun): desktop-file-utils |
fb636461 | 49 | Requires(post,postun): glib2 >= 1:2.26.0 |
55d617f7 | 50 | Requires(post,postun): gtk-update-icon-cache |
e6dfa88b | 51 | Requires(post,postun): scrollkeeper |
d08074dc | 52 | Requires: ca-certificates |
9c7631b4 | 53 | Requires: dbus >= 1.0.2 |
2f518579 | 54 | Requires: gnome-icon-theme >= 2.26.0 |
fb636461 | 55 | Requires: gsettings-desktop-schemas |
7b5bedd6 | 56 | Requires: gtk-webkit3 >= 1.4.0 |
fb636461 | 57 | Requires: hicolor-icon-theme |
a84d07de | 58 | Provides: wwwbrowser |
84d82d33 | 59 | # sr@Latn vs. sr@latin |
60 | Conflicts: glibc-misc < 6:2.7 | |
b214bb6b | 61 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
62 | ||
b214bb6b | 63 | %description |
eeabb3ec | 64 | GNOME browser based on WebKit. |
b214bb6b | 65 | |
bbabfc8c | 66 | %description -l es.UTF-8 |
eeabb3ec | 67 | Navigador Web de GNOME basado en WebKit. |
3adf4a38 | 68 | |
bbabfc8c | 69 | %description -l pl.UTF-8 |
be24775f | 70 | Epiphany jest przeglądarką WWW opartą na silniku WebKit. |
b214bb6b | 71 | |
ce9f0285 | 72 | %package devel |
73 | Summary: Epiphany header files | |
1dda78a4 ER |
74 | Summary(es.UTF-8): Ficheros de cabecera de Epiphany |
75 | Summary(pl.UTF-8): Pliki nagłówkowe Epiphany | |
ce9f0285 | 76 | Group: X11/Applications/Networking |
cc8a9ea0 | 77 | # doesn't require base |
fb636461 | 78 | Requires: gtk+3-devel >= 3.0.2 |
7b5bedd6 | 79 | Requires: gtk-webkit3-devel >= 1.4.0 |
2f518579 | 80 | Requires: libxml2-devel >= 1:2.6.28 |
ce9f0285 | 81 | |
82 | %description devel | |
83 | Epiphany header files for plugin development. | |
84 | ||
bbabfc8c | 85 | %description devel -l es.UTF-8 |
3adf4a38 | 86 | Ficheros de cabecera de Epiphany para desarrollar plug-ins. |
87 | ||
bbabfc8c JR |
88 | %description devel -l pl.UTF-8 |
89 | Pliki nagłówkowe Epiphany do tworzenia wtyczek. | |
ce9f0285 | 90 | |
c8df5897 | 91 | %package apidocs |
92 | Summary: Epiphany API documentation | |
1dda78a4 | 93 | Summary(pl.UTF-8): Dokumentacja API Epiphany |
c8df5897 | 94 | Group: Documentation |
95 | Requires: gtk-doc-common | |
96 | ||
97 | %description apidocs | |
98 | Epiphany API documentation. | |
99 | ||
bbabfc8c | 100 | %description apidocs -l pl.UTF-8 |
c8df5897 | 101 | Dokumentacja API Epiphany. |
102 | ||
b214bb6b | 103 | %prep |
c27c16d4 | 104 | %setup -q |
b3cca493 | 105 | %patch0 -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 \ |
d08074dc | 118 | --disable-silent-rules \ |
fb636461 | 119 | --disable-schemas-compile \ |
eeabb3ec | 120 | --with-distributor-name="PLD Linux" \ |
d08074dc | 121 | --with-ca-file=/etc/certs/ca-certificates.crt \ |
3428cfce | 122 | --enable-network-manager \ |
eeabb3ec | 123 | --enable-gtk-doc \ |
fb636461 | 124 | --with-html-dir=%{_gtkdocdir} |
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 | |
359d4f9e | 134 | %find_lang %{name} --with-gnome --with-omf |
b214bb6b | 135 | |
136 | %clean | |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %post | |
9d9c32a1 | 140 | %scrollkeeper_update_post |
141 | %update_desktop_database_post | |
c8df5897 | 142 | %update_icon_cache hicolor |
fb636461 | 143 | %glib_compile_schemas |
b214bb6b | 144 | |
e6dfa88b | 145 | %postun |
9d9c32a1 | 146 | %scrollkeeper_update_postun |
147 | %update_desktop_database_postun | |
c8df5897 | 148 | %update_icon_cache hicolor |
fb636461 | 149 | %glib_compile_schemas |
0c3c17e3 | 150 | |
7bc0643f | 151 | %files -f %{name}.lang |
b214bb6b | 152 | %defattr(644,root,root,755) |
153 | %doc AUTHORS ChangeLog NEWS README | |
d08074dc | 154 | %attr(755,root,root) %{_bindir}/epiphany |
fb636461 | 155 | %attr(755,root,root) %{_bindir}/ephy-profile-migrator |
d08074dc | 156 | %{_datadir}/dbus-1/services/org.gnome.Epiphany.service |
b214bb6b | 157 | %{_datadir}/%{name} |
fb636461 MB |
158 | %{_datadir}/GConf/gsettings/epiphany.convert |
159 | %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml | |
160 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml | |
d08074dc MB |
161 | %{_desktopdir}/bme.desktop |
162 | %{_desktopdir}/epiphany.desktop | |
3428cfce | 163 | %{_iconsdir}/*/*/apps/*.* |
f6084035 JR |
164 | %dir %{_libdir}/%{name} |
165 | %dir %{_libdir}/%{name}/%{basever} | |
166 | %dir %{_libdir}/%{name}/%{basever}/extensions | |
d08074dc | 167 | %{_libdir}/girepository-1.0/Epiphany-*.typelib |
fb636461 | 168 | %{_libdir}/girepository-1.0/EphyEgg-*.typelib |
d08074dc | 169 | %{_mandir}/man1/epiphany.1* |
ce9f0285 | 170 | |
171 | %files devel | |
172 | %defattr(644,root,root,755) | |
d08074dc | 173 | %{_aclocaldir}/epiphany.m4 |
cabc9554 | 174 | %{_includedir}/epiphany |
d08074dc MB |
175 | %{_pkgconfigdir}/epiphany-*.pc |
176 | %{_datadir}/gir-1.0/Epiphany-*.gir | |
fb636461 | 177 | %{_datadir}/gir-1.0/EphyEgg-*.gir |
c8df5897 | 178 | |
179 | %files apidocs | |
180 | %defattr(644,root,root,755) | |
d08074dc | 181 | %{_gtkdocdir}/epiphany |