]>
Commit | Line | Data |
---|---|---|
55e6ee0f JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with libsoup3 # use libsoup3/gtk-webkit4.1 for HTTP/2 support | |
4 | ||
eeabb3ec MB |
5 | Summary: Epiphany - WebKit-based GNOME web browser |
6 | Summary(es.UTF-8): Epiphany - navigador Web de GNOME basado en WebKit | |
1dda78a4 | 7 | Summary(pl.UTF-8): Epiphany - przeglądarka WWW dla GNOME |
b214bb6b | 8 | Name: epiphany |
3958984b | 9 | Version: 42.4 |
3f5c87f4 | 10 | Release: 2 |
4d1e42da | 11 | License: GPL v3+ |
b214bb6b | 12 | Group: X11/Applications/Networking |
cdbf7d92 | 13 | Source0: https://download.gnome.org/sources/epiphany/42/%{name}-%{version}.tar.xz |
3958984b | 14 | # Source0-md5: 846b96d427571edeabd6da9d5d7fa17c |
4d1e42da | 15 | URL: https://wiki.gnome.org/Apps/Web |
0749ee4a | 16 | BuildRequires: appstream-glib |
4d1e42da | 17 | BuildRequires: cairo-devel >= 1.2 |
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 | |
cdbf7d92 | 22 | BuildRequires: glib2-devel >= 1:2.67.4 |
59270ba1 | 23 | BuildRequires: gmp-devel |
fb636461 | 24 | BuildRequires: gsettings-desktop-schemas-devel |
4d1e42da | 25 | BuildRequires: gtk+3-devel >= 3.24.0 |
55e6ee0f JB |
26 | %{!?with_libsoup3:BuildRequires: gtk-webkit4-devel >= 2.33.2} |
27 | %{?with_libsoup3:BuildRequires: gtk-webkit4.1-devel >= 2.33.2} | |
01f610e6 | 28 | BuildRequires: iso-codes >= 0.53 |
55e6ee0f | 29 | BuildRequires: json-glib-devel >= 1.6 |
5a656a50 | 30 | BuildRequires: libarchive-devel |
59270ba1 | 31 | BuildRequires: libdazzle-devel >= 3.37.1 |
cdbf7d92 | 32 | BuildRequires: libhandy1-devel >= 1.5.0 |
d60581c9 | 33 | BuildRequires: libnotify-devel >= 0.5.1 |
cdbf7d92 | 34 | BuildRequires: libportal-gtk3-devel >= 0.5 |
592b3cdb | 35 | BuildRequires: libsecret-devel >= 0.19.0 |
55e6ee0f JB |
36 | %{!?with_libsoup3:BuildRequires: libsoup-devel >= 2.48.0} |
37 | %{?with_libsoup3:BuildRequires: libsoup3-devel >= 2.99.4} | |
2ee625f0 | 38 | BuildRequires: libxml2-devel >= 1:2.6.28 |
cdbf7d92 | 39 | BuildRequires: meson >= 0.51.0 |
4d1e42da JB |
40 | BuildRequires: nettle-devel >= 3.4 |
41 | BuildRequires: ninja >= 1.5 | |
64cfd84f | 42 | BuildRequires: pkgconfig |
acf50bed | 43 | BuildRequires: rpm >= 4.4.9-56 |
5c860df1 | 44 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
4d1e42da | 45 | BuildRequires: rpmbuild(macros) >= 1.736 |
fb636461 | 46 | BuildRequires: sed >= 4.0 |
59270ba1 | 47 | BuildRequires: sqlite3-devel >= 3.22 |
13ca155e | 48 | BuildRequires: tar >= 1:1.22 |
13ca155e | 49 | BuildRequires: xz |
a72dcd49 | 50 | BuildRequires: yelp-tools |
6c81e5d5 | 51 | Requires(post,postun): desktop-file-utils |
cdbf7d92 | 52 | Requires(post,postun): glib2 >= 1:2.67.4 |
774b6aa7 | 53 | Requires(post,postun): gtk-update-icon-cache |
847c55a3 | 54 | Requires: bubblewrap |
d08074dc | 55 | Requires: ca-certificates |
9c7631b4 | 56 | Requires: dbus >= 1.0.2 |
4d1e42da | 57 | Requires: gcr-ui >= 3.6.0 |
774b6aa7 | 58 | Requires: gdk-pixbuf2 >= 2.36.5 |
cdbf7d92 | 59 | Requires: glib2 >= 1:2.67.4 |
fb636461 | 60 | Requires: gsettings-desktop-schemas |
4d1e42da | 61 | Requires: gtk+3 >= 3.24.0 |
55e6ee0f JB |
62 | %{!?with_libsoup3:Requires: gtk-webkit4 >= 2.33.2} |
63 | %{?with_libsoup3:Requires: gtk-webkit4.1 >= 2.33.2} | |
774b6aa7 | 64 | Requires: hicolor-icon-theme |
4d1e42da | 65 | Requires: iso-codes >= 0.53 |
55e6ee0f | 66 | Requires: json-glib >= 1.6 |
59270ba1 | 67 | Requires: libdazzle >= 3.37.1 |
cdbf7d92 | 68 | Requires: libhandy1 >= 1.5.0 |
4d1e42da | 69 | Requires: libnotify >= 0.5.1 |
cdbf7d92 | 70 | Requires: libportal-gtk3 >= 0.5 |
592b3cdb | 71 | Requires: libsecret >= 0.19.0 |
55e6ee0f JB |
72 | %{!?with_libsoup3:Requires: libsoup >= 2.48.0} |
73 | %{?with_libsoup3:Requires: libsoup3 >= 2.99.4} | |
4d1e42da JB |
74 | Requires: libxml2 >= 1:2.6.28 |
75 | Requires: nettle >= 3.4 | |
59270ba1 | 76 | Requires: sqlite3 >= 3.22 |
847c55a3 | 77 | Requires: xdg-dbus-proxy |
a84d07de | 78 | Provides: wwwbrowser |
128e3bfa MB |
79 | Obsoletes: epiphany-apidocs < 3.8.0-2 |
80 | Obsoletes: epiphany-devel < 3.8.0-2 | |
3972b1b1 | 81 | Obsoletes: epiphany-extensions < 3.8.0 |
b214bb6b | 82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
83 | ||
b214bb6b | 84 | %description |
4d1e42da JB |
85 | GNOME Web (codename: Epiphany) is a GNOME web browser based on the |
86 | WebKit rendering engine. | |
b214bb6b | 87 | |
bbabfc8c | 88 | %description -l es.UTF-8 |
eeabb3ec | 89 | Navigador Web de GNOME basado en WebKit. |
3adf4a38 | 90 | |
bbabfc8c | 91 | %description -l pl.UTF-8 |
4d1e42da JB |
92 | GNOME Web (nazwa kodowa: Epiphany) jest przeglądarką WWW dla GNOME |
93 | opartą na silniku renderującym WebKit. | |
b214bb6b | 94 | |
95 | %prep | |
c27c16d4 | 96 | %setup -q |
b214bb6b | 97 | |
98 | %build | |
55e6ee0f JB |
99 | %meson build \ |
100 | %{?with_libsoup3:-Dsoup2=disabled} | |
3972b1b1 | 101 | |
32288aac | 102 | %ninja_build -C build |
b214bb6b | 103 | |
104 | %install | |
105 | rm -rf $RPM_BUILD_ROOT | |
a84d07de | 106 | |
32288aac | 107 | %ninja_install -C build |
b214bb6b | 108 | |
4d1e42da | 109 | %find_lang %{name} --with-gnome |
b214bb6b | 110 | |
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %post | |
9d9c32a1 | 115 | %update_desktop_database_post |
fb636461 | 116 | %glib_compile_schemas |
774b6aa7 | 117 | %update_icon_cache hicolor |
b214bb6b | 118 | |
e6dfa88b | 119 | %postun |
9d9c32a1 | 120 | %update_desktop_database_postun |
fb636461 | 121 | %glib_compile_schemas |
774b6aa7 | 122 | %update_icon_cache hicolor |
0c3c17e3 | 123 | |
7bc0643f | 124 | %files -f %{name}.lang |
b214bb6b | 125 | %defattr(644,root,root,755) |
4d1e42da | 126 | %doc NEWS README.md TODO |
d08074dc | 127 | %attr(755,root,root) %{_bindir}/epiphany |
774b6aa7 | 128 | %dir %{_libdir}/epiphany |
774b6aa7 MB |
129 | %attr(755,root,root) %{_libdir}/epiphany/libephymain.so |
130 | %attr(755,root,root) %{_libdir}/epiphany/libephymisc.so | |
bd17f102 | 131 | %attr(755,root,root) %{_libdir}/epiphany/libephysync.so |
4d1e42da JB |
132 | %dir %{_libdir}/epiphany/web-process-extensions |
133 | %attr(755,root,root) %{_libdir}/epiphany/web-process-extensions/libephywebprocessextension.so | |
134 | %attr(755,root,root) %{_libexecdir}/epiphany-search-provider | |
135 | %if "%{_libexecdir}" != "%{_libdir}" | |
136 | %dir %{_libexecdir}/epiphany | |
137 | %endif | |
138 | %attr(755,root,root) %{_libexecdir}/epiphany/ephy-profile-migrator | |
bd17f102 | 139 | %{_datadir}/dbus-1/services/org.gnome.Epiphany.SearchProvider.service |
4d1e42da | 140 | %{_datadir}/epiphany |
fb636461 MB |
141 | %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml |
142 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml | |
4d1e42da JB |
143 | %{_datadir}/gnome-shell/search-providers/org.gnome.Epiphany.SearchProvider.ini |
144 | %{_datadir}/metainfo/org.gnome.Epiphany.appdata.xml | |
774b6aa7 | 145 | %{_desktopdir}/org.gnome.Epiphany.desktop |
4d1e42da JB |
146 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Epiphany.svg |
147 | %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Epiphany-symbolic.svg | |
d08074dc | 148 | %{_mandir}/man1/epiphany.1* |