2006-02-21 Damien Carbery <
[email protected]>
* SUNWgnome-gui-test.spec: Update packaging for new tarball.
* SUNWgnome-user-docs.spec: Delete scrollkeeper files before packaging.
#
# spec file for package SUNWgnome-user-docs
#
# includes module(s): gnome-user-docs
#
# Copyright (c) 2004 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%include Solaris.inc
%use gud = gnome-user-docs.spec
Name: SUNWgnome-user-docs
Summary: GNOME user documentation - platform independent files, /usr/share
Version: %{default_pkg_version}
SUNW_BaseDir: %{_basedir}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWgnome-help-viewer
%if %build_l10n
%package l10n
Summary: %{summary} - l10n files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %{name}
%endif
%prep
rm -rf %name-%version
mkdir %name-%version
%gud.prep -d %name-%version
%build
export PKG_CONFIG_PATH=%{_pkg_config_path}
export MSGFMT="/usr/bin/msgfmt"
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
export LDFLAGS="%_ldflags"
export CFLAGS="%optflags"
%gud.build -d %name-%version
%install
%gud.install -d %name-%version
%if %build_l10n
%else
# REMOVE l10n FILES
# rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
# rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
# rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
%endif
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
# Remove scrollkeeper files before packaging.
rm -rf $RPM_BUILD_ROOT/var
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gnome/help/*/C
%{_datadir}/omf/*/*-C.omf
%if %build_l10n
%files l10n
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
# %{_datadir}/gnome/help/*/[a-z]*
# %{_datadir}/omf/*/*-[a-z][a-z].omf
# %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
%endif
%changelog
* Tue Feb 21 2006 - [email protected]
- Delete scrollkeeper files before packaging.
* Tue Nov 29 2005 - laca.com
- remove javahelp stuff
* Fri Sep 30 2005 [email protected]
- Remove obsolete javahelp references.
* Thu Sep 30 2004 [email protected]
- Fixed dependencies lies for base package
* Wed Aug 25 2004 [email protected]
- Updated files to extracted only l10n content
* Tue Aug 24 2004 [email protected]
- separated l10n content into l10n subpkg
* Thu Aug 19 2004 [email protected]
- Remove xml perms change - done in base spec file.
* Wed Aug 18 2004 [email protected]
- Change xml perms for Solaris integration.
* Sat Jun 26 2004 [email protected]
- Changed install location to /usr/...