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