]>
Commit | Line | Data |
---|---|---|
f6084035 | 1 | %define basever 2.28 |
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 |
4ebf5baf MB |
6 | Version: 2.28.2 |
7 | Release: 1 | |
64cfd84f | 8 | License: GPL v2 |
b214bb6b | 9 | Group: X11/Applications/Networking |
eeabb3ec | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany/2.28/%{name}-%{version}.tar.bz2 |
4ebf5baf | 11 | # Source0-md5: cf32404bfe6f0cb4d3f01d0c33c08def |
b3cca493 | 12 | Patch0: %{name}-pld-homepage.patch |
3adf4a38 | 13 | URL: http://www.gnome.org/projects/epiphany/ |
eeabb3ec | 14 | BuildRequires: GConf2-devel >= 2.28.0 |
3b036307 | 15 | BuildRequires: NetworkManager-devel |
fd3d9ecb | 16 | BuildRequires: autoconf >= 2.59 |
9c7631b4 | 17 | BuildRequires: automake >= 1:1.9 |
eeabb3ec | 18 | BuildRequires: avahi-gobject-devel >= 0.6.22 |
9c7631b4 | 19 | BuildRequires: dbus-glib-devel >= 0.73 |
1e6eea56 | 20 | BuildRequires: docbook-dtd412-xml |
2f518579 | 21 | BuildRequires: gettext-devel |
b3cca493 | 22 | BuildRequires: gnome-common >= 2.20.0 |
eeabb3ec | 23 | BuildRequires: gnome-keyring-devel >= 2.28.0 |
b3cca493 | 24 | BuildRequires: gnome-doc-utils >= 0.12.0 |
d5a66c65 | 25 | BuildRequires: gtk+2-devel >= 2:2.16.0 |
9c7631b4 | 26 | BuildRequires: gtk-doc >= 1.8 |
eeabb3ec | 27 | BuildRequires: gtk-webkit-devel >= 1.1.15 |
2f518579 | 28 | BuildRequires: intltool >= 0.40.0 |
01f610e6 | 29 | BuildRequires: iso-codes >= 0.53 |
a25d521e | 30 | BuildRequires: libicu-devel |
2f518579 | 31 | BuildRequires: libnotify-devel >= 0.4 |
eeabb3ec | 32 | BuildRequires: libsoup-gnome-devel >= 2.28.0 |
47ba0170 | 33 | BuildRequires: libtool |
2ee625f0 | 34 | BuildRequires: libxml2-devel >= 1:2.6.28 |
9c7631b4 | 35 | BuildRequires: libxslt-devel >= 1.1.20 |
eeabb3ec | 36 | BuildRequires: nss-devel |
64cfd84f | 37 | BuildRequires: pkgconfig |
acf50bed | 38 | BuildRequires: rpm >= 4.4.9-56 |
5c860df1 | 39 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
a84d07de | 40 | BuildRequires: rpmbuild(macros) >= 1.364 |
c305e9cc | 41 | BuildRequires: scrollkeeper |
fec44160 | 42 | BuildRequires: startup-notification-devel >= 0.8 |
6c81e5d5 | 43 | Requires(post,postun): desktop-file-utils |
c4601149 | 44 | Requires(post,postun): gtk+2 |
d1e1b12f | 45 | Requires(post,postun): hicolor-icon-theme |
e6dfa88b | 46 | Requires(post,postun): scrollkeeper |
9c7631b4 MB |
47 | Requires(post,preun): GConf2 |
48 | Requires: dbus >= 1.0.2 | |
2f518579 | 49 | Requires: gnome-icon-theme >= 2.26.0 |
a84d07de | 50 | Provides: wwwbrowser |
84d82d33 | 51 | # sr@Latn vs. sr@latin |
52 | Conflicts: glibc-misc < 6:2.7 | |
b214bb6b | 53 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
54 | ||
b214bb6b | 55 | %description |
eeabb3ec | 56 | GNOME browser based on WebKit. |
b214bb6b | 57 | |
bbabfc8c | 58 | %description -l es.UTF-8 |
eeabb3ec | 59 | Navigador Web de GNOME basado en WebKit. |
3adf4a38 | 60 | |
bbabfc8c | 61 | %description -l pl.UTF-8 |
eeabb3ec | 62 | Epiphany jest przeglądarką WWW bazującą na WebKit. |
b214bb6b | 63 | |
ce9f0285 | 64 | %package devel |
65 | Summary: Epiphany header files | |
1dda78a4 ER |
66 | Summary(es.UTF-8): Ficheros de cabecera de Epiphany |
67 | Summary(pl.UTF-8): Pliki nagłówkowe Epiphany | |
ce9f0285 | 68 | Group: X11/Applications/Networking |
cc8a9ea0 | 69 | # doesn't require base |
2f518579 | 70 | Requires: gtk+2-devel >= 2:2.16.0 |
eeabb3ec | 71 | Requires: gtk-webkit-devel >= 1.1.15 |
2f518579 | 72 | Requires: libxml2-devel >= 1:2.6.28 |
ce9f0285 | 73 | |
74 | %description devel | |
75 | Epiphany header files for plugin development. | |
76 | ||
bbabfc8c | 77 | %description devel -l es.UTF-8 |
3adf4a38 | 78 | Ficheros de cabecera de Epiphany para desarrollar plug-ins. |
79 | ||
bbabfc8c JR |
80 | %description devel -l pl.UTF-8 |
81 | Pliki nagłówkowe Epiphany do tworzenia wtyczek. | |
ce9f0285 | 82 | |
c8df5897 | 83 | %package apidocs |
84 | Summary: Epiphany API documentation | |
1dda78a4 | 85 | Summary(pl.UTF-8): Dokumentacja API Epiphany |
c8df5897 | 86 | Group: Documentation |
87 | Requires: gtk-doc-common | |
88 | ||
89 | %description apidocs | |
90 | Epiphany API documentation. | |
91 | ||
bbabfc8c | 92 | %description apidocs -l pl.UTF-8 |
c8df5897 | 93 | Dokumentacja API Epiphany. |
94 | ||
b214bb6b | 95 | %prep |
c27c16d4 | 96 | %setup -q |
b3cca493 | 97 | %patch0 -p1 |
b214bb6b | 98 | |
99 | %build | |
c8df5897 | 100 | %{__gnome_doc_prepare} |
cabc9554 | 101 | %{__gnome_doc_common} |
9d9c32a1 | 102 | %{__glib_gettextize} |
103 | %{__intltoolize} | |
b214bb6b | 104 | %{__libtoolize} |
cabc9554 | 105 | %{__aclocal} -I m4 |
b214bb6b | 106 | %{__autoheader} |
107 | %{__automake} | |
108 | %{__autoconf} | |
b214bb6b | 109 | %configure \ |
eeabb3ec | 110 | --with-distributor-name="PLD Linux" \ |
3428cfce | 111 | --enable-network-manager \ |
eeabb3ec MB |
112 | --enable-gtk-doc \ |
113 | --with-html-dir=%{_gtkdocdir} \ | |
114 | --disable-schemas-install | |
479b2587 | 115 | %{__make} |
b214bb6b | 116 | |
117 | %install | |
118 | rm -rf $RPM_BUILD_ROOT | |
f6084035 | 119 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/%{basever}/extensions |
a84d07de | 120 | |
b214bb6b | 121 | %{__make} install \ |
eeabb3ec | 122 | DESTDIR=$RPM_BUILD_ROOT |
b214bb6b | 123 | |
f16457d3 | 124 | rm -rf $RPM_BUILD_ROOT%{_iconsdir}/LowContrastLargePrint |
e6dfa88b | 125 | |
359d4f9e | 126 | %find_lang %{name} --with-gnome --with-omf |
b214bb6b | 127 | |
128 | %clean | |
129 | rm -rf $RPM_BUILD_ROOT | |
130 | ||
131 | %post | |
9d9c32a1 | 132 | %gconf_schema_install epiphany-lockdown.schemas |
133 | %gconf_schema_install epiphany.schemas | |
134 | %scrollkeeper_update_post | |
135 | %update_desktop_database_post | |
c8df5897 | 136 | %update_icon_cache hicolor |
6c81e5d5 | 137 | |
138 | %preun | |
9d9c32a1 | 139 | %gconf_schema_uninstall epiphany-lockdown.schemas |
140 | %gconf_schema_uninstall epiphany.schemas | |
b214bb6b | 141 | |
e6dfa88b | 142 | %postun |
9d9c32a1 | 143 | %scrollkeeper_update_postun |
144 | %update_desktop_database_postun | |
c8df5897 | 145 | %update_icon_cache hicolor |
0c3c17e3 | 146 | |
7bc0643f | 147 | %files -f %{name}.lang |
b214bb6b | 148 | %defattr(644,root,root,755) |
149 | %doc AUTHORS ChangeLog NEWS README | |
a84d07de | 150 | |
b214bb6b | 151 | %attr(755,root,root) %{_bindir}/* |
fd3ae4b7 | 152 | %{_datadir}/dbus-1/services/*.service |
b214bb6b | 153 | %{_datadir}/%{name} |
4d4e973b | 154 | %{_desktopdir}/*.desktop |
3428cfce | 155 | %{_iconsdir}/*/*/apps/*.* |
cabc9554 | 156 | %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas |
157 | %{_sysconfdir}/gconf/schemas/epiphany.schemas | |
f6084035 JR |
158 | %dir %{_libdir}/%{name} |
159 | %dir %{_libdir}/%{name}/%{basever} | |
160 | %dir %{_libdir}/%{name}/%{basever}/extensions | |
9405fbf9 | 161 | %{_mandir}/man1/* |
ce9f0285 | 162 | |
163 | %files devel | |
164 | %defattr(644,root,root,755) | |
fd3ae4b7 | 165 | %{_aclocaldir}/* |
cabc9554 | 166 | %{_includedir}/epiphany |
084a89d6 | 167 | %{_pkgconfigdir}/*.pc |
c8df5897 | 168 | |
169 | %files apidocs | |
170 | %defattr(644,root,root,755) | |
10e31070 | 171 | %{_gtkdocdir}/* |