]>
Commit | Line | Data |
---|---|---|
1 | %define basever 3.22 | |
2 | Summary: Epiphany - WebKit-based GNOME web browser | |
3 | Summary(es.UTF-8): Epiphany - navigador Web de GNOME basado en WebKit | |
4 | Summary(pl.UTF-8): Epiphany - przeglądarka WWW dla GNOME | |
5 | Name: epiphany | |
6 | Version: 3.22.4 | |
7 | Release: 1 | |
8 | License: GPL v2+ | |
9 | Group: X11/Applications/Networking | |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/3.22/%{name}-%{version}.tar.xz | |
11 | # Source0-md5: e2ca9b87eb7550ad31fff6ff17f009e5 | |
12 | URL: http://www.gnome.org/projects/epiphany/ | |
13 | BuildRequires: appstream-glib-devel | |
14 | BuildRequires: autoconf >= 2.59 | |
15 | BuildRequires: automake >= 1:1.11 | |
16 | BuildRequires: avahi-devel >= 0.6.22 | |
17 | BuildRequires: avahi-gobject-devel >= 0.6.22 | |
18 | BuildRequires: docbook-dtd412-xml | |
19 | BuildRequires: gcr-ui-devel >= 3.6.0 | |
20 | BuildRequires: gettext-tools | |
21 | BuildRequires: glib2-devel >= 1:2.44.0 | |
22 | BuildRequires: gnome-common >= 2.20.0 | |
23 | BuildRequires: gnome-desktop-devel >= 3.6.0 | |
24 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
25 | BuildRequires: gsettings-desktop-schemas-devel | |
26 | BuildRequires: gtk+3-devel >= 3.20.0 | |
27 | BuildRequires: gtk-webkit4-devel >= 2.14.2 | |
28 | BuildRequires: intltool >= 0.50.0 | |
29 | BuildRequires: iso-codes >= 0.53 | |
30 | BuildRequires: libnotify-devel >= 0.5.1 | |
31 | BuildRequires: libsecret-devel >= 0.14 | |
32 | BuildRequires: libsoup-devel >= 2.48.0 | |
33 | BuildRequires: libtool >= 2:2.2 | |
34 | BuildRequires: libwnck-devel | |
35 | BuildRequires: libxml2-devel >= 1:2.6.28 | |
36 | BuildRequires: libxslt-devel >= 1.1.20 | |
37 | BuildRequires: nss-devel | |
38 | BuildRequires: pkgconfig | |
39 | BuildRequires: rpm >= 4.4.9-56 | |
40 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
41 | BuildRequires: rpmbuild(macros) >= 1.601 | |
42 | BuildRequires: sed >= 4.0 | |
43 | BuildRequires: sqlite3-devel | |
44 | BuildRequires: tar >= 1:1.22 | |
45 | BuildRequires: xorg-lib-libICE-devel | |
46 | BuildRequires: xorg-lib-libSM-devel | |
47 | BuildRequires: xorg-lib-libX11-devel | |
48 | BuildRequires: xz | |
49 | BuildRequires: yelp-tools | |
50 | Requires(post,postun): desktop-file-utils | |
51 | Requires(post,postun): glib2 >= 1:2.26.0 | |
52 | Requires: ca-certificates | |
53 | Requires: dbus >= 1.0.2 | |
54 | Requires: glib2 >= 1:2.44.0 | |
55 | Requires: gnome-icon-theme >= 3.4.0 | |
56 | Requires: gsettings-desktop-schemas | |
57 | Requires: gtk+3 >= 3.20.0 | |
58 | Requires: gtk-webkit4 >= 2.14.2 | |
59 | Requires: libsoup >= 2.48.0 | |
60 | Provides: wwwbrowser | |
61 | Obsoletes: epiphany-apidocs < 3.8.0-2 | |
62 | Obsoletes: epiphany-devel < 3.8.0-2 | |
63 | Obsoletes: epiphany-extensions < 3.8.0 | |
64 | # sr@Latn vs. sr@latin | |
65 | Conflicts: glibc-misc < 6:2.7 | |
66 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
67 | ||
68 | %description | |
69 | GNOME browser based on WebKit. | |
70 | ||
71 | %description -l es.UTF-8 | |
72 | Navigador Web de GNOME basado en WebKit. | |
73 | ||
74 | %description -l pl.UTF-8 | |
75 | Epiphany jest przeglądarką WWW opartą na silniku WebKit. | |
76 | ||
77 | %prep | |
78 | %setup -q | |
79 | ||
80 | %build | |
81 | %{__gnome_doc_prepare} | |
82 | %{__glib_gettextize} | |
83 | %{__intltoolize} | |
84 | %{__libtoolize} | |
85 | %{__aclocal} -I m4 | |
86 | %{__autoheader} | |
87 | %{__automake} | |
88 | %{__autoconf} | |
89 | %configure \ | |
90 | --disable-silent-rules \ | |
91 | --disable-schemas-compile \ | |
92 | --with-distributor-name="PLD Linux" | |
93 | ||
94 | %{__make} | |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %{__make} install \ | |
100 | DESTDIR=$RPM_BUILD_ROOT | |
101 | ||
102 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/web-extensions/*.la | |
103 | ||
104 | %find_lang %{name} --with-gnome --with-omf | |
105 | ||
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
109 | %post | |
110 | %update_desktop_database_post | |
111 | %glib_compile_schemas | |
112 | ||
113 | %postun | |
114 | %update_desktop_database_postun | |
115 | %glib_compile_schemas | |
116 | ||
117 | %files -f %{name}.lang | |
118 | %defattr(644,root,root,755) | |
119 | %doc AUTHORS ChangeLog NEWS README | |
120 | %attr(755,root,root) %{_bindir}/epiphany | |
121 | %attr(755,root,root) %{_bindir}/ephy-profile-migrator | |
122 | %{_datadir}/appdata/epiphany.appdata.xml | |
123 | %{_datadir}/dbus-1/services/org.gnome.Epiphany.service | |
124 | %{_datadir}/%{name} | |
125 | %{_datadir}/GConf/gsettings/epiphany.convert | |
126 | %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml | |
127 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml | |
128 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.host.gschema.xml | |
129 | %{_datadir}/gnome-shell/search-providers/epiphany-search-provider.ini | |
130 | %{_desktopdir}/epiphany.desktop | |
131 | %attr(755,root,root) %{_libdir}/epiphany-search-provider | |
132 | %dir %{_libdir}/%{name} | |
133 | %dir %{_libdir}/%{name}/%{basever} | |
134 | %dir %{_libdir}/%{name}/%{basever}/web-extensions | |
135 | %attr(755,root,root) %{_libdir}/%{name}/%{basever}/web-extensions/libephywebextension.so | |
136 | %{_mandir}/man1/epiphany.1* |