Solaris/SUNWgnome-doc-utils.spec
author lp117937
Sun, 11 Jun 2006 18:34:41 +0000
changeset 7425 5f918d0fa619
parent 7244 b65ebefa231b
child 7547 52ffe601b5b0
permissions -rw-r--r--
2006-06-11 Laszlo (Laca) Peter <[email protected]> Another jumbo commit: change the group of most directories and almost all files from 'other' to 'bin' or 'sys' as appropriate. In this round the following root:other directories were spared: /usr/lib/amd64/pkgconfig /usr/lib/sparcv9/pkgconfig /usr/lib/pkgconfig /usr/share/applications /usr/share/pixmaps /usr/share/aclocal /usr/share/application-registry /usr/share/doc /usr/share/gnome /usr/share/mime-info /usr/share/locale /usr/var/lib I'm hoping to reduce this list to only /usr/share/applications and /usr/share/pixmaps in a future build. The details: * SUNWacroread.spec, SUNWapoc-adapter-gconf.spec, SUNWapoc.spec, SUNWaspell-en.spec, SUNWaspell.spec, SUNWevolution-data-server.spec, SUNWevolution-exchange.spec, SUNWevolution-jescs.spec, SUNWevolution-libs.spec, SUNWevolution-webcal.spec, SUNWevolution.spec, SUNWfirefox.spec, SUNWflac.spec, SUNWflash-player-plugin.spec, SUNWfsexam.spec, SUNWgnome-a11y-base-libs.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-gok.spec, SUNWgnome-a11y-libs.spec, SUNWgnome-a11y-orca.spec, SUNWgnome-a11y-poke.spec, SUNWgnome-a11y-reader.spec, SUNWgnome-a11y-speech.spec, SUNWgnome-applets.spec, SUNWgnome-archive-mgr.spec, SUNWgnome-audio.spec, SUNWgnome-calculator.spec, SUNWgnome-camera.spec, SUNWgnome-cd-burner.spec, SUNWgnome-cd.spec, SUNWgnome-character-map.spec, SUNWgnome-common-devel.spec, SUNWgnome-component.spec, SUNWgnome-config-editor.spec, SUNWgnome-config.spec, SUNWgnome-crash-report.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-dialog.spec, SUNWgnome-display-mgr.spec, SUNWgnome-doc-utils.spec, SUNWgnome-dtlogin-integration.spec, SUNWgnome-file-mgr.spec, SUNWgnome-fonts.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-mp3.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-ps-viewer.spec, SUNWgnome-python-desktop.spec, SUNWgnome-python-libs.spec, SUNWgnome-remote-desktop.spec, SUNWgnome-removable-media.spec, SUNWgnome-session.spec, SUNWgnome-solaris-branding.spec, SUNWgnome-spell.spec, SUNWgnome-sys-suspend.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, SUNWgnome-xml.spec, SUNWgnutls.spec, SUNWgob.spec, SUNWgtkperf.spec, SUNWiso-codes.spec, SUNWjdsrm.spec, SUNWjdsver.spec, SUNWjpg.spec, SUNWjre-config.spec, SUNWlibcdio.spec, SUNWlibcroco.spec, SUNWlibexif.spec, SUNWliboil.spec, SUNWlibpopt.spec, SUNWlibrsvg.spec, SUNWlibtheora.spec, SUNWmozilla.spec, SUNWmusicbrainz.spec, SUNWogg-vorbis.spec, SUNWopenjade.spec, SUNWopensp.spec, SUNWrealplayer.spec, SUNWthunderbird.spec: change group from other to bin/sys; clean up some %files lists * SUNWzz-gnome-l10n.spec: change l10ndocument group to bin; add localised scrollkeeper templates * SUNWgnome-base-libs.spec: add a temporary preinstall script that resets the group of some dirs from other to bin after SUNWj5rt postinstall sets them to other. Add dependency on SUNWj5rt. Change group from other to bin/sys. * SUNWgnome-screensaver.spec: separate the l10n content into an l10n subpkg; change group from other to bin * SUNWpng.spec: move .pc and libpng*-config files to -devel; change group from other to bin
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'
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    60
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u
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
6919
fe2ec42374d0 2006-03-13 Laszlo Peter <[email protected]>
laca
parents: 6853
diff changeset
    63
test -x $PKG_INSTALL_ROOT/usr/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'
d7b3d432d5cb 2006-02-26 Laszlo Peter <[email protected]>
laca
parents: 6298
diff changeset
    66
) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -u
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
7425
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    91
* Sun Jun 11 2006 - laca.com
5f918d0fa619 2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 7244
diff changeset
    92
- change group from other to bin/sys
7210
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6919
diff changeset
    93
* Thu May 04 2006 - [email protected]
9f8c789896d1 2006-05-04 Laszlo (Laca) Peter <[email protected]>
lp117937
parents: 6919
diff changeset
    94
- merge -share pkg(s) into the base pkg(s)
6298
e893a5df5c66 2005-11-29 Laszlo Peter <[email protected]>
laca
parents: 6130
diff changeset
    95
* Tue Nov 29 2005 - laca.com
e893a5df5c66 2005-11-29 Laszlo Peter <[email protected]>
laca
parents: 6130
diff changeset
    96
- remove javahelp stuff
6130
ccd0247c6c1c * SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents: 6102
diff changeset
    97
* Wed Oct 19 2005 - [email protected]
ccd0247c6c1c * SUNWgnome-applets.spec: Add SUNWgnome-doc-utils build dependency for
dc144907
parents: 6102
diff changeset
    98
- Add SUNWPython dependency as xml2po uses python.
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    99
* Wed Jul 06 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   100
- remove mandir from %files, it's not there
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   101
- remove l10n subpkg, there's no l10n content
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   102
* Mon Jul 04 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   103
- Initial spec file needed by SUNWgnome-help-viewer (yelp)