]>
Commit | Line | Data |
---|---|---|
3a5cc941 | 1 | %define basever 3.4 |
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 |
e802399c MB |
6 | Version: 3.4.1 |
7 | Release: 1 | |
16d5fde4 | 8 | License: GPL v2+ |
b214bb6b | 9 | Group: X11/Applications/Networking |
d60581c9 | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/3.4/%{name}-%{version}.tar.xz |
e802399c | 11 | # Source0-md5: 7c43e43bdeb1739388c5128b56493892 |
3adf4a38 | 12 | URL: http://www.gnome.org/projects/epiphany/ |
fd3d9ecb | 13 | BuildRequires: autoconf >= 2.59 |
9c7631b4 | 14 | BuildRequires: automake >= 1:1.9 |
fb636461 | 15 | BuildRequires: avahi-devel >= 0.6.22 |
eeabb3ec | 16 | BuildRequires: avahi-gobject-devel >= 0.6.22 |
1e6eea56 | 17 | BuildRequires: docbook-dtd412-xml |
2f518579 | 18 | BuildRequires: gettext-devel |
d60581c9 | 19 | BuildRequires: glib2-devel >= 1:2.32.0 |
b3cca493 | 20 | BuildRequires: gnome-common >= 2.20.0 |
b3cca493 | 21 | BuildRequires: gnome-doc-utils >= 0.12.0 |
fb636461 MB |
22 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
23 | BuildRequires: gsettings-desktop-schemas-devel | |
d60581c9 | 24 | BuildRequires: gtk+3-devel >= 3.4.0 |
9c7631b4 | 25 | BuildRequires: gtk-doc >= 1.8 |
d60581c9 | 26 | BuildRequires: gtk-webkit3-devel >= 1.8.0 |
2f518579 | 27 | BuildRequires: intltool >= 0.40.0 |
01f610e6 | 28 | BuildRequires: iso-codes >= 0.53 |
d08074dc | 29 | BuildRequires: libgnome-keyring-devel >= 2.28.0 |
d60581c9 | 30 | BuildRequires: libnotify-devel >= 0.5.1 |
e802399c | 31 | BuildRequires: libsoup-gnome-devel >= 2.38.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 | |
d60581c9 | 41 | BuildRequires: sqlite3-devel |
13ca155e | 42 | BuildRequires: tar >= 1:1.22 |
fb636461 | 43 | BuildRequires: xorg-lib-libICE-devel |
d08074dc | 44 | BuildRequires: xorg-lib-libSM-devel |
fb636461 | 45 | BuildRequires: xorg-lib-libX11-devel |
13ca155e | 46 | BuildRequires: xz |
6c81e5d5 | 47 | Requires(post,postun): desktop-file-utils |
fb636461 | 48 | Requires(post,postun): glib2 >= 1:2.26.0 |
e6dfa88b | 49 | Requires(post,postun): scrollkeeper |
d08074dc | 50 | Requires: ca-certificates |
9c7631b4 | 51 | Requires: dbus >= 1.0.2 |
e802399c | 52 | Requires: gnome-icon-theme >= 3.4.0 |
fb636461 | 53 | Requires: gsettings-desktop-schemas |
d60581c9 | 54 | Requires: gtk-webkit3 >= 1.8.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 |
be24775f | 67 | Epiphany jest przeglądarką WWW opartą na silniku 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 |
d60581c9 MB |
75 | Requires: gtk+3-devel >= 3.4.0 |
76 | Requires: gtk-webkit3-devel >= 1.8.0 | |
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 |
b214bb6b | 102 | |
103 | %build | |
c8df5897 | 104 | %{__gnome_doc_prepare} |
cabc9554 | 105 | %{__gnome_doc_common} |
9d9c32a1 | 106 | %{__glib_gettextize} |
107 | %{__intltoolize} | |
b214bb6b | 108 | %{__libtoolize} |
cabc9554 | 109 | %{__aclocal} -I m4 |
b214bb6b | 110 | %{__autoheader} |
111 | %{__automake} | |
112 | %{__autoconf} | |
b214bb6b | 113 | %configure \ |
d08074dc | 114 | --disable-silent-rules \ |
fb636461 | 115 | --disable-schemas-compile \ |
eeabb3ec | 116 | --with-distributor-name="PLD Linux" \ |
eeabb3ec | 117 | --enable-gtk-doc \ |
fb636461 | 118 | --with-html-dir=%{_gtkdocdir} |
479b2587 | 119 | %{__make} |
b214bb6b | 120 | |
121 | %install | |
122 | rm -rf $RPM_BUILD_ROOT | |
f6084035 | 123 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions |
a84d07de | 124 | |
b214bb6b | 125 | %{__make} install \ |
eeabb3ec | 126 | DESTDIR=$RPM_BUILD_ROOT |
b214bb6b | 127 | |
359d4f9e | 128 | %find_lang %{name} --with-gnome --with-omf |
b214bb6b | 129 | |
130 | %clean | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | ||
133 | %post | |
9d9c32a1 | 134 | %scrollkeeper_update_post |
135 | %update_desktop_database_post | |
fb636461 | 136 | %glib_compile_schemas |
b214bb6b | 137 | |
e6dfa88b | 138 | %postun |
9d9c32a1 | 139 | %scrollkeeper_update_postun |
140 | %update_desktop_database_postun | |
fb636461 | 141 | %glib_compile_schemas |
0c3c17e3 | 142 | |
7bc0643f | 143 | %files -f %{name}.lang |
b214bb6b | 144 | %defattr(644,root,root,755) |
145 | %doc AUTHORS ChangeLog NEWS README | |
d08074dc | 146 | %attr(755,root,root) %{_bindir}/epiphany |
fb636461 | 147 | %attr(755,root,root) %{_bindir}/ephy-profile-migrator |
d08074dc | 148 | %{_datadir}/dbus-1/services/org.gnome.Epiphany.service |
b214bb6b | 149 | %{_datadir}/%{name} |
fb636461 MB |
150 | %{_datadir}/GConf/gsettings/epiphany.convert |
151 | %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml | |
152 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml | |
d08074dc | 153 | %{_desktopdir}/epiphany.desktop |
f6084035 JR |
154 | %dir %{_libdir}/%{name} |
155 | %dir %{_libdir}/%{name}/%{basever} | |
156 | %dir %{_libdir}/%{name}/%{basever}/extensions | |
d08074dc MB |
157 | %{_libdir}/girepository-1.0/Epiphany-*.typelib |
158 | %{_mandir}/man1/epiphany.1* | |
ce9f0285 | 159 | |
160 | %files devel | |
161 | %defattr(644,root,root,755) | |
d08074dc | 162 | %{_aclocaldir}/epiphany.m4 |
cabc9554 | 163 | %{_includedir}/epiphany |
d08074dc MB |
164 | %{_pkgconfigdir}/epiphany-*.pc |
165 | %{_datadir}/gir-1.0/Epiphany-*.gir | |
c8df5897 | 166 | |
167 | %files apidocs | |
168 | %defattr(644,root,root,755) | |
d08074dc | 169 | %{_gtkdocdir}/epiphany |