]> git.pld-linux.org Git - packages/epiphany-extensions.git/blob - epiphany-extensions.spec
- post merge restore
[packages/epiphany-extensions.git] / epiphany-extensions.spec
1 # Conditinal build:
2 %bcond_with     mozilla_firefox # build with mozilla-firefox-devel
3 #
4 %define         basever 2.14
5 Summary:        Collection of extensions for Epiphany
6 Summary(pl):    Zbiór rozszerzeñ dla Epiphany
7 Name:           epiphany-extensions
8 Version:        2.14.1
9 Release:        1
10 License:        GPL v2
11 Group:          X11/Applications/Networking
12 Source0:        http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/1.8/%{name}-%{version}.tar.bz2
13 # Source0-md5:  318418ce023ef5688e535309012591d9
14 URL:            http://www.gnome.org/projects/epiphany/
15 BuildRequires:  autoconf >= 2.57
16 BuildRequires:  automake >= 1.9
17 BuildRequires:  dbus-glib-devel >= 0.34
18 BuildRequires:  epiphany-devel >= 2.14.1
19 BuildRequires:  gnome-common >= 2.12.0
20 BuildRequires:  gtk+2-devel >= 2:2.8.3
21 BuildRequires:  intltool >= 0.33
22 BuildRequires:  libglade2-devel >= 1:2.5.1
23 BuildRequires:  libgnomeui-devel >= 2.12.0
24 BuildRequires:  libtool
25 BuildRequires:  libxml2-devel >= 1:2.6.22
26 %if %{with mozilla_firefox}
27 BuildRequires:  mozilla-firefox-devel
28 %else
29 BuildRequires:  mozilla-devel >= 5:1.7
30 %endif
31 BuildRequires:  opensp-devel
32 BuildRequires:  pkgconfig
33 BuildRequires:  python-gnome-devel >= 2.12.0
34 Requires(post,postun):  scrollkeeper
35 Requires:       epiphany = %(rpm -q --qf '%{EPOCH}:%{VERSION}' epiphany-devel)
36 %if %{with mozilla_firefox}
37 %requires_eq    mozilla-firefox
38 %else
39 Requires:       mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
40 %endif
41 Provides:       epiphany-plugins
42 Obsoletes:      epiphany-plugins <= 0.1.2
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 # can be provided by mozilla or mozilla-embedded
46 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
47
48 %description
49 Epiphany Extensions is a collection of extensions for Epiphany.
50
51 %description -l pl
52 Epiphany Extensions jest zbiorem rozszerzeñ dla Epiphany.
53
54 %prep
55 %setup -q
56
57 %build
58 %{__intltoolize}
59 %{__libtoolize}
60 %{__intltoolize}
61 %{__aclocal} -I m4
62 %{__autoconf}
63 %{__automake}
64 %configure \
65         --with-extensions=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/*.{la,py}
76 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
77
78 %find_lang %{name}-%{basever}
79 %find_lang %{name} --with-gnome
80 cat %{name}.lang >> %{name}-%{basever}.lang
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post
86 %scrollkeeper_update_post
87
88 %postun
89 %scrollkeeper_update_postun
90
91 %files -f %{name}-%{basever}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %attr(755,root,root) %{_libdir}/epiphany/%{basever}/extensions/*.so*
95 %{_libdir}/epiphany/%{basever}/extensions/[!l]*
96 %{_datadir}/%{name}
97 %{_omf_dest_dir}/%{name}/*
This page took 0.144064 seconds and 4 git commands to generate.