SUNWgnome-user-docs.spec
author davelam
Thu, 07 Aug 2008 02:31:31 +0000
branchgnome-2-22
changeset 12491 b2fc226f1836
parent 12016 ae9845dead4d
child 13673 9761924fc246
permissions -rw-r--r--
2008-08-07 Dave Lin <[email protected]> * closed/SUNWflash-player-plugin.spec: Hack the version number from 9.0.125 9.0.1250 to fix the integration issue, which was caused by the incorrect version number(9.0.1124 should be 9.0.124) in the previous version bump.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-user-docs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): gnome-user-docs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: dcarbery
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use gud = gnome-user-docs.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWgnome-user-docs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 GNOME user documentation
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
SUNW_BaseDir:            %{_basedir}
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 10174
diff changeset
    20
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%include default-depend.inc
10174
976567cd296b 2007-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    23
BuildRequires: SUNWlxml-python
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Requires: SUNWgnome-help-viewer
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWpostrun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%gud.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
export PKG_CONFIG_PATH=%{_pkg_config_path}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
export MSGFMT="/usr/bin/msgfmt"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
export CFLAGS="%optflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%gud.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%gud.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
# Remove scrollkeeper files before packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
rm -rf $RPM_BUILD_ROOT/var
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%{_datadir}/gnome/help/*/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%{_datadir}/omf/*/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%{_datadir}/gnome/help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%changelog
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 10174
diff changeset
    97
* Thu Apr 03 2008 - [email protected]
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 10174
diff changeset
    98
- Add SUNW_Copyright.
10174
976567cd296b 2007-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    99
* Tue Jul 10 2007 - [email protected]
976567cd296b 2007-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   100
- Add BuildRequires SUNWlxml-python.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
* Wed Aug 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
- Add %files entry to pick up pt_BR and zh_CN omf files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
* Wed Mar 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- Uncomment removal of l10n files when not doing l10n build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
- Uncomment l10n files to pick up 'it' files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
* Tue Feb 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- Delete scrollkeeper files before packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Fri Sep 30 2005  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Remove obsolete javahelp references.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Thu Sep 30 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Fixed dependencies lies for base package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Wed Aug 25 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- Updated files to extracted only l10n content
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Tue Aug 24 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- separated l10n content into l10n subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Thu Aug 19 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- Remove xml perms change - done in base spec file.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Wed Aug 18 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Change xml perms for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Changed install location to /usr/...