]>
Commit | Line | Data |
---|---|---|
fef74680 | 1 | %define basever 2.20 |
1f578736 | 2 | Summary: Collection of extensions for Epiphany |
a7520a38 | 3 | Summary(pl.UTF-8): Zbiór rozszerzeń dla Epiphany |
1f578736 | 4 | Name: epiphany-extensions |
0b1f373b MB |
5 | Version: 2.20.1 |
6 | Release: 1 | |
3fff959f | 7 | License: GPL v2 |
8 | Group: X11/Applications/Networking | |
fef74680 | 9 | Source0: http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/2.20/%{name}-%{version}.tar.bz2 |
0b1f373b | 10 | # Source0-md5: cd8a247d81960217df4d7c8edfe9fbf8 |
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 |
fef74680 PZ |
15 | BuildRequires: epiphany-devel >= 2.20.0 |
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 |
fef74680 | 20 | BuildRequires: libgnomeui-devel >= 2.20.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 |
fef74680 | 26 | BuildRequires: python-gnome-devel >= 2.20.0 |
a0a191b8 | 27 | BuildRequires: rpmbuild(macros) >= 1.198 |
1ac7c2d6 | 28 | BuildRequires: xulrunner-devel >= 1.8.0.4 |
153dd961 | 29 | Requires(post,postun): scrollkeeper |
1ac7c2d6 | 30 | Requires(post,preun): GConf2 |
a0a191b8 | 31 | %requires_eq_to epiphany epiphany-devel |
5d3848b8 | 32 | %requires_eq xulrunner |
1f578736 | 33 | Provides: epiphany-plugins |
a7c0e423 | 34 | Obsoletes: epiphany-plugins <= 0.1.2 |
1f578736 MK |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
2bf256b6 | 37 | # can be provided by mozilla or mozilla-embedded |
38 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so | |
00bd599a | 39 | %define _noautoreq libxpcom.so |
2bf256b6 | 40 | |
1f578736 MK |
41 | %description |
42 | Epiphany Extensions is a collection of extensions for Epiphany. | |
43 | ||
9d075c36 JR |
44 | %description -l pl.UTF-8 |
45 | Epiphany Extensions jest zbiorem rozszerzeń dla Epiphany. | |
1f578736 MK |
46 | |
47 | %prep | |
b1e1936b | 48 | %setup -q |
1f578736 MK |
49 | |
50 | %build | |
ed18b486 | 51 | %{__intltoolize} |
b1e1936b | 52 | %{__libtoolize} |
153dd961 | 53 | %{__intltoolize} |
54 | %{__aclocal} -I m4 | |
b1e1936b | 55 | %{__autoconf} |
56 | %{__automake} | |
1f578736 | 57 | %configure \ |
af5af914 | 58 | --with-extensions=really-all \ |
153dd961 | 59 | --disable-scrollkeeper |
1f578736 MK |
60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
1ac7c2d6 | 68 | rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/extensions/{,libepilicious/}*.{la,py} |
45cf277b | 69 | |
153dd961 | 70 | %find_lang %{name}-%{basever} |
71 | %find_lang %{name} --with-gnome | |
72 | cat %{name}.lang >> %{name}-%{basever}.lang | |
1f578736 MK |
73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
153dd961 | 77 | %post |
78 | %scrollkeeper_update_post | |
1ac7c2d6 MB |
79 | %gconf_schema_install epilicious.schemas |
80 | %gconf_schema_install smart-bookmarks.schemas | |
81 | ||
82 | %preun | |
83 | %gconf_schema_uninstall epilicious.schemas | |
84 | %gconf_schema_uninstall smart-bookmarks.schemas | |
153dd961 | 85 | |
86 | %postun | |
87 | %scrollkeeper_update_postun | |
88 | ||
89 | %files -f %{name}-%{basever}.lang | |
1f578736 | 90 | %defattr(644,root,root,755) |
b1e1936b | 91 | %doc AUTHORS ChangeLog NEWS README |
153dd961 | 92 | %attr(755,root,root) %{_libdir}/epiphany/%{basever}/extensions/*.so* |
50dff123 | 93 | %{_libdir}/epiphany/%{basever}/extensions/*.ephy-extension |
94 | %{_libdir}/epiphany/%{basever}/extensions/*.py[co] | |
1ac7c2d6 MB |
95 | %dir %{_libdir}/epiphany/%{basever}/extensions/libepilicious |
96 | %{_libdir}/epiphany/%{basever}/extensions/libepilicious/*.py[co] | |
b1e1936b | 97 | %{_datadir}/%{name} |
1ac7c2d6 MB |
98 | %{_datadir}/epiphany/icons/hicolor/*/*/*.png |
99 | %{_datadir}/epiphany/icons/hicolor/*/*/*.svg | |
0ba102f4 | 100 | %{_omf_dest_dir}/%{name} |
1ac7c2d6 MB |
101 | %{_sysconfdir}/gconf/schemas/epilicious.schemas |
102 | %{_sysconfdir}/gconf/schemas/smart-bookmarks.schemas |