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