base-specs/gnome-user-docs.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 22108 09500c5eaf8c
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.

#
# spec file for package gnome-user-docs
#
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner davelam
#

%define OSR LFI#105446 (gnome Exec. summary):n/a

Name:		        gnome-user-docs
License:		FDL
Group:			Documentation
BuildArchitectures:	noarch
Version:		2.30.1
Release:		48
Distribution:		Java Desktop System
Vendor:			Gnome Community
Summary:		User Documentation for the GNOME desktop
Source:		        http://ftp.gnome.org/pub/GNOME/sources/gnome-user-docs/2.30/gnome-user-docs-%{version}.tar.bz2
URL:			http://developer.gnome.org/projects/gdp/
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
Docdir:			%{_defaultdocdir}/doc
# date:2011-05-10 owner:padraig type:branding bugster:7043501,7042523,7042529
Patch1:       gnome-user-docs-01-fix-doc.diff
Patch2:       gnome-user-docs-02-fix-l10n-doc.diff
# date:2011-07-26 owner:davelam type:branding bugster:7065914,7061429,7061428,7061418
Patch3:       gnome-user-docs-03-amend-doc.diff
Patch4:       gnome-user-docs-04-amend-l10n-doc.diff

%define			scrollkeeper_version 0.3.12

Prereq:			scrollkeeper >= %{scrollkeeper_version}
Requires:		scrollkeeper >= %{scrollkeeper_version}

%description
This package contains general GNOME user documentation which is not 
directly associated with any particular GNOME application or package.

%prep
%setup -q -n gnome-user-docs-%{version}
for f in gnome2-user-guide/bg/*.xml gnome2-user-guide/zh_CN/*.xml; do
  dos2unix -ascii $f $f
done
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1


%build
%ifos linux
if [ -x /usr/bin/getconf ]; then
  CPUS=`getconf _NPROCESSORS_ONLN`
fi
%else
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --force
aclocal $ACLOCAL_FLAGS
automake -a -c -f
autoconf

./configure --prefix=%{_prefix}			\
            --datadir=%{_datadir}		\
	    --disable-scrollkeeper
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
chmod -R a+rX $RPM_BUILD_ROOT%{_datadir}/gnome/help

%clean
rm -rf $RPM_BUILD_ROOT

%post
if [ "$1" = "2" ] ; then # upgrade
  if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
fi

%files
%defattr(-,root,root)
%doc COPYING COPYING-DOCS AUTHORS README ChangeLog NEWS INSTALL
%{_datadir}/gnome/help/*
%{_datadir}/omf/*

%changelog
* Tue Aug 09 2011 - [email protected]
- Update de/fr/es translations for the changes in patch #3.
* Wed May 11 2011 - [email protected]
- Update patch fix-doc for CR 7042523 and CR 7042529
* Tue May 10 2011 - [email protected]
- Add patch fix-doc for CR 7042495
* Mon Apr 26 2010 - [email protected]
- Bump to 2.30.1.
* Tue Mar 30 2010 - [email protected]
- Bump to 2.30.0.
* Sun Feb 14 2010 - [email protected]
- Bump to 2.29.2.
* Fri Jan 29 2010 - [email protected]
- Bump to 2.29.1.
* Sun Jan 17 2010 - [email protected]
- Bump to 2.28.2.
* Wed Sep 23 2009 - [email protected]
- Bump to 2.28.0
* Tue Sep 08 2009 - [email protected]
- Bump to 2.27.2
* Thu Aug 27 2009 - [email protected]
- Bump to 2.27.1.
* Mon Jun 08 2009 - [email protected]
- Bump to 2.26.2.
* Wed Apr 15 2009 - [email protected]
- Bump to 2.26.1.
* Tue Mar 17 2009 - [email protected]
- Bump to 2.26.0.
* Fri Mar 13 2009 - [email protected]
- Bump to 2.25.1.
* Wed Mar 11 2009 - [email protected]
- Took the ownership of this spec file.
* Mon Sep 29 2008 - [email protected]
- Bump to 2.24.0.
* Tue May 27 2008 - [email protected]
- Bump to 2.22.1.
* Mon Mar 10 2008 - [email protected]
- Bump to 2.22.0.
* Fri Oct 19 2007 - [email protected]
- Bump to 2.20.1.
* Tue Sep 18 2007 - [email protected]
- Bump to 2.20.0.
* Tue Jul 03 2007 - [email protected]
- Bump to 2.18.2.
* Tue Apr 10 2007 - [email protected]
- Bump to 2.18.1.
* Tue Mar 13 2007 - [email protected]
- Bump to 2.18.0.
* Tue Oct 03 2006 - [email protected]
- Bump to 2.16.1.
* Tue Sep 05 2006 - [email protected]
- Bump to 2.16.0.
* Mon Sep 04 2006 - [email protected]
- Single threaded 'make' call because multi-threaded one often fails.
* Wed Aug 16 2006 - [email protected]
- dos2unix some xml files that were breaking the build.
* Wed Aug 09 2006 - [email protected]
- Bump to 2.15.1.
* Tue Apr 11 2006 - [email protected]
- Bump to 2.14.2.
* Fri Apr 10 2006 - [email protected]
- Bump to 2.14.1.
* Mon Mar 13 2006 - [email protected]
- Bump to 2.14.0.
* Wed Feb 22 2006 - [email protected]
- Correct %setup dir name for new tarball.
* Tue Feb 21 2006 - [email protected]
- Bump to 2.13.1.1.
* Thu Dec 08 2005 - [email protected]
- Remove l10n stuff and associated patches. Not maintained for OpenSolaris.
* Tue Nov 29 2005 - [email protected]
- remove javahelp stuff.
* Mon Aug 15 2005 - [email protected]
- Bump to 2.8.1.
* Fri Jul 15 2005 - [email protected]
- Use Linux docs tarballs on Solaris because some omf files missing.
* Mon Jun 20 2005 - [email protected]
- Update l10n tarball to 1.3.
* Thu May 05 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-AG-0.10linux) from [email protected].
* Wed May 04 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-AG-0.9linux) from [email protected].
- Updated docs tarball (gnome-user-docs-SAG-0.17linux) from 
  [email protected].
* Thu Apr 21 2005 - [email protected]
- Updated docs (gnome-user-docs-ORMS-0.12linux) from [email protected].
* Fri Apr 08 2005 - [email protected]
- Updated docs (gnome-user-docs-ORMS-0.11linux) from [email protected].
* Fri Apr 08 2005 - [email protected]
- Reinsert Prereq for scrollkeeper which was in B28 that governs the
  whereabout this rpm resides on the disk. Currently, gnome-user-docs
  sitting on CD1 seems to cause scriptlet failure during install no
  matter whatever is the content of the postinstall scriptlet.
* Thu Apr 07 2005 - [email protected]
- Updated docs (gnome-user-docs-ORMS-0.10linux) from [email protected].
* Wed Apr 06 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.28linux) from [email protected].
- Updated docs (gnome-user-docs-ORMS-0.9linux) from [email protected].
* Mon Apr 04 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.27linux) from [email protected].
* Thu Mar 31 2005 - [email protected]
- Putback the Requires dependency and also postinstall script for Update
  only to fix 6245485.
* Thu Mar 31 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-SAG-0.16linux) from 
  [email protected].
* Mon Mar 21 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.26linux) from [email protected].
* Fri Mar 11 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-AG-0.8linux) from [email protected].
- Updated docs (gnome-user-docs-ORMS-0.8linux) from [email protected].
* Wed Mar 09 2005 - [email protected]
- Updated patches/gnome-user-docs-01-l10n-online-help.diff to add online_update
* Fri Feb 25 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.25linux) from [email protected].
* Mon Feb 21 2005 - [email protected]
- Updated docs (gnome-user-docs-ORMS-0.7linux) from [email protected].
* Wed Feb 16 2005 - [email protected]
- Updated docs (gnome-user-docs-ORMS-0.6linux) from [email protected].
* Fri Feb 11 2005 - [email protected]
- Updated docs (gnome-user-docs-ORMS-0.5linux) from [email protected].
* Wed Feb 09 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-AG-0.7linux) from [email protected].
- Updated docs (gnome-user-docs-ORMS-0.4linux) from [email protected].
* Tue Feb 08 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.24linux) from [email protected].
* Tue Jan 25 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.23linux) from [email protected].
* Fri Jan 14 2005 - [email protected]
- Updated docs tarball (gnome-user-docs-SAG-0.15linux) from 
  [email protected].
* Thu Dec 16 2004 - [email protected]
- Update l10n help tarball to use linux version.
* Fri Dec 10 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-SAG-0.14linux) from 
  [email protected].
- Updated docs tarball (gnome-user-docs-AG-0.6linux) from [email protected].
* Fri Dec  3 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.22linux) from [email protected].
- Updated gnome-user-docs-09-linux-user-guide.diff to add new file, 
  appendixa.xml.
- Updated docs (gnome-user-docs-ORMS-0.2linux) from [email protected].
* Thu Nov 25 2004 - [email protected]
- Fix 6197994: Add Linux-specific patches to remove references to files not in
  the Linux docs tarballs and add files that are (but not in Solaris tarball).
* Fri Nov 12 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.21solaris) from 
  [email protected].
- Updated docs tarball (gnome-user-docs-ORMS) from [email protected].
  Added '%ifos solaris' to handle this Solaris version of the tarball.
* Thu Nov 11 2004 - [email protected]
- Update docs tarball (gnome-user-docs-AG-0.5) from [email protected]. Update
  patch gnome-user-docs-07-access_guide.diff to add new file.
* Tue Nov  2 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.20linux) from [email protected].
* Tue Oct 26 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-SAG) from [email protected].
  Added '%ifos solaris' to handle this Solaris version of the tarball.
* Thu Oct 21 2004 - [email protected]
- #6179792, fix permissions problem with some loading help files.
* Fri Oct 15 2004 - [email protected]
- Change patch1 order not to overwride by tar.
- Updated l10n help tarball.  gnome-user-docs-l10n-online-help-ci.tar.bz2.
* Wed Oct  6 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-ORMS-0.5) from [email protected].
* Thu Sep 30 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.19ssolaris) from 
  [email protected].
- Update docs tarball (gnome-user-docs-AG-0.4) from [email protected]. Update
  patch gnome-user-docs-07-access_guide.diff to add two new files.
* Fri Sep 24 2004 - [email protected]
- Change UG-0.18sparc tarball to UG-0.18solaris and use for x86 and sparc at
  request of Brian.
* Thu Sep 23 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.18sparc) from [email protected].
  This is sparc only so '%ifarch sparc' is used.
* Wed Sep 22 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-UG-0.17) from [email protected].
* Tue Sep 21 2004 - [email protected]
- Updated docs tarball (gnome-user-docs-ORMS-0.4) from [email protected].
* Sun Sep 19 2004 - [email protected]
- fix file permissions.
* Thu Sep 02 2004 - [email protected]
- Integrated updated docs tarball from [email protected].
- Added javahelp-convert for new docs. Also updated orms patch.
* Wed Sep 01 2004 - [email protected]
- Added javahelp-convert for mozilla_info/office_info/sample_apps_info.
* Tue Aug 31 2004 - [email protected]
- Update docs tarball (gnome-user-docs-UG-0.16) from [email protected].
* Wed Aug 25 2004 - [email protected]
- Updated l10n help contents.
* Fri Aug 20 2004 - [email protected]
- Integrated updated docs tarball from [email protected].
* Thu Aug 19 2004 - [email protected]
- Add docs tarball (gnome-user-docs-ORMS-0.1) from [email protected].
- Update docs tarball (gnome-user-docs-AG-0.3) from [email protected].
* Thu Aug 19 2004 - [email protected]
- Updated /usr/share/gnome/help/user-guide/*/*.xml to 0755 for integration.
* Mon Aug 16 2004 - [email protected]
- Updated /usr/share/gnome/help/user-guide/*/*.xml to 0644 for Solaris
  integration.
* Thu Aug 12 2004 - [email protected]
- Update docs tarball (gnome-user-docs-UG-0.15) from [email protected].
* Wed Aug 11 2004 - [email protected]
- Add new docs tarball (gnome-user-docs-SAG-0.12.tar.bz2) from
  [email protected].
* Sun Jul 11 2004 - [email protected]
- Remove javahelp-convert-install code for quick start guide.
* Sat Jul 10 2004 - [email protected]
- Remove javahelp-convert-install code for introduction-to-gnome.
* Fri Jul 09 2004 - [email protected]
- Disable patch 3 that adds sun-desktop (aka quick start user guide) Makefiles.
  This fixes bug 5072270.
* Wed Jul 07 2004 - [email protected]
- Add accessibility tarball and patch.
* Wed Jul 07 2004 - [email protected]
- Add new docs tarball (gnome-user-docs-SAG-0.11.tar.bz2) from
  [email protected]. Add patch gnome-user-docs-06-sag_update.diff to
  incorporate these docs.
* Wed Jul 07 2004 - [email protected]
- added "-j $CPUS" to make to speed up builds.
* Mon Jul 05 2004 - [email protected]
- Update new docs tarball (gnome-user-docs-UG-0.14) from [email protected].
* Mon Jun 14 2004 - [email protected]
- Add patch to comment out omf_dest_dir assignment in
  gnome2-user-guide/C/Makefile.am. Old docs tarball had its own Makefile.am
  which hid this issue.
* Thu Jun 10 2004 - [email protected]
- Incorporate new docs tarball from [email protected].
* Fri May 28 2004 - [email protected]
- Incorporate new docs tarball from [email protected].
* Tue May 04 2004 - [email protected]
- Remove jdstoc (Master Help set for Javahelp), now delivered
  in it's own module "jdstoc".
* Sun Apr 18 2004 - [email protected]
- enable javahelp conversion on Solaris.
* Thu Apr 15 2004 Matt Keenan <[email protected]>
- Added jdstoc (Master Help Set for Javahelp).
* Wed Apr 14 2004 Matt Keenan <[email protected]>
- Patch to ensure preface.xml is installed for user-guide.
* Mon Apr 05 2004 Dermot McCluskey <[email protected]>
- new tarball: gnome-user-docs-UG-SAG-0.09.tar.bz2 (Makefile.am error).
* Thu Apr 01 2004 Matt Keenan <[email protected]>
- Javahelp conversion.
* Thu Apr 01 2004 Dermot McCluskey <[email protected]>
- update UG-SAG tarball to gnome-user-docs-UG-SAG-0.08.tar.bz2.
* Thu Feb 19 2004 Matt Keenan <[email protected]>
- Update to 2.5.0, report patches.
* Sat Oct 18 2003 Laszlo Peter <[email protected]>
- Update to 2.4.1.
* Fri Sep 26 2003 Laszlo Peter <[email protected]>
- Updated the user's guide.
* Tue Aug 26 2003 Michael Twomey <[email protected]>
- Updated to 0.2 l10n docs tarball to fix seriesid issues.
- Changing to use just scrollkeeper-update to fix i18n issues.
* Mon Aug 18 2003 Matt Keenan <[email protected]>
- Added new sun-section.
* Wed Jul 16 2003 Michael Twomey <[email protected]>
- Updated to newer l10n docs tarball.
* Fri Jul 11 2003 Laca Peter <[email protected]>
- Initial version.