File epiphany-extensions.spec of Package epiphany-extensions

#
# spec file for package epiphany-extensions (Version 2.28.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           epiphany-extensions
Version:        2.28.0
Release:        1
License:        GPL v2 or later ; LGPL v2.1 or later
Summary:        Extensions Collection for Epiphany
Url:            http://www.gnome.org/projects/epiphany/
Group:          Productivity/Networking/Web/Browsers
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.20/%{name}-%{version}.tar.bz2
%define lang_version 2.28
%define major_version 2.28
BuildRequires:  dbus-1-glib-devel
BuildRequires:  epiphany
BuildRequires:  epiphany-devel >= 2.27.0
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libwebkit-devel
BuildRequires:  libxml2-python
BuildRequires:  opensp-devel
BuildRequires:  translation-update-upstream
Requires:       %{name}-lang = %{version}
Supplements:    epiphany
Provides:       epiphany-plugins
Obsoletes:      epiphany-plugins
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains the following Epiphany extensions: Error Viewer
and Validator, Mouse Gestures, Popup Blocker, and Tabs Move-To Menu.

%lang_package
%prep
%setup -q
translation-update-upstream

%build
%configure \
    --with-extensions=all \
    --enable-compile-warnings=yes \
    --disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}-%{lang_version}
%find_lang %{name} %{name}-%{lang_version}.lang
rm %{buildroot}%{_libdir}/*/*/*/*.*a
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr (-, root, root)
%doc AUTHORS COPYING COPYING.README ChangeLog NEWS README TODO
%{_datadir}/epiphany-extensions
%{_datadir}/epiphany/icons/hicolor/*/status/*.*
%{_libdir}/epiphany/%{major_version}/extensions

%files lang -f %{name}-%{lang_version}.lang

%changelog
openSUSE Build Service is sponsored by