gnome-user-docs.spec
changeset 5518 235b0b4aa324
parent 5517 c3ddcedacbf0
child 5529 9133a916e53a
equal deleted inserted replaced
5517:c3ddcedacbf0 5518:235b0b4aa324
     1 #
     1 #
     2 # Copyright (c) Sun Microsystems, Inc.
     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.
     3 #
     7 #
     4 Name:		        gnome-user-docs
     8 Name:		        gnome-user-docs
     5 License:		FDL
     9 License:		FDL
     6 Group:			Documentation
    10 Group:			Documentation
     7 BuildArchitectures:	noarch
    11 BuildArchitectures:	noarch
     8 Version:		2.5.0
    12 Version:		2.5.0
     9 Release:		42
    13 Release:		48
    10 Distribution:		Java Desktop System, Release 3
    14 Distribution:		Java Desktop System
    11 Vendor:			Sun Microsystems, Inc.
    15 Vendor:			Sun Microsystems, Inc.
    12 Summary:		User Documentation for the GNOME desktop
    16 Summary:		User Documentation for the GNOME desktop
    13 Source:		        http://ftp.gnome.org/pub/GNOME/sources/gnome2-user-docs/2.0/gnome2-user-docs-%{version}.tar.bz2	
    17 Source:		        http://ftp.gnome.org/pub/GNOME/sources/gnome2-user-docs/2.0/gnome2-user-docs-%{version}.tar.bz2	
    14 Source1:	        gnome-user-docs-l10n-online-help-ci-linux-1.1.tar.bz2
    18 Source1:	        gnome-user-docs-l10n-online-help-ci-linux-1.3.tar.bz2
    15 Source2:		gnome-user-docs-AG-0.10linux.tar.bz2
    19 Source2:		gnome-user-docs-AG-0.10linux.tar.bz2
    16 Source3:		quick-start-user-guide-0.5.tar.bz2
    20 Source3:		quick-start-user-guide-0.5.tar.bz2
    17 Source4:		gnome-user-docs-SAG-0.17linux.tar.bz2
    21 Source4:		gnome-user-docs-SAG-0.17linux.tar.bz2
    18 Source5:		gnome-user-docs-SAG-0.13solaris.tar.bz2
    22 Source5:		gnome-user-docs-SAG-0.13solaris.tar.bz2
    19 Source6:                gnome-user-docs-UG-0.28linux.tar.bz2
    23 Source6:                gnome-user-docs-UG-0.28linux.tar.bz2
    20 Source7:                gnome-user-docs-UG-0.21solaris.tar.bz2
    24 Source7:                gnome-user-docs-UG-0.21solaris.tar.bz2
    21 Source8:		gnome-user-docs-ORMS-0.6solaris.tar.bz2
    25 Source8:		gnome-user-docs-ORMS-0.6solaris.tar.bz2
    22 Source9:		gnome-user-docs-ORMS-0.12linux.tar.bz2
    26 Source9:		gnome-user-docs-ORMS-0.12linux.tar.bz2
    23 Source10:		l10n-configure.sh
       
    24 Patch1:		   	gnome-user-docs-01-l10n-online-help.diff
    27 Patch1:		   	gnome-user-docs-01-l10n-online-help.diff
    25 Patch2:		   	gnome-user-docs-02-sun-desktop-section.diff
    28 Patch2:		   	gnome-user-docs-02-sun-desktop-section.diff
    26 Patch3:                 gnome-user-docs-03-add-l10n-docs.diff
    29 Patch3:                 gnome-user-docs-03-add-l10n-docs.diff
    27 Patch4:                 gnome-user-docs-04-preface-xml.diff
    30 Patch4:                 gnome-user-docs-04-preface-xml.diff
    28 Patch5:                 gnome-user-docs-05-omfdestdir.diff
    31 Patch5:                 gnome-user-docs-05-omfdestdir.diff
    47 
    50 
    48 %prep
    51 %prep
    49 %setup -q -n gnome2-user-docs-%{version}
    52 %setup -q -n gnome2-user-docs-%{version}
    50 rm -Rf gnome2-user-guide/C/figures
    53 rm -Rf gnome2-user-guide/C/figures
    51 %ifos solaris
    54 %ifos solaris
    52 bzcat %SOURCE7 | tar xvf -
    55 # FIXME: Use Linux UG tarball because floppy-formatter-C.omf not in Solaris ver
    53 %else
    56 # FIXME: and its absense breaks the build.
       
    57 # FIXME: bzcat %SOURCE7 | tar xvf -
    54 bzcat %SOURCE6 | tar xvf -
    58 bzcat %SOURCE6 | tar xvf -
       
    59 %else
       
    60 bzcat %SOURCE6 | tar xvf -
    55 %endif
    61 %endif
    56 bzcat %SOURCE3 | tar xf -
    62 bzcat %SOURCE3 | tar xf -
    57 %ifos solaris
    63 %ifos solaris
    58 bzcat %SOURCE5 | tar xf -
    64 bzcat %SOURCE5 | tar xf -
    59 %else
    65 %else
    60 bzcat %SOURCE4 | tar xf -
    66 bzcat %SOURCE4 | tar xf -
    61 %endif
    67 %endif
    62 bzcat %SOURCE2 | tar xf -
    68 bzcat %SOURCE2 | tar xf -
    63 %ifos solaris
    69 %ifos solaris
    64 bzcat %SOURCE8 | tar xf -
    70 # FIXME: Use Linux ORMS tarball because online_update-C.omf not in Solaris ver
       
    71 # FIXME: and its absense breaks the build.
       
    72 # FIXME: bzcat %SOURCE8 | tar xf -
       
    73 bzcat %SOURCE9 | tar xf -
    65 %else
    74 %else
    66 bzcat %SOURCE9 | tar xf -
    75 bzcat %SOURCE9 | tar xf -
    67 %endif
    76 %endif
    68 bzcat %SOURCE1 | tar xf -
    77 bzcat %SOURCE1 | tar xf -
    69 %patch2 -p1
    78 %patch2 -p1
    81 %endif
    90 %endif
    82 %patch7 -p1
    91 %patch7 -p1
    83 %patch8 -p1
    92 %patch8 -p1
    84 %patch1 -p1
    93 %patch1 -p1
    85 
    94 
    86 bash -x %SOURCE10
       
    87 
    95 
    88 %build
    96 %build
    89 %ifos linux
    97 %ifos linux
    90 if [ -x /usr/bin/getconf ]; then
    98 if [ -x /usr/bin/getconf ]; then
    91   CPUS=`getconf _NPROCESSORS_ONLN`
    99   CPUS=`getconf _NPROCESSORS_ONLN`
    96 if test "x$CPUS" = "x" -o $CPUS = 0; then
   104 if test "x$CPUS" = "x" -o $CPUS = 0; then
    97   CPUS=1
   105   CPUS=1
    98 fi
   106 fi
    99 
   107 
   100 libtoolize --force
   108 libtoolize --force
   101 aclocal -I %{_datadir}/aclocal/gnome2-macros
   109 aclocal $ACLOCAL_FLAGS
   102 automake -a -c -f
   110 automake -a -c -f
   103 autoconf
   111 autoconf
   104 
   112 
   105 ./configure --prefix=%{_prefix}			\
   113 ./configure --prefix=%{_prefix}			\
   106             --datadir=%{_datadir}
   114             --datadir=%{_datadir}
   141 %{_datadir}/gnome/help/*
   149 %{_datadir}/gnome/help/*
   142 %{_datadir}/gnome/javahelp/*
   150 %{_datadir}/gnome/javahelp/*
   143 %{_datadir}/omf/*
   151 %{_datadir}/omf/*
   144 
   152 
   145 %changelog
   153 %changelog
       
   154 * Fri Jul 15 2005 - [email protected]
       
   155 - Use Linux docs tarballs on Solaris because some omf files missing.
       
   156 
       
   157 * Mon Jun 20 2005 - [email protected]
       
   158 - Update l10n tarball to 1.3
       
   159 
   146 * Thu May 05 2005 - [email protected]
   160 * Thu May 05 2005 - [email protected]
   147 - Updated docs tarball (gnome-user-docs-AG-0.10linux) from [email protected].
   161 - Updated docs tarball (gnome-user-docs-AG-0.10linux) from [email protected].
   148 
   162 
   149 * Wed May 04 2005 - [email protected]
   163 * Wed May 04 2005 - [email protected]
   150 - Updated docs tarball (gnome-user-docs-AG-0.9linux) from [email protected].
   164 - Updated docs tarball (gnome-user-docs-AG-0.9linux) from [email protected].