Solaris/SUNWgnome-doc-utils.spec
author lp117937
Sat, 15 Jul 2006 04:04:53 +0000
changeset 7651 316e279bf756
parent 7547 52ffe601b5b0
child 7904 dbf25d254b8b
permissions -rw-r--r--
2006-07-14 Laszlo (Laca) Peter <[email protected]> * SUNWevolution-webcal.spec, SUNWevolution.spec, SUNWfirefox.spec, SUNWfsexam.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-gok.spec, SUNWgnome-a11y-reader.spec, SUNWgnome-applets.spec, SUNWgnome-archive-mgr.spec, SUNWgnome-base-libs.spec, SUNWgnome-calculator.spec, SUNWgnome-camera.spec, SUNWgnome-cd-burner.spec, SUNWgnome-cd.spec, SUNWgnome-character-map.spec, SUNWgnome-config-editor.spec, SUNWgnome-crash-report.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-dialog.spec, SUNWgnome-display-mgr.spec, SUNWgnome-doc-utils.spec, SUNWgnome-file-mgr.spec: SUNWgnome-games.spec, SUNWgnome-gui-test.spec, SUNWgnome-help-viewer.spec, SUNWgnome-hex-editor.spec, SUNWgnome-im-client.spec, SUNWgnome-img-editor.spec, SUNWgnome-img-viewer.spec, SUNWgnome-libs.spec, SUNWgnome-media-apps.spec, SUNWgnome-media-player.spec, SUNWgnome-media.spec, SUNWgnome-meeting.spec, SUNWgnome-panel.spec, SUNWgnome-pdf-viewer.spec, SUNWgnome-perf-meter.spec, SUNWgnome-pilot.spec, SUNWgnome-print.spec, SUNWgnome-remote-desktop.spec, SUNWgnome-screensaver.spec, SUNWgnome-session.spec, SUNWgnome-system-tools.spec, SUNWgnome-terminal.spec, SUNWgnome-text-editor.spec, SUNWgnome-themes.spec, SUNWgnome-ui-designer.spec, SUNWgnome-user-docs.spec, SUNWgnome-utils.spec, SUNWgnome-vfs.spec, SUNWgnome-wm.spec, SUNWlibrsvg.spec, SUNWrealplayer.spec, SUNWthunderbird.spec: update %post/%postun/etc scripts to support diskless client setup, fixes 6448317
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-doc-utils
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     4
# includes module(s): gucharmap
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     5
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     6
# Copyright (c) 2004 Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     9
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    10
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    11
%include Solaris.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    12
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    13
%use gnomedocutils = gnome-doc-utils.spec
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    14
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    15
Name:                    SUNWgnome-doc-utils
7244
b65ebefa231b 2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7210
diff changeset
    16
Summary:                 GNOME documentation utilities
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5518
diff changeset
    17
Version:                 %{default_pkg_version}
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    18
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    19
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    20
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    21
Requires: SUNWgnome-libs
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    22
Requires: SUNWlxml
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    23
Requires: SUNWlxsl
6130
ccd0247c6c1c * SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents: 6102
diff changeset
    24
Requires: SUNWPython
6846
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    25
Requires: SUNWpostrun
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    26
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    27
%package devel
7244
b65ebefa231b 2006-05-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7210
diff changeset
    28
Summary:                 %{summary} - development files
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    29
SUNW_BaseDir:            %{_basedir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
%include default-depend.inc
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
Requires:                %{name}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    33
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    34
rm -rf %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    35
mkdir %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    36
%gnomedocutils.prep -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    37
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    38
%build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
export PKG_CONFIG_PATH=%{_pkg_config_path}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    40
export MSGFMT="/usr/bin/msgfmt"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    41
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    43
export CFLAGS="%optflags -I%{_includedir}"
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    44
export RPM_OPT_FLAGS="$CFLAGS"
6102
1e3e35b9a369 2005-10-14 Laszlo Peter <[email protected]>
laca
parents: 5859
diff changeset
    45
export LDFLAGS="%_ldflags"
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    46
%gnomedocutils.build -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    48
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    49
%gnomedocutils.install -d %name-%version
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT%{_mandir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    51
5859
da89f4e343b9 update package version numbers and change ELF comment from supported to
laca
parents: 5518
diff changeset
    52
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    53
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    54
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6919
diff changeset
    57
%post
6853
ccc2c169fb63 Fix typo - missing closing quote.
dc144907
parents: 6846
diff changeset
    58
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
6846
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    59
  echo '/usr/bin/scrollkeeper-update'
7651
316e279bf756 2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7547
diff changeset
    60
) | $BASEDIR/lib/postrun -b -u -c JDS
6846
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    61
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6919
diff changeset
    62
%postun
7651
316e279bf756 2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7547
diff changeset
    63
test -x $BASEDIR/lib/postrun || exit 0
6853
ccc2c169fb63 Fix typo - missing closing quote.
dc144907
parents: 6846
diff changeset
    64
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
6846
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    65
  echo '/usr/bin/scrollkeeper-update'
7651
316e279bf756 2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7547
diff changeset
    66
) | $BASEDIR/lib/postrun -b -u -c JDS
6846
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    67
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    68
%files
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    69
%defattr (-, root, bin)
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
%dir %attr (0755, root, bin) %{_bindir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    71
%{_bindir}/gnome-doc-prepare
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    72
%{_bindir}/xml2po
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    73
%dir %attr (0755, root, sys) %{_datadir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    74
%{_datadir}/gnome-doc-utils
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    75
%dir %attr (0755, root, other) %{_datadir}/gnome
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    76
%{_datadir}/gnome/help
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    77
%{_datadir}/omf
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    78
%{_datadir}/xml
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    79
%{_datadir}/xml2po
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    80
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    81
%files devel
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    82
%defattr (-, root, bin)
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    83
%dir %attr (0755, root, bin) %{_libdir}
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    84
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    85
%{_libdir}/pkgconfig/*
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    86
%dir %attr (0755, root, sys) %{_datadir}
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    87
%dir %attr (0755, root, other) %{_datadir}/aclocal
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    88
%{_datadir}/aclocal/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    89
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    90
%changelog
7651
316e279bf756 2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7547
diff changeset
    91
* Fri Jul 14 2006 - [email protected]
316e279bf756 2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7547
diff changeset
    92
- update %post/%postun/etc scripts to support diskless client setup,
316e279bf756 2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7547
diff changeset
    93
  part of 6448317
7547
52ffe601b5b0 2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7425
diff changeset
    94
* Thu Jun 29 2006 - [email protected]
52ffe601b5b0 2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7425
diff changeset
    95
- update postrun scripts
52ffe601b5b0 2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7425
diff changeset
    96
* Sun Jun 11 2006 - [email protected]
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    97
- change group from other to bin/sys
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6919
diff changeset
    98
* Thu May 04 2006 - [email protected]
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6919
diff changeset
    99
- merge -share pkg(s) into the base pkg(s)
7547
52ffe601b5b0 2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7425
diff changeset
   100
* Tue Nov 29 2005 - [email protected]
6298
e893a5df5c66 2005-11-29 Laszlo Peter <[email protected]>
laca
parents: 6130
diff changeset
   101
- remove javahelp stuff
6130
ccd0247c6c1c * SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents: 6102
diff changeset
   102
* Wed Oct 19 2005 - [email protected]
ccd0247c6c1c * SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents: 6102
diff changeset
   103
- Add SUNWPython dependency as xml2po uses python.
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   104
* Wed Jul 06 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   105
- remove mandir from %files, it's not there
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   106
- remove l10n subpkg, there's no l10n content
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   107
* Mon Jul 04 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   108
- Initial spec file needed by SUNWgnome-help-viewer (yelp)