]>
Commit | Line | Data |
---|---|---|
7bc5781f | 1 | %define basever 2.22 |
1f578736 | 2 | Summary: Collection of extensions for Epiphany |
a7520a38 | 3 | Summary(pl.UTF-8): Zbiór rozszerzeń dla Epiphany |
1f578736 | 4 | Name: epiphany-extensions |
6a2afbcf | 5 | Version: 2.22.2 |
345725bd | 6 | Release: 2 |
3fff959f | 7 | License: GPL v2 |
8 | Group: X11/Applications/Networking | |
7bc5781f | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/epiphany-extensions/2.22/%{name}-%{version}.tar.bz2 |
6a2afbcf | 10 | # Source0-md5: 9728577d63117275d8f12d529ecc866d |
f663c42e | 11 | URL: http://www.gnome.org/projects/epiphany/ |
b1e1936b | 12 | BuildRequires: autoconf >= 2.57 |
27710c89 | 13 | BuildRequires: automake >= 1:1.9 |
1ac7c2d6 | 14 | BuildRequires: dbus-glib-devel >= 0.73 |
7bc5781f | 15 | BuildRequires: epiphany-devel >= 2.22.0 |
fef74680 PZ |
16 | BuildRequires: gnome-common >= 2.20.0 |
17 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
1ac7c2d6 | 18 | BuildRequires: intltool >= 0.35.5 |
4d90bc52 | 19 | BuildRequires: libglade2-devel >= 1:2.6.0 |
7bc5781f | 20 | BuildRequires: libgnomeui-devel >= 2.22.0 |
b1e1936b | 21 | BuildRequires: libtool |
823c1af7 | 22 | BuildRequires: libxml2-devel >= 1:2.6.28 |
b1e1936b | 23 | BuildRequires: opensp-devel |
af5af914 | 24 | BuildRequires: pcre-devel |
7d108f2e | 25 | BuildRequires: pkgconfig |
7bc5781f | 26 | BuildRequires: python-gnome-devel >= 2.22.0 |
161e45bf | 27 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
a0a191b8 | 28 | BuildRequires: rpmbuild(macros) >= 1.198 |
161e45bf | 29 | BuildRequires: sed >= 4.0 |
1ac7c2d6 | 30 | BuildRequires: xulrunner-devel >= 1.8.0.4 |
153dd961 | 31 | Requires(post,postun): scrollkeeper |
1ac7c2d6 | 32 | Requires(post,preun): GConf2 |
a0a191b8 | 33 | %requires_eq_to epiphany epiphany-devel |
5d3848b8 | 34 | %requires_eq xulrunner |
1f578736 | 35 | Provides: epiphany-plugins |
a7c0e423 | 36 | Obsoletes: epiphany-plugins <= 0.1.2 |
510e1bb6 | 37 | # sr@Latn vs. sr@latin |
38 | Conflicts: glibc-misc < 6:2.7 | |
1f578736 MK |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
2bf256b6 | 41 | # can be provided by mozilla or mozilla-embedded |
42 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so | |
00bd599a | 43 | %define _noautoreq libxpcom.so |
2bf256b6 | 44 | |
1f578736 MK |
45 | %description |
46 | Epiphany Extensions is a collection of extensions for Epiphany. | |
47 | ||
9d075c36 JR |
48 | %description -l pl.UTF-8 |
49 | Epiphany Extensions jest zbiorem rozszerzeń dla Epiphany. | |
1f578736 MK |
50 | |
51 | %prep | |
b1e1936b | 52 | %setup -q |
1f578736 | 53 | |
161e45bf | 54 | sed -i -e 's#sr\@Latn#sr\@latin#' po/LINGUAS |
e35c8da0 MB |
55 | mv po/sr\@{Latn,latin}.po |
56 | ||
1f578736 | 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 |