]>
Commit | Line | Data |
---|---|---|
67e30d1f | 1 | %define basever 3.6 |
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 |
a8ca8ace MB |
6 | Version: 3.6.1 |
7 | Release: 1 | |
16d5fde4 | 8 | License: GPL v2+ |
b214bb6b | 9 | Group: X11/Applications/Networking |
f564371b | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/3.6/%{name}-%{version}.tar.xz |
a8ca8ace | 11 | # Source0-md5: 8360bd24a673223387c69297e8a710b8 |
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 |
f564371b | 18 | BuildRequires: gcr-devel >= 3.6.0 |
2f518579 | 19 | BuildRequires: gettext-devel |
d60581c9 | 20 | BuildRequires: glib2-devel >= 1:2.32.0 |
b3cca493 | 21 | BuildRequires: gnome-common >= 2.20.0 |
f564371b | 22 | BuildRequires: gnome-desktop-devel >= 3.6.0 |
b3cca493 | 23 | BuildRequires: gnome-doc-utils >= 0.12.0 |
fb636461 MB |
24 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
25 | BuildRequires: gsettings-desktop-schemas-devel | |
f564371b | 26 | BuildRequires: gtk+3-devel >= 3.6.0 |
9c7631b4 | 27 | BuildRequires: gtk-doc >= 1.8 |
f564371b MB |
28 | BuildRequires: gtk-webkit3-devel >= 1.10.0 |
29 | BuildRequires: intltool >= 0.50.0 | |
01f610e6 | 30 | BuildRequires: iso-codes >= 0.53 |
d08074dc | 31 | BuildRequires: libgnome-keyring-devel >= 2.28.0 |
d60581c9 | 32 | BuildRequires: libnotify-devel >= 0.5.1 |
f564371b | 33 | BuildRequires: libsoup-gnome-devel >= 2.40.0 |
d08074dc | 34 | BuildRequires: libtool >= 2:2.2 |
2ee625f0 | 35 | BuildRequires: libxml2-devel >= 1:2.6.28 |
9c7631b4 | 36 | BuildRequires: libxslt-devel >= 1.1.20 |
eeabb3ec | 37 | BuildRequires: nss-devel |
64cfd84f | 38 | BuildRequires: pkgconfig |
acf50bed | 39 | BuildRequires: rpm >= 4.4.9-56 |
5c860df1 | 40 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
fb636461 MB |
41 | BuildRequires: rpmbuild(macros) >= 1.601 |
42 | BuildRequires: sed >= 4.0 | |
d60581c9 | 43 | BuildRequires: sqlite3-devel |
13ca155e | 44 | BuildRequires: tar >= 1:1.22 |
fb636461 | 45 | BuildRequires: xorg-lib-libICE-devel |
d08074dc | 46 | BuildRequires: xorg-lib-libSM-devel |
fb636461 | 47 | BuildRequires: xorg-lib-libX11-devel |
13ca155e | 48 | BuildRequires: xz |
6c81e5d5 | 49 | Requires(post,postun): desktop-file-utils |
fb636461 | 50 | Requires(post,postun): glib2 >= 1:2.26.0 |
e6dfa88b | 51 | Requires(post,postun): scrollkeeper |
d08074dc | 52 | Requires: ca-certificates |
9c7631b4 | 53 | Requires: dbus >= 1.0.2 |
e802399c | 54 | Requires: gnome-icon-theme >= 3.4.0 |
fb636461 | 55 | Requires: gsettings-desktop-schemas |
f564371b | 56 | Requires: gtk-webkit3 >= 1.10.0 |
a84d07de | 57 | Provides: wwwbrowser |
84d82d33 | 58 | # sr@Latn vs. sr@latin |
59 | Conflicts: glibc-misc < 6:2.7 | |
b214bb6b | 60 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
61 | ||
b214bb6b | 62 | %description |
eeabb3ec | 63 | GNOME browser based on WebKit. |
b214bb6b | 64 | |
bbabfc8c | 65 | %description -l es.UTF-8 |
eeabb3ec | 66 | Navigador Web de GNOME basado en WebKit. |
3adf4a38 | 67 | |
bbabfc8c | 68 | %description -l pl.UTF-8 |
be24775f | 69 | Epiphany jest przeglądarką WWW opartą na silniku WebKit. |
b214bb6b | 70 | |
ce9f0285 | 71 | %package devel |
72 | Summary: Epiphany header files | |
1dda78a4 ER |
73 | Summary(es.UTF-8): Ficheros de cabecera de Epiphany |
74 | Summary(pl.UTF-8): Pliki nagłówkowe Epiphany | |
ce9f0285 | 75 | Group: X11/Applications/Networking |
cc8a9ea0 | 76 | # doesn't require base |
f564371b MB |
77 | Requires: gtk+3-devel >= 3.6.0 |
78 | Requires: gtk-webkit3-devel >= 1.10.0 | |
2f518579 | 79 | Requires: libxml2-devel >= 1:2.6.28 |
ce9f0285 | 80 | |
81 | %description devel | |
82 | Epiphany header files for plugin development. | |
83 | ||
bbabfc8c | 84 | %description devel -l es.UTF-8 |
3adf4a38 | 85 | Ficheros de cabecera de Epiphany para desarrollar plug-ins. |
86 | ||
bbabfc8c JR |
87 | %description devel -l pl.UTF-8 |
88 | Pliki nagłówkowe Epiphany do tworzenia wtyczek. | |
ce9f0285 | 89 | |
c8df5897 | 90 | %package apidocs |
91 | Summary: Epiphany API documentation | |
1dda78a4 | 92 | Summary(pl.UTF-8): Dokumentacja API Epiphany |
c8df5897 | 93 | Group: Documentation |
94 | Requires: gtk-doc-common | |
95 | ||
96 | %description apidocs | |
97 | Epiphany API documentation. | |
98 | ||
bbabfc8c | 99 | %description apidocs -l pl.UTF-8 |
c8df5897 | 100 | Dokumentacja API Epiphany. |
101 | ||
b214bb6b | 102 | %prep |
c27c16d4 | 103 | %setup -q |
b214bb6b | 104 | |
105 | %build | |
c8df5897 | 106 | %{__gnome_doc_prepare} |
cabc9554 | 107 | %{__gnome_doc_common} |
9d9c32a1 | 108 | %{__glib_gettextize} |
109 | %{__intltoolize} | |
b214bb6b | 110 | %{__libtoolize} |
cabc9554 | 111 | %{__aclocal} -I m4 |
b214bb6b | 112 | %{__autoheader} |
113 | %{__automake} | |
114 | %{__autoconf} | |
b214bb6b | 115 | %configure \ |
d08074dc | 116 | --disable-silent-rules \ |
fb636461 | 117 | --disable-schemas-compile \ |
eeabb3ec | 118 | --with-distributor-name="PLD Linux" \ |
eeabb3ec | 119 | --enable-gtk-doc \ |
fb636461 | 120 | --with-html-dir=%{_gtkdocdir} |
479b2587 | 121 | %{__make} |
b214bb6b | 122 | |
123 | %install | |
124 | rm -rf $RPM_BUILD_ROOT | |
f6084035 | 125 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions |
a84d07de | 126 | |
b214bb6b | 127 | %{__make} install \ |
eeabb3ec | 128 | DESTDIR=$RPM_BUILD_ROOT |
b214bb6b | 129 | |
359d4f9e | 130 | %find_lang %{name} --with-gnome --with-omf |
b214bb6b | 131 | |
132 | %clean | |
133 | rm -rf $RPM_BUILD_ROOT | |
134 | ||
135 | %post | |
9d9c32a1 | 136 | %scrollkeeper_update_post |
137 | %update_desktop_database_post | |
fb636461 | 138 | %glib_compile_schemas |
b214bb6b | 139 | |
e6dfa88b | 140 | %postun |
9d9c32a1 | 141 | %scrollkeeper_update_postun |
142 | %update_desktop_database_postun | |
fb636461 | 143 | %glib_compile_schemas |
0c3c17e3 | 144 | |
7bc0643f | 145 | %files -f %{name}.lang |
b214bb6b | 146 | %defattr(644,root,root,755) |
147 | %doc AUTHORS ChangeLog NEWS README | |
d08074dc | 148 | %attr(755,root,root) %{_bindir}/epiphany |
fb636461 | 149 | %attr(755,root,root) %{_bindir}/ephy-profile-migrator |
d08074dc | 150 | %{_datadir}/dbus-1/services/org.gnome.Epiphany.service |
b214bb6b | 151 | %{_datadir}/%{name} |
fb636461 MB |
152 | %{_datadir}/GConf/gsettings/epiphany.convert |
153 | %{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml | |
154 | %{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml | |
d08074dc | 155 | %{_desktopdir}/epiphany.desktop |
f6084035 JR |
156 | %dir %{_libdir}/%{name} |
157 | %dir %{_libdir}/%{name}/%{basever} | |
158 | %dir %{_libdir}/%{name}/%{basever}/extensions | |
d08074dc MB |
159 | %{_libdir}/girepository-1.0/Epiphany-*.typelib |
160 | %{_mandir}/man1/epiphany.1* | |
ce9f0285 | 161 | |
162 | %files devel | |
163 | %defattr(644,root,root,755) | |
d08074dc | 164 | %{_aclocaldir}/epiphany.m4 |
cabc9554 | 165 | %{_includedir}/epiphany |
d08074dc MB |
166 | %{_pkgconfigdir}/epiphany-*.pc |
167 | %{_datadir}/gir-1.0/Epiphany-*.gir | |
c8df5897 | 168 | |
169 | %files apidocs | |
170 | %defattr(644,root,root,755) | |
d08074dc | 171 | %{_gtkdocdir}/epiphany |