File gnome2-user-docs.spec of Package gnome2-user-docs

#
# spec file for package gnome2-user-docs (Version 2.24.0)
#
# 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:           gnome2-user-docs
# FIXME: Rename package to gnome-user-docs, as it was done in upstream long time ago.
%define _name gnome-user-docs
BuildRequires:  docbook_4 fdupes gnome-doc-utils gnome-doc-utils-devel
#FIX-ME: This package builds perfectly fine without kdelibs3-devel. Is there a reason why we have it as BuildRequires?
#BuildRequires:  kdelibs3-devel
BuildRequires:  libxslt pkg-config
Url:            http://www.gnome.org
License:        GPL v2 or later
Group:          Documentation/Other
AutoReqProv:    on
Version:        2.24.0
Release:        1
Summary:        GNOME 2.x Desktop Documentation
Source:         %{_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
# This package should probably supplement more than just nautilus...
Supplements:    nautilus

%description
This package contains documents that are targeted for GNOME end-users.



%prep
%setup -q -n %{_name}-%{version}

%build
%configure\
	--disable-scrollkeeper
make

%install
make install DESTDIR=$RPM_BUILD_ROOT 
for xml in $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/*/*.xml; do
    if echo $xml | egrep 'share/gnome/help/([^/]*)/[^/]*/\1\.xml$' > /dev/null; then
	meinproc --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
    fi
done
%find_lang user-guide
%find_lang gnome-access-guide user-guide.lang
%find_lang system-admin-guide user-guide.lang
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files -f user-guide.lang
%defattr(-,root,root)
%{_datadir}/omf/*

%changelog
* Tue Sep 23 2008 mboman@suse.de
- Update to version 2.24.0:
  + Accessibility Guide:
  * Massive updates
  * Various fixes
  + System Admin Guide:
  * Various fixes
  + User Guide:
  * Various upates
  + Updated translations
* Wed Sep 03 2008 mboman@novell.com
- Update to version 2.22.1:
  + Accessibility Guide:
  * Miscellaneous fixes
  + System Admin Guide:
  * Miscellaneous fixes
  - Translation updates
* Tue Apr 01 2008 maw@suse.de
- Update to version 2.22.0:
  + Minor updates
  + Updated translations.
* Fri Feb 29 2008 coolo@suse.de
- not using parallel build seems to be more robust
* Fri Feb 01 2008 rodrigo@suse.de
- Update to version 2.20.1:
  * Massive updates from Matthew East and the Ubuntu documentation team
  * Terminology updates
  * Updated translations
* Wed Sep 19 2007 sbrabec@suse.cz
- Updated to version 2.20.0:
  * updates of Accessibility Guide translations
  * updates of System Admin Guide translations
  * User Guide validation fixed
  * User Guide: updated Preferred Applications section
  * updates of User Guide translations
* Wed Sep 05 2007 maw@suse.de
- Supplement nautilus (#297833).
* Thu Aug 02 2007 maw@suse.de
- Update to version 2.18.2:
  + Updated translations.
- Use %%fdupes.
* Wed Apr 11 2007 maw@suse.de
- Update to version 2.18.1 which has updated translations for the
  pt_BR, fr, and pa locales.
* Wed Apr 04 2007 maw@suse.de
- Update to version 2.18.0
- Updated translations
* Tue Jan 30 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Thu Oct 12 2006 ro@suse.de
- added gnome-doc-utils-devel to buildreq
* Tue Oct 03 2006 jhargadon@suse.de
- update to version 2.16.1
- User Guide
  Better wording for writing CDs
- translation updates
* Sat Sep 30 2006 aj@suse.de
- Cleanup BuildRequires.
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 2.16.0
  * User Guide:
  - Numerous improvements by Joachim Noreiko and Don Scorgie
  - Updated translations:
  es     (Francisco Javier F. Serrador)
  fr     (Claude Parroz)
  pt_BR  (Raphael Higino)
  ru     (Nickolay V. Shmyrev)
  * Accessibility Guide:
  - Numerous improvements by Don Scorgie
  * System Administration Guide:
  - Numerous improvements by Don Scorgie
  - ScreenD should be Screen[D] to stop X complaining (Don Scorgie)
  - Changed Desktop to System (Don Scorgie)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 dmueller@suse.de
- add norootforbuild
* Mon Jan 24 2005 gekker@suse.de
- Update to version 2.8.1
* Tue Aug 31 2004 clahey@suse.de
- Don't --check because some of the docs don't validate.
* Thu Aug 26 2004 clahey@suse.de
- Cache gnome2-user-docs.
* Fri May 07 2004 hhetter@suse.de
- updated to version 2.6.0.1 [GNOME2.6]
* Mon Oct 27 2003 sbrabec@suse.cz
- Updated to version 2.4.1.
* Thu Oct 09 2003 sbrabec@suse.cz
- Updated to version 2.4.0 (GNOME 2.4).
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Mon Jun 30 2003 sbrabec@suse.cz
- Updated to version 2.0.6.
* Mon Jun 30 2003 ro@suse.de
- added gnome-filesystem to neededforbuild
* Fri Feb 07 2003 hhetter@suse.de
- initial package
openSUSE Build Service is sponsored by