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