]> git.pld-linux.org Git - packages/epiphany-extensions.git/blob - epiphany-extensions.spec
000eb14c6863189fdf484c761a99a0a3414fc79c
[packages/epiphany-extensions.git] / epiphany-extensions.spec
1 # Conditinal build:
2 %bcond_with     mozilla_firefox # build with mozilla-firefox-devel
3 #
4 Summary:        Collection of extensions for Epiphany
5 Summary(pl):    Zbiór rozszerzeñ dla Epiphany
6 Name:           epiphany-extensions
7 Version:        1.8.2
8 Release:        1
9 License:        GPL v2
10 Group:          X11/Applications/Networking
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/epiphany-extensions/1.8/%{name}-%{version}.tar.bz2
12 # Source0-md5:  318418ce023ef5688e535309012591d9
13 Patch0:         %{name}-locale-names.patch
14 Patch1:         %{name}-mozilla_includes.patch
15 URL:            http://www.gnome.org/projects/epiphany/
16 BuildRequires:  autoconf >= 2.57
17 BuildRequires:  automake
18 BuildRequires:  epiphany-devel >= 1.8.2
19 BuildRequires:  gnome-common >= 2.8.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.10.0-2
24 BuildRequires:  libtool
25 BuildRequires:  libxml2-devel >= 1:2.6.19
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.11.3
34 Requires:       epiphany = %(rpm -q --qf '%{EPOCH}:%{VERSION}' epiphany-devel)
35 %if %{with mozilla_firefox}
36 %requires_eq    mozilla-firefox
37 %else
38 Requires:       mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
39 %endif
40 Provides:       epiphany-plugins
41 Obsoletes:      epiphany-plugins <= 0.1.2
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 # can be provided by mozilla or mozilla-embedded
45 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
46
47 %description
48 Epiphany Extensions is a collection of extensions for Epiphany.
49
50 %description -l pl
51 Epiphany Extensions jest zbiorem rozszerzeñ dla Epiphany.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57
58 mv po/{no,nb}.po
59
60 %build
61 %{__intltoolize}
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__automake}
66 %configure \
67         --with-extensions=all
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/1.8/extensions/*.{la,py}
77
78 %find_lang %{name}-1.8
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files -f %{name}-1.8.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README
86 %attr(755,root,root) %{_libdir}/epiphany/1.8/extensions/*.so*
87 %{_libdir}/epiphany/1.8/extensions/*.py[co]
88 %{_libdir}/epiphany/1.8/extensions/*.xml
89 %{_datadir}/%{name}
This page took 0.038945 seconds and 2 git commands to generate.