1 # 2 # spec file for package gnome-user-docs 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: dcarbery 9 # 10 Name: gnome-user-docs 11 License: FDL 12 Group: Documentation 13 BuildArchitectures: noarch 14 Version: 2.16.1 15 Release: 48 16 Distribution: Java Desktop System 17 Vendor: Sun Microsystems, Inc. 18 Summary: User Documentation for the GNOME desktop 19 Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-user-docs/2.16/gnome-user-docs-%{version}.tar.bz2 20 URL: http://developer.gnome.org/projects/gdp/ 21 BuildRoot: %{_tmppath}/%{name}-%{version}-build 22 Docdir: %{_defaultdocdir}/doc 23 24 %define scrollkeeper_version 0.3.12 25 26 Prereq: scrollkeeper >= %{scrollkeeper_version} 27 Requires: scrollkeeper >= %{scrollkeeper_version} 28 29 %description 30 This package contains general GNOME user documentation which is not 31 directly associated with any particular GNOME application or package. 32 33 %prep 34 %setup -q -n gnome-user-docs-%{version} 35 for f in gnome2-user-guide/bg/*.xml gnome2-user-guide/zh_CN/*.xml; do 36 dos2unix -ascii $f $f 37 done 38 39 40 %build 41 %ifos linux 42 if [ -x /usr/bin/getconf ]; then 43 CPUS=`getconf _NPROCESSORS_ONLN` 44 fi 45 %else 46 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 47 %endif 48 if test "x$CPUS" = "x" -o $CPUS = 0; then 49 CPUS=1 50 fi 51 52 libtoolize --force 53 aclocal $ACLOCAL_FLAGS 54 automake -a -c -f 55 autoconf 56 57 ./configure --prefix=%{_prefix} \ 58 --datadir=%{_datadir} \ 59 --disable-scrollkeeper 60 make 61 62 %install 63 rm -rf $RPM_BUILD_ROOT 64 make install DESTDIR=$RPM_BUILD_ROOT 65 chmod -R a+rX $RPM_BUILD_ROOT%{_datadir}/gnome/help 66 67 %clean 68 rm -rf $RPM_BUILD_ROOT 69 70 %post 71 if [ "$1" = "2" ] ; then # upgrade 72 if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update -q; fi 73 fi 74 75 %files 76 %defattr(-,root,root) 77 %doc COPYING COPYING-DOCS AUTHORS README ChangeLog NEWS INSTALL 78 %{_datadir}/gnome/help/* 79 %{_datadir}/omf/* 80 81 %changelog 82 * Tue Oct 03 2006 - damien.carbery@sun.com 83 - Bump to 2.16.1. 84 * Tue Sep 05 2006 - damien.carbery@sun.com 85 - Bump to 2.16.0. 86 * Mon Sep 04 2006 - damien.carbery@sun.com 87 - Single threaded 'make' call because multi-threaded one often fails. 88 * Wed Aug 16 2006 - damien.carbery@sun.com 89 - dos2unix some xml files that were breaking the build. 90 * Wed Aug 09 2006 - damien.carbery@sun.com 91 - Bump to 2.15.1. 92 * Tue Apr 11 2006 - damien.carbery@sun.com 93 - Bump to 2.14.2. 94 * Fri Apr 10 2006 - damien.carbery@sun.com 95 - Bump to 2.14.1. 96 * Mon Mar 13 2006 - damien.carbery@sun.com 97 - Bump to 2.14.0. 98 * Wed Feb 22 2006 - damien.carbery@sun.com 99 - Correct %setup dir name for new tarball. 100 * Tue Feb 21 2006 - damien.carbery@sun.com 101 - Bump to 2.13.1.1. 102 * Thu Dec 08 2005 - damien.carbery@sun.com 103 - Remove l10n stuff and associated patches. Not maintained for OpenSolaris. 104 * Tue Nov 29 2005 - laca@sun.com 105 - remove javahelp stuff 106 * Mon Aug 15 2005 - damien.carbery@sun.com 107 - Bump to 2.8.1. 108 * Fri Jul 15 2005 - damien.carbery@sun.com 109 - Use Linux docs tarballs on Solaris because some omf files missing. 110 * Mon Jun 20 2005 - matt.keenan@sun.com 111 - Update l10n tarball to 1.3 112 * Thu May 05 2005 - damien.carbery@sun.com 113 - Updated docs tarball (gnome-user-docs-AG-0.10linux) from irene.ryan@sun.com. 114 * Wed May 04 2005 - damien.carbery@sun.com 115 - Updated docs tarball (gnome-user-docs-AG-0.9linux) from irene.ryan@sun.com. 116 - Updated docs tarball (gnome-user-docs-SAG-0.17linux) from 117 eugene.oconnor@sun.com. 118 * Thu Apr 21 2005 - damien.carbery@sun.com 119 - Updated docs (gnome-user-docs-ORMS-0.12linux) from maeve.anslow@sun.com. 120 * Fri Apr 08 2005 - damien.carbery@sun.com 121 - Updated docs (gnome-user-docs-ORMS-0.11linux) from irene.ryan@sun.com. 122 * Fri Apr 08 2005 - ghee.teo@sun.com 123 - Reinsert Prereq for scrollkeeper which was in B28 that governs the 124 whereabout this rpm resides on the disk. Currently, gnome-user-docs 125 sitting on CD1 seems to cause scriptlet failure during install no 126 matter whatever is the content of the postinstall scriptlet. 127 * Thu Apr 07 2005 - damien.carbery@sun.com 128 - Updated docs (gnome-user-docs-ORMS-0.10linux) from maeve.anslow@sun.com. 129 * Wed Apr 06 2005 - damien.carbery@sun.com 130 - Updated docs tarball (gnome-user-docs-UG-0.28linux) from brian.casey@sun.com. 131 - Updated docs (gnome-user-docs-ORMS-0.9linux) from maeve.anslow@sun.com. 132 * Mon Apr 04 2005 - damien.carbery@sun.com 133 - Updated docs tarball (gnome-user-docs-UG-0.27linux) from brian.casey@sun.com. 134 * Thu Mar 31 2005 - ghee.teo@sun.com 135 - Putback the Requires dependency and also postinstall script for Update 136 only to fix 6245485. 137 * Thu Mar 31 2005 - damien.carbery@sun.com 138 - Updated docs tarball (gnome-user-docs-SAG-0.16linux) from 139 eugene.oconnor@sun.com. 140 * Mon Mar 21 2005 - damien.carbery@sun.com 141 - Updated docs tarball (gnome-user-docs-UG-0.26linux) from brian.casey@sun.com. 142 * Fri Mar 11 2005 - damien.carbery@sun.com 143 - Updated docs tarball (gnome-user-docs-AG-0.8linux) from irene.ryan@sun.com. 144 - Updated docs (gnome-user-docs-ORMS-0.8linux) from irene.ryan@sun.com. 145 * Wed Mar 09 2005 - kazuhiko.maekawa@sun.com 146 - Updated patches/gnome-user-docs-01-l10n-online-help.diff to add online_update 147 * Fri Feb 25 2005 - damien.carbery@sun.com 148 - Updated docs tarball (gnome-user-docs-UG-0.25linux) from irene.ryan@sun.com. 149 * Mon Feb 21 2005 - damien.carbery@sun.com 150 - Updated docs (gnome-user-docs-ORMS-0.7linux) from maeve.anslow@sun.com. 151 * Wed Feb 16 2005 - damien.carbery@sun.com 152 - Updated docs (gnome-user-docs-ORMS-0.6linux) from irene.ryan@sun.com. 153 * Fri Feb 11 2005 - damien.carbery@sun.com 154 - Updated docs (gnome-user-docs-ORMS-0.5linux) from irene.ryan@sun.com. 155 * Wed Feb 09 2005 - damien.carbery@sun.com 156 - Updated docs tarball (gnome-user-docs-AG-0.7linux) from irene.ryan@sun.com. 157 - Updated docs (gnome-user-docs-ORMS-0.4linux) from maeve.anslow@sun.com. 158 * Tue Feb 08 2005 - damien.carbery@sun.com 159 - Updated docs tarball (gnome-user-docs-UG-0.24linux) from brian.casey@sun.com. 160 * Tue Jan 25 2005 - damien.carbery@sun.com 161 - Updated docs tarball (gnome-user-docs-UG-0.23linux) from brian.casey@sun.com. 162 * Fri Jan 14 2005 - damien.carbery@sun.com 163 - Updated docs tarball (gnome-user-docs-SAG-0.15linux) from 164 eugene.oconnor@sun.com. 165 * Thu Dec 16 2004 - kazuhiko.maekawa@sun.com 166 - Update l10n help tarball to use linux version 167 * Fri Dec 10 2004 - damien.carbery@sun.com 168 - Updated docs tarball (gnome-user-docs-SAG-0.14linux) from 169 eugene.oconnor@sun.com. 170 - Updated docs tarball (gnome-user-docs-AG-0.6linux) from irene.ryan@sun.com. 171 * Fri Dec 3 2004 - damien.carbery@sun.com 172 - Updated docs tarball (gnome-user-docs-UG-0.22linux) from brian.casey@sun.com. 173 - Updated gnome-user-docs-09-linux-user-guide.diff to add new file, 174 appendixa.xml. 175 - Updated docs (gnome-user-docs-ORMS-0.2linux) from maeve.anslow@sun.com. 176 * Thu Nov 25 2004 - damien.carbery@sun.com 177 - Fix 6197994: Add Linux-specific patches to remove references to files not in 178 the Linux docs tarballs and add files that are (but not in Solaris tarball). 179 * Fri Nov 12 2004 - damien.carbery@sun.com 180 - Updated docs tarball (gnome-user-docs-UG-0.21solaris) from 181 brian.casey@sun.com. 182 - Updated docs tarball (gnome-user-docs-ORMS) from maeve.anslow@sun.com. 183 Added '%ifos solaris' to handle this Solaris version of the tarball. 184 * Thu Nov 11 2004 - damien.carbery@sun.com 185 - Update docs tarball (gnome-user-docs-AG-0.5) from irene.ryan@sun.com. Update 186 patch gnome-user-docs-07-access_guide.diff to add new file. 187 * Tue Nov 2 2004 - damien.carbery@sun.com 188 - Updated docs tarball (gnome-user-docs-UG-0.20linux) from brian.casey@sun.com. 189 * Tue Oct 26 2004 - damien.carbery@sun.com 190 - Updated docs tarball (gnome-user-docs-SAG) from Eugene.oconnor@sun.com. 191 Added '%ifos solaris' to handle this Solaris version of the tarball. 192 * Thu Oct 21 2004 - matt.keenan@sun.com 193 - #6179792, fix permissions problem with some loading help files. 194 * Fri Oct 15 2004 - kazuhiko.maekawa@sun.com 195 - Change patch1 order not to overwride by tar 196 - Updated l10n help tarball. gnome-user-docs-l10n-online-help-ci.tar.bz2 197 * Wed Oct 6 2004 - damien.carbery@sun.com 198 - Updated docs tarball (gnome-user-docs-ORMS-0.5) from maeve.anslow@sun.com. 199 * Thu Sep 30 2004 - damien.carbery@sun.com 200 - Updated docs tarball (gnome-user-docs-UG-0.19ssolaris) from 201 brian.casey@sun.com. 202 - Update docs tarball (gnome-user-docs-AG-0.4) from irene.ryan@sun.com. Update 203 patch gnome-user-docs-07-access_guide.diff to add two new files. 204 * Fri Sep 24 2004 - damien.carbery@sun.com 205 - Change UG-0.18sparc tarball to UG-0.18solaris and use for x86 and sparc at 206 request of Brian. 207 * Thu Sep 23 2004 - damien.carbery@sun.com 208 - Updated docs tarball (gnome-user-docs-UG-0.18sparc) from brian.casey@sun.com. 209 This is sparc only so '%ifarch sparc' is used. 210 * Wed Sep 22 2004 - damien.carbery@sun.com 211 - Updated docs tarball (gnome-user-docs-UG-0.17) from brian.casey@sun.com. 212 * Tue Sep 21 2004 - damien.carbery@sun.com 213 - Updated docs tarball (gnome-user-docs-ORMS-0.4) from maeve.anslow@sun.com. 214 * Sun Sep 19 2004 - laca@sun.com 215 - fix file permissions 216 * Thu Sep 02 2004 - damien.carbery@sun.com 217 - Integrated updated docs tarball from patrick.costello@sun.com. 218 - Added javahelp-convert for new docs. Also updated orms patch. 219 * Wed Sep 01 2004 - matt.keenan@sun.com 220 - Added javahelp-convert for mozilla_info/office_info/sample_apps_info 221 * Tue Aug 31 2004 - damien.carbery@sun.com 222 - Update docs tarball (gnome-user-docs-UG-0.16) from brian.casey@sun.com. 223 * Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com 224 - Updated l10n help contents 225 * Fri Aug 20 2004 - damien.carbery@sun.com 226 - Integrated updated docs tarball from breda.mccolgan@sun.com. 227 * Thu Aug 19 2004 - damien.carbery@sun.com 228 - Add docs tarball (gnome-user-docs-ORMS-0.1) from breda.mccolgan@sun.com. 229 - Update docs tarball (gnome-user-docs-AG-0.3) from irene.ryan@sun.com 230 * Thu Aug 19 2004 - damien.carbery@sun.com 231 - Updated /usr/share/gnome/help/user-guide/*/*.xml to 0755 for integration. 232 * Mon Aug 16 2004 - damien.carbery@sun.com 233 - Updated /usr/share/gnome/help/user-guide/*/*.xml to 0644 for Solaris 234 integration. 235 * Thu Aug 12 2004 - damien.carbery@sun.com 236 - Update docs tarball (gnome-user-docs-UG-0.15) from brian.casey@sun.com 237 * Wed Aug 11 2004 - damien.carbery@sun.com 238 - Add new docs tarball (gnome-user-docs-SAG-0.12.tar.bz2) from 239 eugene.oconnor@sun.com. 240 * Sun Jul 11 2004 - damien.carbery@sun.com 241 - Remove javahelp-convert-install code for quick start guide. 242 * Sat Jul 10 2004 - damien.carbery@sun.com 243 - Remove javahelp-convert-install code for introduction-to-gnome. 244 * Fri Jul 09 2004 - damien.carbery@sun.com 245 - Disable patch 3 that adds sun-desktop (aka quick start user guide) Makefiles. 246 This fixes bug 5072270. 247 * Wed Jul 07 2004 - damien.carbery@sun.com 248 - Add accessibility tarball and patch. 249 * Wed Jul 07 2004 - damien.carbery@sun.com 250 - Add new docs tarball (gnome-user-docs-SAG-0.11.tar.bz2) from 251 eugene.oconnor@sun.com. Add patch gnome-user-docs-06-sag_update.diff to 252 incorporate these docs. 253 * Wed Jul 07 2004 - dermot.mccluskey@sun.com 254 - added "-j $CPUS" to make to speed up builds 255 * Mon Jul 05 2004 - damien.carbery@sun.com 256 - Update new docs tarball (gnome-user-docs-UG-0.14) from brian.casey@sun.com 257 * Mon Jun 14 2004 - damien.carbery@sun.com 258 - Add patch to comment out omf_dest_dir assignment in 259 gnome2-user-guide/C/Makefile.am. Old docs tarball had its own Makefile.am 260 which hid this issue. 261 * Thu Jun 10 2004 - damien.carbery@sun.com 262 - Incorporate new docs tarball from brian.casey@sun.com 263 * Fri May 28 2004 - damien.carbery@sun.com 264 - Incorporate new docs tarball from brian.casey@sun.com 265 * Tue May 04 2004 - matt.keenan@sun.com 266 - Remove jdstoc (Master Help set for Javahelp), now delivered 267 - in it's own module "jdstoc" 268 * Sun Apr 18 2004 - laca (at] sun.com 269 - enable javahelp conversion on Solaris 270 * Thu Apr 15 2004 Matt Keenan <matt.keenan (at] sun.com> 271 - Added jdstoc (Master Help Set for Javahelp) 272 * Wed Apr 14 2004 Matt Keenan <matt.keenan (at] sun.com> 273 - Patch to ensure preface.xml is installed for user-guide 274 * Mon Apr 05 2004 Dermot McCluskey <dermot.mccluskey (at] sun.com> 275 - new tarball: gnome-user-docs-UG-SAG-0.09.tar.bz2 (Makefile.am error) 276 * Thu Apr 01 2004 Matt Keenan <matt.keenan (at] sun.com> 277 - Javahelp conversion 278 * Thu Apr 01 2004 Dermot McCluskey <dermot.mccluskey (at] sun.com> 279 - update UG-SAG tarball to gnome-user-docs-UG-SAG-0.08.tar.bz2 280 * Thu Feb 19 2004 Matt Keenan <matt.keenan (at] sun.com> 281 - Update to 2.5.0, report patches 282 * Sat Oct 18 2003 Laszlo Peter <laca (at] sun.com> 283 - Update to 2.4.1 284 * Fri Sep 26 2003 Laszlo Peter <laca (at] sun.com> 285 - Updated the user's guide 286 * Tue Aug 26 2003 Michael Twomey <michael.twomey@sun.com> 287 - Updated to 0.2 l10n docs tarball to fix seriesid issues. 288 - Changing to use just scrollkeeper-update to fix i18n issues. 289 * Mon Aug 18 2003 Matt Keenan <matt.keenan@sun.com> 290 - Added new sun-section 291 * Wed Jul 16 2003 Michael Twomey <michael.twomey@sun.com> 292 - Updated to newer l10n docs tarball. 293 * Fri Jul 11 2003 Laca Peter <laca@sun.com> 294 - Initial version 295