]> git.pld-linux.org Git - packages/epiphany-extensions.git/blob - epiphany-extensions.spec
- release 3
[packages/epiphany-extensions.git] / epiphany-extensions.spec
1 %define         basever 2.24
2 Summary:        Collection of extensions for Epiphany
3 Summary(pl.UTF-8):      Zbiór rozszerzeń dla Epiphany
4 Name:           epiphany-extensions
5 Version:        2.24.3
6 Release:        3
7 License:        GPL v2
8 Group:          X11/Applications/Networking
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/epiphany-extensions/2.24/%{name}-%{version}.tar.bz2
10 # Source0-md5:  5d1ca2c5847d066df26657319def1d3a
11 Patch0:         %{name}-libxul.patch
12 Patch1:         %{name}-engine-check.patch
13 URL:            http://www.gnome.org/projects/epiphany/
14 BuildRequires:  autoconf >= 2.57
15 BuildRequires:  automake >= 1:1.9
16 BuildRequires:  dbus-glib-devel >= 0.73
17 BuildRequires:  epiphany-devel >= 2.24.0
18 BuildRequires:  gnome-common >= 2.24.0
19 BuildRequires:  gtk+2-devel >= 2:2.14.0
20 BuildRequires:  intltool >= 0.35.5
21 BuildRequires:  libglade2-devel >= 1:2.6.0
22 BuildRequires:  libgnomeui-devel >= 2.24.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 %patch1 -p1
57
58 %build
59 %{__intltoolize}
60 %{__libtoolize}
61 %{__intltoolize}
62 %{__aclocal} -I m4
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --with-extensions=really-all \
67         --disable-scrollkeeper
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/%{basever}/extensions/{,libepilicious/}*.{la,py}
77
78 %find_lang %{name} --with-gnome --with-omf --all-name
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post
84 %scrollkeeper_update_post
85 %gconf_schema_install epilicious.schemas
86 %gconf_schema_install smart-bookmarks.schemas
87
88 %preun
89 %gconf_schema_uninstall epilicious.schemas
90 %gconf_schema_uninstall smart-bookmarks.schemas
91
92 %postun
93 %scrollkeeper_update_postun
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README
98 %attr(755,root,root) %{_libdir}/epiphany/%{basever}/extensions/*.so*
99 %{_libdir}/epiphany/%{basever}/extensions/*.ephy-extension
100 %{_libdir}/epiphany/%{basever}/extensions/*.py[co]
101 %dir %{_libdir}/epiphany/%{basever}/extensions/libepilicious
102 %{_libdir}/epiphany/%{basever}/extensions/libepilicious/*.py[co]
103 %{_datadir}/%{name}
104 %{_datadir}/epiphany/icons/hicolor/*/*/*.png
105 %{_datadir}/epiphany/icons/hicolor/*/*/*.svg
106 %{_sysconfdir}/gconf/schemas/epilicious.schemas
107 %{_sysconfdir}/gconf/schemas/smart-bookmarks.schemas
This page took 0.046698 seconds and 4 git commands to generate.