gnome-user-docs.spec
author dc144907
Wed, 07 Jul 2004 11:33:55 +0000
changeset 3265 3bb190bda7ca
parent 3263 3c14210c0b99
child 3283 3d932597ccfd
permissions -rw-r--r--
* patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to patch as this is now in the UG tarball. * gnome-user-docs.spec: 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. * evolution.spec: Updated docs tarball submitted by [email protected].
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
     1
#
601
7a2f75f5bd95 2003-07-16 Mark McLoughlin <[email protected]>
markmc
parents: 575
diff changeset
     2
# Copyright (c) Sun Microsystems, Inc.
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
     3
#
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
     4
Name:		        gnome-user-docs
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
     5
License:		FDL
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
     6
Group:			Documentation
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
     7
BuildArchitectures:	noarch
1834
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
     8
Version:		2.5.0
3224
8ca3f4526524 Incremented release numbers for Cinnabar build 12
woos
parents: 3140
diff changeset
     9
Release:		18
1834
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    10
Distribution:		Cinnabar
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 552
diff changeset
    11
Vendor:			Sun Microsystems, Inc.
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    12
Summary:		User Documentation for the GNOME desktop
1030
cb9490d74ef4 2003-08-11 Glynn Foster <[email protected]>
gman
parents: 1025
diff changeset
    13
Source:		        http://ftp.gnome.org/pub/GNOME/sources/gnome2-user-docs/2.0/gnome2-user-docs-%{version}.tar.bz2	
1128
7ffe8bb4b454 Updating l10n docs to fix series id issues and also tweaked specs to fix i18n build issues and gconf schemas install problems
mick
parents: 1119
diff changeset
    14
Source1:	        gnome2-user-guide-l10n-online-help-0.2.tar.bz2
3250
c91d1008b0a8 gnome-user-docs.spec: Update new docs tarball (gnome-user-docs-UG-0.14)
dc144907
parents: 3224
diff changeset
    15
Source2:                gnome-user-docs-UG-0.14.tar.bz2
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    16
Source3:		quick-start-user-guide-0.5.tar.bz2
3265
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
    17
Source4:		gnome-user-docs-SAG-0.11.tar.bz2
1834
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    18
Patch1:		   	gnome-user-docs-01-add-l10n-online-help.diff
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    19
Patch2:		   	gnome-user-docs-02-sun-desktop-section.diff
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    20
Patch3:                 gnome-user-docs-03-add-l10n-docs.diff
2457
6fb2914e7c72 preface.xml not getting installed for user-guide, causing javahelp-convert to fail
mattk
parents: 2456
diff changeset
    21
Patch4:                 gnome-user-docs-04-preface-xml.diff
3140
4016d04006bf * gnome-user-docs.spec: Add patch to comment out omf_dest_dir assignment in gnome2-user-guide/C/Makefile.am. Old docs tarball had its own
dc144907
parents: 3120
diff changeset
    22
Patch5:                 gnome-user-docs-05-omfdestdir.diff
3265
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
    23
Patch6:                 gnome-user-docs-06-sag_update.diff
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    24
URL:			http://developer.gnome.org/projects/gdp/
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    25
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    26
Docdir:			%{_defaultdocdir}/doc
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    27
1281
981e734832fd 2003-10-18 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
    28
%define			scrollkeeper_version 0.3.12
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    29
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    30
Requires:		scrollkeeper >= %{scrollkeeper_version}
2651
7d94ed103e18 2004-05-06 Glynn Foster <[email protected]>
gman
parents: 2648
diff changeset
    31
BuildRequires:		javahelp-convert
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    32
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    33
%description
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    34
This package contains general GNOME user documentation which is not 
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    35
directly associated with any particular GNOME application or package.
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    36
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    37
%prep
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    38
%setup -q -n gnome2-user-docs-%{version}
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1281
diff changeset
    39
bzcat %SOURCE1 | tar xf -
1106
eda36f060292 New rev for gnome-user-docs_docs.tar.bz2, now called
dermotm
parents: 1095
diff changeset
    40
rm -Rf gnome2-user-guide/C/figures
1826
62fe5cab6cd2 Change 'tar jxf' to 'bzcat | tar xf'.
dc144907
parents: 1609
diff changeset
    41
bzcat %SOURCE2 | tar xf -
62fe5cab6cd2 Change 'tar jxf' to 'bzcat | tar xf'.
dc144907
parents: 1609
diff changeset
    42
bzcat %SOURCE3 | tar xf -
3265
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
    43
bzcat %SOURCE4 | tar xf -
1834
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    44
%patch1 -p1
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    45
%patch2 -p1
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
    46
%patch3 -p1
2457
6fb2914e7c72 preface.xml not getting installed for user-guide, causing javahelp-convert to fail
mattk
parents: 2456
diff changeset
    47
%patch4 -p1
3140
4016d04006bf * gnome-user-docs.spec: Add patch to comment out omf_dest_dir assignment in gnome2-user-guide/C/Makefile.am. Old docs tarball had its own
dc144907
parents: 3120
diff changeset
    48
%patch5 -p1
3265
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
    49
%patch6 -p1
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    50
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    51
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    52
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    53
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    54
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    55
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    56
%else
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    57
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    58
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    59
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    60
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    61
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    62
538
45337f7599fd add l10n help to gnome-user-docs
mlei
parents: 532
diff changeset
    63
libtoolize --force
1522
c8efb7f0f398 2004-01-10 Laszlo Peter <[email protected]>
laca
parents: 1281
diff changeset
    64
aclocal -I %{_datadir}/aclocal/gnome2-macros
538
45337f7599fd add l10n help to gnome-user-docs
mlei
parents: 532
diff changeset
    65
automake -a -c -f
45337f7599fd add l10n help to gnome-user-docs
mlei
parents: 532
diff changeset
    66
autoconf
45337f7599fd add l10n help to gnome-user-docs
mlei
parents: 532
diff changeset
    67
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    68
./configure --prefix=%{_prefix}			\
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    69
            --datadir=%{_datadir}
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
    70
make -j $CPUS
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    71
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    72
%install
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    73
rm -rf $RPM_BUILD_ROOT
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    74
make install DESTDIR=$RPM_BUILD_ROOT
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    75
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    76
javahelp-convert-install $RPM_BUILD_ROOT gnome-access-guide gnome-access-guide.xml
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    77
javahelp-convert-install $RPM_BUILD_ROOT introduction-to-gnome introduction-to-gnome.xml
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    78
javahelp-convert-install $RPM_BUILD_ROOT quick-start-user-guide quick-start-user-guide.xml
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    79
javahelp-convert-install $RPM_BUILD_ROOT system-admin-guide system-admin-guide.xml
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    80
javahelp-convert-install $RPM_BUILD_ROOT user-guide user-guide.xml
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    81
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    82
%clean
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    84
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    85
%post
612
2da04438f9e0 2003-07-17 Glynn Foster <[email protected]>
gman
parents: 602
diff changeset
    86
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    87
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    88
%postun
612
2da04438f9e0 2003-07-17 Glynn Foster <[email protected]>
gman
parents: 602
diff changeset
    89
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    90
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    91
%files
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    92
%defattr(-,root,root)
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    93
%doc COPYING COPYING-DOCS AUTHORS README ChangeLog NEWS INSTALL
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    94
%{_datadir}/gnome/help/*
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
    95
%{_datadir}/gnome/javahelp/*
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    96
%{_datadir}/omf/*
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    97
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
    98
%changelog
3265
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
    99
* Wed Jul 07 2004 - [email protected]
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
   100
- Add new docs tarball (gnome-user-docs-SAG-0.11.tar.bz2) from
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
   101
  [email protected]. Add patch gnome-user-docs-06-sag_update.diff to
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
   102
  incorporate these docs.
3bb190bda7ca * patches/gnome-user-docs-04-preface-xml.diff: Add mouseconv.xml to
dc144907
parents: 3263
diff changeset
   103
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
   104
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
   105
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3250
diff changeset
   106
3250
c91d1008b0a8 gnome-user-docs.spec: Update new docs tarball (gnome-user-docs-UG-0.14)
dc144907
parents: 3224
diff changeset
   107
* Mon Jul 05 2004 - [email protected]
c91d1008b0a8 gnome-user-docs.spec: Update new docs tarball (gnome-user-docs-UG-0.14)
dc144907
parents: 3224
diff changeset
   108
- Update new docs tarball (gnome-user-docs-UG-0.14) from [email protected]
3140
4016d04006bf * gnome-user-docs.spec: Add patch to comment out omf_dest_dir assignment in gnome2-user-guide/C/Makefile.am. Old docs tarball had its own
dc144907
parents: 3120
diff changeset
   109
* Mon Jun 14 2004 - [email protected]
4016d04006bf * gnome-user-docs.spec: Add patch to comment out omf_dest_dir assignment in gnome2-user-guide/C/Makefile.am. Old docs tarball had its own
dc144907
parents: 3120
diff changeset
   110
- Add patch to comment out omf_dest_dir assignment in
4016d04006bf * gnome-user-docs.spec: Add patch to comment out omf_dest_dir assignment in gnome2-user-guide/C/Makefile.am. Old docs tarball had its own
dc144907
parents: 3120
diff changeset
   111
  gnome2-user-guide/C/Makefile.am. Old docs tarball had its own Makefile.am
4016d04006bf * gnome-user-docs.spec: Add patch to comment out omf_dest_dir assignment in gnome2-user-guide/C/Makefile.am. Old docs tarball had its own
dc144907
parents: 3120
diff changeset
   112
  which hid this issue.
3088
4374a4d31776 * gnome-user-docs.spec: Incorporate new docs tarball from [email protected]
dc144907
parents: 2958
diff changeset
   113
* Thu Jun 10 2004 - [email protected]
4374a4d31776 * gnome-user-docs.spec: Incorporate new docs tarball from [email protected]
dc144907
parents: 2958
diff changeset
   114
- Incorporate new docs tarball from [email protected]
2943
483568ffed01 gnome-user-docs.spec: Incorporate new docs tarball from [email protected].
dc144907
parents: 2777
diff changeset
   115
* Fri May 28 2004 - [email protected]
483568ffed01 gnome-user-docs.spec: Incorporate new docs tarball from [email protected].
dc144907
parents: 2777
diff changeset
   116
- Incorporate new docs tarball from [email protected]
2648
a8ce6c76a912 Fix bad changelog date
mattk
parents: 2640
diff changeset
   117
* Tue May 04 2004 - [email protected]
2640
312ecefaba0f New jdstoc component, remove jdstoc stuff from gnome-user-docs
mattk
parents: 2619
diff changeset
   118
- Remove jdstoc (Master Help set for Javahelp), now delivered
312ecefaba0f New jdstoc component, remove jdstoc stuff from gnome-user-docs
mattk
parents: 2619
diff changeset
   119
- in it's own module "jdstoc"
2485
acf1c4f9b7c2 2004-04-18 Laszlo Peter <[email protected]>
laca
parents: 2472
diff changeset
   120
* Sun Apr 18 2004 - [email protected]
acf1c4f9b7c2 2004-04-18 Laszlo Peter <[email protected]>
laca
parents: 2472
diff changeset
   121
- enable javahelp conversion on Solaris
2472
e57830dba9d0 Javahelp Master Helpset
mattk
parents: 2457
diff changeset
   122
* Thu Apr 15 2004 Matt Keenan <[email protected]>
e57830dba9d0 Javahelp Master Helpset
mattk
parents: 2457
diff changeset
   123
- Added jdstoc (Master Help Set for Javahelp)
2457
6fb2914e7c72 preface.xml not getting installed for user-guide, causing javahelp-convert to fail
mattk
parents: 2456
diff changeset
   124
* Wed Apr 14 2004 Matt Keenan <[email protected]>
6fb2914e7c72 preface.xml not getting installed for user-guide, causing javahelp-convert to fail
mattk
parents: 2456
diff changeset
   125
- Patch to ensure preface.xml is installed for user-guide
2389
806b1928172e gnome-user-docs.spec: new UG-SAG tarball
dermotm
parents: 2368
diff changeset
   126
* Mon Apr 05 2004 Dermot McCluskey <[email protected]>
806b1928172e gnome-user-docs.spec: new UG-SAG tarball
dermotm
parents: 2368
diff changeset
   127
- new tarball: gnome-user-docs-UG-SAG-0.09.tar.bz2 (Makefile.am error)
2362
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
   128
* Thu Apr 01 2004 Matt Keenan <[email protected]>
ef2590f64b05 Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents: 2360
diff changeset
   129
- Javahelp conversion
2368
fa1ca4edc1da gnome-user-docs.spec: Fix bad date in %changelog (4002 -> 2004).
dc144907
parents: 2362
diff changeset
   130
* Thu Apr 01 2004 Dermot McCluskey <[email protected]>
2360
a9c8bff119ad gnome-user-docs.spec : new UG-SAG docs tarball
dermotm
parents: 2280
diff changeset
   131
- update UG-SAG tarball to gnome-user-docs-UG-SAG-0.08.tar.bz2
1834
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
   132
* Thu Feb 19 2004 Matt Keenan <[email protected]>
0d7b6c521217 Bump to 2.5.0
mattk
parents: 1826
diff changeset
   133
- Update to 2.5.0, report patches
1281
981e734832fd 2003-10-18 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
   134
* Sat Oct 18 2003 Laszlo Peter <[email protected]>
981e734832fd 2003-10-18 Laszlo Peter <[email protected]>
re
parents: 1195
diff changeset
   135
- Update to 2.4.1
1169
83bb110547f4 integrate Sun docs
laca
parents: 1157
diff changeset
   136
* Fri Sep 26 2003 Laszlo Peter <[email protected]>
83bb110547f4 integrate Sun docs
laca
parents: 1157
diff changeset
   137
- Updated the user's guide
1128
7ffe8bb4b454 Updating l10n docs to fix series id issues and also tweaked specs to fix i18n build issues and gconf schemas install problems
mick
parents: 1119
diff changeset
   138
* Tue Aug 26 2003 Michael Twomey <[email protected]>
7ffe8bb4b454 Updating l10n docs to fix series id issues and also tweaked specs to fix i18n build issues and gconf schemas install problems
mick
parents: 1119
diff changeset
   139
- Updated to 0.2 l10n docs tarball to fix seriesid issues.
7ffe8bb4b454 Updating l10n docs to fix series id issues and also tweaked specs to fix i18n build issues and gconf schemas install problems
mick
parents: 1119
diff changeset
   140
- Changing to use just scrollkeeper-update to fix i18n issues.
1095
b1b3db631cc2 Stopper : #4904264
mattk
parents: 1030
diff changeset
   141
* Mon Aug 18 2003 Matt Keenan <[email protected]>
b1b3db631cc2 Stopper : #4904264
mattk
parents: 1030
diff changeset
   142
- Added new sun-section
602
761fb64b0903 Updated to newer l10n docs tarball.
mick
parents: 601
diff changeset
   143
* Wed Jul 16 2003 Michael Twomey <[email protected]>
761fb64b0903 Updated to newer l10n docs tarball.
mick
parents: 601
diff changeset
   144
- Updated to newer l10n docs tarball.
532
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
   145
* Fri Jul 11 2003 Laca Peter <[email protected]>
e239002e7d01 added gnome-user-docs
laca
parents:
diff changeset
   146
- Initial version