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