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