File epiphany-extensions.spec of Package epiphany-extensions

#
# spec file for package epiphany-extensions (Version 2.24.1)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           epiphany-extensions
%define xulrunner_version 190
%define major_version 2.24
BuildRequires:  docbook_4
BuildRequires:  epiphany
BuildRequires:  epiphany-devel >= 2.24.0
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gnome-common
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnutls-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libgnomeprintui-devel
BuildRequires:  libwnck-devel
BuildRequires:  libxml2-python
BuildRequires:  opensp-devel
BuildRequires:  pcre-devel
BuildRequires:  perl-XML-Parser
BuildRequires:  python-devel
BuildRequires:  scrollkeeper
BuildRequires:  update-desktop-files
Version:        2.24.1
Release:        2
Url:            http://www.gnome.org/projects/epiphany/
Group:          Productivity/Networking/Web/Browsers
License:        GPL v2 or later; LGPL v2.1 or later
Summary:        Extensions Collection for Epiphany
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.20/%{name}-%{version}.tar.bz2
AutoReqProv:    on
Provides:       epiphany-plugins
Obsoletes:      epiphany-plugins
Supplements:    epiphany
BuildRequires:  mozilla-xulrunner%{xulrunner_version}-devel
%define mozilla_ver %(rpm -q --qf '%%{version}' mozilla-xulrunner%{xulrunner_version})
Requires:       mozilla-xulrunner%{xulrunner_version} => %{mozilla_ver}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

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



Authors:
--------
    Marco Pesenti Gritti <marco@it.gnome.org>
    Adam Hooper <adamh@cvs.gnome.org>
    Christian Persch <chpe@gnome.org>
    Lee Willis

%lang_package
%prep
%setup -q

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

%install
%makeinstall
%find_lang %{name}-%{major_version}
%find_lang %{name} %{name}-%{major_version}.lang
%find_gconf_schemas
cat %{name}.schemas_list > %{name}.lst
rm $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%post
if test -x usr/bin/update-mime-database ; then
  usr/bin/update-mime-database usr/share/mime >/dev/null
fi
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%postun
if test -x usr/bin/update-mime-database ; then
  usr/bin/update-mime-database usr/share/mime >/dev/null
fi

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

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

%changelog
* Tue Nov 04 2008 vuntz@novell.com
- Don't require mozilla-xulrunner181-devel anymore since we require
  190 now. Also, remove some old %%if we're not interested anymore
- Use >=, not =, to require xulrunner versions, as in epiphany.
* Wed Oct 22 2008 mboman@suse.de
- Update to version 2.24.1:
  + Use and enforce single header includes for GTK+ and GLib.
  + Fix bgo#556326
  + Avoid a corner case for _load_status_cb
  + Check for a license on extension load
  + Don't show the CC eventbox on extension load  +
* Tue Oct 07 2008 meissner@suse.de
- build against xulrunner190, just like epiphany.
* Tue Sep 23 2008 maw@suse.de
- Update to version 2.24.0:
  + Updated translations.
* Tue Sep 23 2008 maw@suse.de
- Build against mozilla-xulrunner 190.
* Mon Sep 15 2008 jpr@novell.com
- Update to version 2.23.91:
  * bgo#521880 – smart bookmarks extension doesn't work
  * bgo#545089 – FTBFS, needs -UGTK_DISABLE_DEPRECATED
  * bgo#544928 – RFE: Update build scripts for Ephy 2.23.x
- Drop epiphany-extensions-ephy-2.23.patch, 2.23 is supported
  upstream now
* Tue Aug 26 2008 vuntz@novell.com
- Add epiphany-extensions-ephy-2.23.patch to fix compilation with
  epiphany 2.23.
* Sun Mar 23 2008 vuntz@suse.de
- Add libglade2-devel buildrequire to fix build.
* Mon Mar 17 2008 maw@suse.de
- Update to version 2.22.0:
  + Adblock now has a UI
  + Page info shows if a media/link is blocked (if adblock is
  enabled)
  + Add gconf schemas to the smart-bookmarks extension
  + Remove frame around the adblock icon
  + Fixes for mozilla API changes.
* Thu Feb 28 2008 jpr@suse.de
- Update to 2.21.92
  + Remove gnome-vfs dependency
  + Updates to work with new epiphany
  + Translations
- Remove epiphany-extensions-gcc4.3-fixes.patch, it was upstreamed
* Wed Nov 07 2007 maw@suse.de
- Update to version 2.20.1 (another cosmetic version bump)
- Add epiphany-extensions-gcc4.3-fixes.patch.
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Mon Sep 17 2007 mauro@asuse.de
- Updated for version 2.20 (Just bumped the version).
* Fri Aug 31 2007 maw@suse.de
- Update to version 2.19.90:
  + Icon installation cleanup
  + Fix for b.g.o #437648.
* Wed Aug 08 2007 maw@suse.de
- Split off a -lang subpackage.
* Thu Aug 02 2007 maw@suse.de
- Update to version 2.19.6:
  + In-progress work to give Adblock a UI
  + Page info shows if a media/link is blocked (if Adblock is on)
  + Add gconf schemas to the smart-bookmarks extension
  + Remove the frame from around the Adblock icon to make its
  visual appearance match others
  + Sync with recent Mozilla API changes
- Use %%fdupes.
* Sat Jul 14 2007 aj@suse.de
- It's really libwnck-devel.
* Mon Jul 09 2007 maw@suse.de
- Update to version 2.19.5
- Bug fixes
- Buildrequire libwnck-1-22-devel instead of libwnck-devel.
* Wed May 16 2007 sbrabec@suse.cz
- Added Supplements: epiphany.
* Mon Apr 02 2007 maw@suse.de
- Update to version 2.18.0
- Update the URL in Source:
- b.g.o 348331, 412924, 352082, 342951, 342951, 395763, and 357052.
* Wed Jan 10 2007 sbrabec@suse.cz
- Spec file cleanup.
* Sat Dec 30 2006 james@usr-local-bin.org
- Change prefix to /usr.
* Fri Dec 01 2006 sbrabec@suse.cz
- Fixed xulrunner dependencies for older products.
* Tue Nov 07 2006 sbrabec@suse.cz
- Use exact xulrunner version 181 (#216100).
* Tue Nov 07 2006 meissner@suse.de
- use RPM_OPT_FLAGS also for C++
* Fri Oct 13 2006 danw@suse.de
- Remove dead patches
- Update for gnome-doc-utils-devel
* Mon Oct 02 2006 jhargadon@suse.de
- update to version 2.16.1
- Sync with epiphany
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 2.16.0
- Fix varargs
- Sync with epiphany
* Fri Sep 01 2006 jhargadon@suse.de
- update to version 2.15.2
- Live HTTP Headers
- Update Adblock with last blacklist from upstream
- Update intltool requirement to 0.35
- Drop support for gecko 1.7
- Don't ship dashboard extension (too broken)
- Don't ship imagebar extension (too broken)
- Show a notification dialog when a duplicate sidebar is added [#333306]
- translation updates
- Make the Extension Manager reflect which extensions are enabled,
  not which are active. Fixes bug #164704
- Remove references to bookmarks-tray
* Mon Apr 24 2006 sbrabec@suse.cz
- Typo fix in cs.po.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 01 2005 gekker@suse.de
- Update to version 1.8.2
- Remove upstreamed xulrunner patch
* Wed Nov 09 2005 sbrabec@suse.cz
- Build with xulrunner.
- Fixed extra qualification.
* Mon Oct 24 2005 sbrabec@suse.cz
- Updated to version 1.8.1.
- Disabled dashboard extension.
- Fixed extension directories ownership.
* Mon Sep 05 2005 sbrabec@suse.cz
- Updated to version 1.8.0.
* Wed Aug 24 2005 gekker@suse.de
- Update to version 1.7.4
* Fri Aug 05 2005 sbrabec@suse.cz
- Updated to version 1.7.3.
- Removed files from unneeded devel subpackage.
* Tue Apr 26 2005 gekker@suse.de
- Add sentinel.patch to fix warning
- Turn off -Werror
* Thu Mar 10 2005 gekker@suse.de
- Update to version 1.6.0 (GNOME 2.10).
* Fri Feb 18 2005 sbrabec@suse.cz
- Updated to version 1.5.7.
* Tue Feb 08 2005 ro@suse.de
- update to 1.5.6
* Tue Jan 18 2005 ro@suse.de
- update to 1.5.4 / patch to build with current epiphany
* Tue Jan 18 2005 ro@suse.de
- update to 1.5.3
* Fri Jan 14 2005 ro@suse.de
- update to 1.4.4 to accept mozilla 1.7.5
* Fri Oct 29 2004 ro@suse.de
- locale rename: no -> nb
* Tue Aug 24 2004 ro@suse.de
- accept mozilla-1.7.2 in configure
* Tue May 11 2004 sbrabec@suse.cz
- New SuSE package, version 0.8.2.
openSUSE Build Service is sponsored by