]>
Commit | Line | Data |
---|---|---|
a3a4cc7b | 1 | %define basever 2.26 |
1f578736 | 2 | Summary: Collection of extensions for Epiphany |
a7520a38 | 3 | Summary(pl.UTF-8): Zbiór rozszerzeń dla Epiphany |
1f578736 | 4 | Name: epiphany-extensions |
a3a4cc7b MB |
5 | Version: 2.26.0 |
6 | Release: 1 | |
3fff959f | 7 | License: GPL v2 |
8 | Group: X11/Applications/Networking | |
a3a4cc7b MB |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany-extensions/2.26/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 88f194ed26e8d1cea20b500dc4e1998e | |
4d178568 | 11 | Patch0: %{name}-libxul.patch |
f663c42e | 12 | URL: http://www.gnome.org/projects/epiphany/ |
a3a4cc7b MB |
13 | BuildRequires: GConf2-devel >= 2.26.0 |
14 | BuildRequires: autoconf >= 2.59 | |
27710c89 | 15 | BuildRequires: automake >= 1:1.9 |
1ac7c2d6 | 16 | BuildRequires: dbus-glib-devel >= 0.73 |
a3a4cc7b | 17 | BuildRequires: epiphany-devel >= 2.26.0 |
4ab95047 | 18 | BuildRequires: gnome-common >= 2.24.0 |
a3a4cc7b MB |
19 | BuildRequires: gnome-doc-utils |
20 | BuildRequires: gtk+2-devel >= 2:2.16.0 | |
21 | BuildRequires: intltool >= 0.40.0 | |
4d90bc52 | 22 | BuildRequires: libglade2-devel >= 1:2.6.0 |
b1e1936b | 23 | BuildRequires: libtool |
823c1af7 | 24 | BuildRequires: libxml2-devel >= 1:2.6.28 |
b1e1936b | 25 | BuildRequires: opensp-devel |
af5af914 | 26 | BuildRequires: pcre-devel |
7d108f2e | 27 | BuildRequires: pkgconfig |
7bc5781f | 28 | BuildRequires: python-gnome-devel >= 2.22.0 |
161e45bf | 29 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
a0a191b8 | 30 | BuildRequires: rpmbuild(macros) >= 1.198 |
161e45bf | 31 | BuildRequires: sed >= 4.0 |
4d178568 | 32 | BuildRequires: xulrunner-devel >= 1.9-5 |
153dd961 | 33 | Requires(post,postun): scrollkeeper |
1ac7c2d6 | 34 | Requires(post,preun): GConf2 |
a0a191b8 | 35 | %requires_eq_to epiphany epiphany-devel |
4d178568 | 36 | %requires_eq_to xulrunner xulrunner-devel |
1f578736 | 37 | Provides: epiphany-plugins |
a7c0e423 | 38 | Obsoletes: epiphany-plugins <= 0.1.2 |
510e1bb6 | 39 | # sr@Latn vs. sr@latin |
40 | Conflicts: glibc-misc < 6:2.7 | |
1f578736 MK |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
2bf256b6 | 43 | # can be provided by mozilla or mozilla-embedded |
44 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so | |
00bd599a | 45 | %define _noautoreq libxpcom.so |
2bf256b6 | 46 | |
1f578736 MK |
47 | %description |
48 | Epiphany Extensions is a collection of extensions for Epiphany. | |
49 | ||
9d075c36 JR |
50 | %description -l pl.UTF-8 |
51 | Epiphany Extensions jest zbiorem rozszerzeń dla Epiphany. | |
1f578736 MK |
52 | |
53 | %prep | |
b1e1936b | 54 | %setup -q |
4d178568 | 55 | %patch0 -p1 |
1f578736 MK |
56 | |
57 | %build | |
ed18b486 | 58 | %{__intltoolize} |
b1e1936b | 59 | %{__libtoolize} |
153dd961 | 60 | %{__intltoolize} |
61 | %{__aclocal} -I m4 | |
b1e1936b | 62 | %{__autoconf} |
63 | %{__automake} | |
1f578736 | 64 | %configure \ |
af5af914 | 65 | --with-extensions=really-all \ |
153dd961 | 66 | --disable-scrollkeeper |
1f578736 MK |
67 | %{__make} |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
1ac7c2d6 | 75 | rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/extensions/{,libepilicious/}*.{la,py} |
45cf277b | 76 | |
e35c8da0 | 77 | %find_lang %{name} --with-gnome --with-omf --all-name |
1f578736 MK |
78 | |
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
153dd961 | 82 | %post |
83 | %scrollkeeper_update_post | |
1ac7c2d6 MB |
84 | %gconf_schema_install epilicious.schemas |
85 | %gconf_schema_install smart-bookmarks.schemas | |
86 | ||
87 | %preun | |
88 | %gconf_schema_uninstall epilicious.schemas | |
89 | %gconf_schema_uninstall smart-bookmarks.schemas | |
153dd961 | 90 | |
91 | %postun | |
92 | %scrollkeeper_update_postun | |
93 | ||
e35c8da0 | 94 | %files -f %{name}.lang |
1f578736 | 95 | %defattr(644,root,root,755) |
b1e1936b | 96 | %doc AUTHORS ChangeLog NEWS README |
153dd961 | 97 | %attr(755,root,root) %{_libdir}/epiphany/%{basever}/extensions/*.so* |
50dff123 | 98 | %{_libdir}/epiphany/%{basever}/extensions/*.ephy-extension |
99 | %{_libdir}/epiphany/%{basever}/extensions/*.py[co] | |
1ac7c2d6 MB |
100 | %dir %{_libdir}/epiphany/%{basever}/extensions/libepilicious |
101 | %{_libdir}/epiphany/%{basever}/extensions/libepilicious/*.py[co] | |
b1e1936b | 102 | %{_datadir}/%{name} |
1ac7c2d6 MB |
103 | %{_datadir}/epiphany/icons/hicolor/*/*/*.png |
104 | %{_datadir}/epiphany/icons/hicolor/*/*/*.svg | |
1ac7c2d6 MB |
105 | %{_sysconfdir}/gconf/schemas/epilicious.schemas |
106 | %{_sysconfdir}/gconf/schemas/smart-bookmarks.schemas |