gnome-user-docs.spec
author dc144907
Tue, 31 Aug 2004 15:34:30 +0000
changeset 3803 34da3e763f22
parent 3734 aa2188afdffc
child 3809 7c40bf636bf4
permissions -rw-r--r--
* gnome-user-docs.spec: Update docs tarball (gnome-user-docs-UG-0.16) from [email protected]. * patches/gnome-user-docs-04-preface-xml.diff: Add new file included in updated UG tarball.

#
# Copyright (c) Sun Microsystems, Inc.
#
Name:		        gnome-user-docs
License:		FDL
Group:			Documentation
BuildArchitectures:	noarch
Version:		2.5.0
Release:		22
Distribution:		Cinnabar
Vendor:			Sun Microsystems, Inc.
Summary:		User Documentation for the GNOME desktop
Source:		        http://ftp.gnome.org/pub/GNOME/sources/gnome2-user-docs/2.0/gnome2-user-docs-%{version}.tar.bz2	
Source1:	        gnome-user-docs-l10n-online-help-ci.tar.bz2
Source2:                gnome-user-docs-UG-0.16.tar.bz2
Source3:		quick-start-user-guide-0.5.tar.bz2
Source4:		gnome-user-docs-SAG-0.12.tar.bz2
Source5:		gnome-user-docs-AG-0.3.tar.bz2
Source6:		gnome-user-docs-ORMS-0.2.tar.bz2
Patch1:		   	gnome-user-docs-01-l10n-online-help.diff
Patch2:		   	gnome-user-docs-02-sun-desktop-section.diff
Patch3:                 gnome-user-docs-03-add-l10n-docs.diff
Patch4:                 gnome-user-docs-04-preface-xml.diff
Patch5:                 gnome-user-docs-05-omfdestdir.diff
Patch6:                 gnome-user-docs-06-sag_update.diff
Patch7:                 gnome-user-docs-07-access_guide.diff
Patch8:                 gnome-user-docs-08-orms.diff
URL:			http://developer.gnome.org/projects/gdp/
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
Docdir:			%{_defaultdocdir}/doc

%define			scrollkeeper_version 0.3.12

Requires:		scrollkeeper >= %{scrollkeeper_version}
BuildRequires:		javahelp-convert

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

%prep
%setup -q -n gnome2-user-docs-%{version}
rm -Rf gnome2-user-guide/C/figures
bzcat %SOURCE2 | tar xf -
bzcat %SOURCE3 | tar xf -
bzcat %SOURCE4 | tar xf -
bzcat %SOURCE5 | tar xf -
bzcat %SOURCE6 | tar xf -
bzcat %SOURCE1 | tar xf -
%patch1 -p1
%patch2 -p1
# %patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -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`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
  CPUS=1
fi

libtoolize --force
aclocal -I %{_datadir}/aclocal/gnome2-macros
automake -a -c -f
autoconf

./configure --prefix=%{_prefix}			\
            --datadir=%{_datadir}
make -j $CPUS

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
chmod 0755 $RPM_BUILD_ROOT%{_datadir}/gnome/help/user-guide/*/*.xml

javahelp-convert-install $RPM_BUILD_ROOT gnome-access-guide gnome-access-guide.xml
javahelp-convert-install $RPM_BUILD_ROOT system-admin-guide system-admin-guide.xml
javahelp-convert-install $RPM_BUILD_ROOT user-guide user-guide.xml

%clean
rm -rf $RPM_BUILD_ROOT

%post
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi

%postun
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi

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

%changelog
* 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