]>
Commit | Line | Data |
---|---|---|
774b6aa7 | 1 | %define basever 3.24 |
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 |
774b6aa7 | 6 | Version: 3.24.1 |
2982d94f | 7 | Release: 1 |
16d5fde4 | 8 | License: GPL v2+ |
b214bb6b | 9 | Group: X11/Applications/Networking |
774b6aa7 MB |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/3.24/%{name}-%{version}.tar.xz |
11 | # Source0-md5: d5471f6f1aaa0818d9bcd9b2c902c458 | |
3adf4a38 | 12 | URL: http://www.gnome.org/projects/epiphany/ |
a0ec2b8b | 13 | BuildRequires: appstream-glib-devel |
fd3d9ecb | 14 | BuildRequires: autoconf >= 2.59 |
a72dcd49 | 15 | BuildRequires: automake >= 1:1.11 |
fb636461 | 16 | BuildRequires: avahi-devel >= 0.6.22 |
eeabb3ec | 17 | BuildRequires: avahi-gobject-devel >= 0.6.22 |
1e6eea56 | 18 | BuildRequires: docbook-dtd412-xml |
b79ed9d5 | 19 | BuildRequires: gcr-ui-devel >= 3.6.0 |
774b6aa7 MB |
20 | BuildRequires: gdk-pixbuf2-devel >= 2.36.5 |
21 | BuildRequires: gettext-tools >= 0.19.8 | |
22 | BuildRequires: glib2-devel >= 1:2.46.0 | |
b3cca493 | 23 | BuildRequires: gnome-common >= 2.20.0 |
f564371b | 24 | BuildRequires: gnome-desktop-devel >= 3.6.0 |
b3cca493 | 25 | BuildRequires: gnome-doc-utils >= 0.12.0 |
fb636461 | 26 | BuildRequires: gsettings-desktop-schemas-devel |
774b6aa7 MB |
27 | BuildRequires: gtk+3-devel >= 3.22.0 |
28 | BuildRequires: gtk-webkit4-devel >= 2.16.0 | |
01f610e6 | 29 | BuildRequires: iso-codes >= 0.53 |
774b6aa7 MB |
30 | BuildRequires: json-glib-devel >= 1.2.0 |
31 | BuildRequires: libicu-devel | |
d60581c9 | 32 | BuildRequires: libnotify-devel >= 0.5.1 |
128e3bfa | 33 | BuildRequires: libsecret-devel >= 0.14 |
a72dcd49 | 34 | BuildRequires: libsoup-devel >= 2.48.0 |
d08074dc | 35 | BuildRequires: libtool >= 2:2.2 |
128e3bfa | 36 | BuildRequires: libwnck-devel |
2ee625f0 | 37 | BuildRequires: libxml2-devel >= 1:2.6.28 |
9c7631b4 | 38 | BuildRequires: libxslt-devel >= 1.1.20 |
eeabb3ec | 39 | BuildRequires: nss-devel |
64cfd84f | 40 | BuildRequires: pkgconfig |
acf50bed | 41 | BuildRequires: rpm >= 4.4.9-56 |
5c860df1 | 42 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
fb636461 MB |
43 | BuildRequires: rpmbuild(macros) >= 1.601 |
44 | BuildRequires: sed >= 4.0 | |
d60581c9 | 45 | BuildRequires: sqlite3-devel |
13ca155e | 46 | BuildRequires: tar >= 1:1.22 |
fb636461 | 47 | BuildRequires: xorg-lib-libICE-devel |
d08074dc | 48 | BuildRequires: xorg-lib-libSM-devel |
fb636461 | 49 | BuildRequires: xorg-lib-libX11-devel |
13ca155e | 50 | BuildRequires: xz |
a72dcd49 | 51 | BuildRequires: yelp-tools |
6c81e5d5 | 52 | Requires(post,postun): desktop-file-utils |
fb636461 | 53 | Requires(post,postun): glib2 >= 1:2.26.0 |
774b6aa7 | 54 | Requires(post,postun): gtk-update-icon-cache |
d08074dc | 55 | Requires: ca-certificates |
9c7631b4 | 56 | Requires: dbus >= 1.0.2 |
774b6aa7 MB |
57 | Requires: gdk-pixbuf2 >= 2.36.5 |
58 | Requires: glib2 >= 1:2.46.0 | |
e802399c | 59 | Requires: gnome-icon-theme >= 3.4.0 |
fb636461 | 60 | Requires: gsettings-desktop-schemas |
774b6aa7 MB |
61 | Requires: gtk+3 >= 3.22.0 |
62 | Requires: gtk-webkit4 >= 2.16.0 | |
63 | Requires: hicolor-icon-theme | |
64 | Requires: json-glib >= 1.2.0 | |
a72dcd49 | 65 | Requires: libsoup >= 2.48.0 |
a84d07de | 66 | Provides: wwwbrowser |
128e3bfa MB |
67 | Obsoletes: epiphany-apidocs < 3.8.0-2 |
68 | Obsoletes: epiphany-devel < 3.8.0-2 | |
3972b1b1 | 69 | Obsoletes: epiphany-extensions < 3.8.0 |
84d82d33 | 70 | # sr@Latn vs. sr@latin |
71 | Conflicts: glibc-misc < 6:2.7 | |
b214bb6b | 72 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
73 | ||
b214bb6b | 74 | %description |
eeabb3ec | 75 | GNOME browser based on WebKit. |
b214bb6b | 76 | |
bbabfc8c | 77 | %description -l es.UTF-8 |
eeabb3ec | 78 | Navigador Web de GNOME basado en WebKit. |
3adf4a38 | 79 | |
bbabfc8c | 80 | %description -l pl.UTF-8 |
be24775f | 81 | Epiphany jest przeglądarką WWW opartą na silniku WebKit. |
b214bb6b | 82 | |
83 | %prep | |
c27c16d4 | 84 | %setup -q |
b214bb6b | 85 | |
86 | %build | |
b214bb6b | 87 | %{__libtoolize} |
cabc9554 | 88 | %{__aclocal} -I m4 |
b214bb6b | 89 | %{__autoheader} |
90 | %{__automake} | |
91 | %{__autoconf} | |
b214bb6b | 92 | %configure \ |
d08074dc | 93 | --disable-silent-rules \ |
fb636461 | 94 | --disable-schemas-compile \ |
3972b1b1 MB |
95 | --with-distributor-name="PLD Linux" |
96 | ||
479b2587 | 97 | %{__make} |
b214bb6b | 98 | |
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
a84d07de | 101 | |
b214bb6b | 102 | %{__make} install \ |
eeabb3ec | 103 | DESTDIR=$RPM_BUILD_ROOT |
b214bb6b | 104 | |
774b6aa7 | 105 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{,web-extensions/}*.la |
128e3bfa | 106 | |
359d4f9e | 107 | %find_lang %{name} --with-gnome --with-omf |
b214bb6b | 108 | |
109 | %clean | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %post | |
9d9c32a1 | 113 | %update_desktop_database_post |
fb636461 | 114 | %glib_compile_schemas |
774b6aa7 | 115 | %update_icon_cache hicolor |
b214bb6b | 116 | |
e6dfa88b | 117 | %postun |
9d9c32a1 | 118 | %update_desktop_database_postun |
fb636461 | 119 | %glib_compile_schemas |
774b6aa7 | 120 | %update_icon_cache hicolor |
0c3c17e3 | 121 | |
7bc0643f | 122 | %files -f %{name}.lang |
b214bb6b | 123 | %defattr(644,root,root,755) |
124 | %doc AUTHORS ChangeLog NEWS README | |
d08074dc | 125 | %attr(755,root,root) %{_bindir}/epiphany |
774b6aa7 MB |
126 | %dir %{_libdir}/epiphany |
127 | %attr(755,root,root) %{_libdir}/epiphany/ephy-profile-migrator | |
128 | %attr(755,root,root) %{_libdir}/epiphany/libephymain.so | |
129 | %attr(755,root,root) %{_libdir}/epiphany/libephymisc.so | |
130 | %dir %{_libdir}/epiphany/web-extensions | |
131 | %attr(755,root,root) %{_libdir}/epiphany/web-extensions/libephywebextension.so | |
132 | %{_datadir}/appdata/org.gnome.Epiphany.appdata.xml | |
133 | %{_datadir}/dbus-1/services/org.gnome.EpiphanySearchProvider.service | |
b214bb6b | 134 | %{_datadir}/%{name} |
fb636461 MB |
135 | %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml |
136 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml | |
b43945cc | 137 | %{_datadir}/gnome-shell/search-providers/epiphany-search-provider.ini |
774b6aa7 MB |
138 | %{_desktopdir}/org.gnome.Epiphany.desktop |
139 | %{_iconsdir}/hicolor/*/*/org.gnome.Epiphany*.png | |
140 | %{_iconsdir}/hicolor/symbolic/*/org.gnome.Epiphany*.svg | |
2982d94f | 141 | %attr(755,root,root) %{_libdir}/epiphany-search-provider |
d08074dc | 142 | %{_mandir}/man1/epiphany.1* |