SUNWgnome-user-docs.spec
author an230044
Mon, 27 Sep 2010 11:32:21 +0000
branchopensolaris-2009-06
changeset 20102 2d19c462bb98
parent 13673 9761924fc246
child 15352 7ed50e8ebf6a
permissions -rw-r--r--
6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c Committing for Rohini because of svn issues on opensolaris2009.06 branch.
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)
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    80
%doc -d gnome-user-docs-%{gud.version} README AUTHORS
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    81
%doc(bzip2) -d gnome-user-docs-%{gud.version} COPYING COPYING-DOCS
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    82
%doc(bzip2) -d gnome-user-docs-%{gud.version} NEWS ChangeLog
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
    83
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%{_datadir}/gnome/help/*/C
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%{_datadir}/omf/*/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_datadir}/gnome/help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_datadir}/omf/*/*-[a-z][a-z].omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%changelog
13673
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
   101
* Fri Sep 19 2008 - [email protected]
9761924fc246 2008-09-19 Halton Huo <[email protected]>
halton
parents: 12016
diff changeset
   102
- Add %doc part to %files
12016
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 10174
diff changeset
   103
* Thu Apr 03 2008 - [email protected]
ae9845dead4d 2008-04-03 Damien Carbery <[email protected]>
dcarbery
parents: 10174
diff changeset
   104
- Add SUNW_Copyright.
10174
976567cd296b 2007-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   105
* Tue Jul 10 2007 - [email protected]
976567cd296b 2007-07-10 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   106
- Add BuildRequires SUNWlxml-python.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
* Wed Aug 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
- 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
   109
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
- 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
   111
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
* Wed Mar 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
- 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
   118
* Tue Mar 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Uncomment l10n files to pick up 'it' files.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Tue Feb 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Delete scrollkeeper files before packaging.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Fri Sep 30 2005  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Remove obsolete javahelp references.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Thu Sep 30 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- Fixed dependencies lies for base package
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Wed Aug 25 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Updated files to extracted only l10n content
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Tue Aug 24 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- separated l10n content into l10n subpkg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Thu Aug 19 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Remove xml perms change - done in base spec file.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Wed Aug 18 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- Change xml perms for Solaris integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Sat Jun 26 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Changed install location to /usr/...