Solaris/SUNWgnome-user-docs.spec
author dc144907
Thu, 01 Sep 2005 16:45:46 +0000
changeset 5673 6088c2bb78cc
parent 5518 235b0b4aa324
child 5859 da89f4e343b9
permissions -rw-r--r--
* SUNWgnome-project.spec: Comment out javahelp %files line to build. * SUNWgnome-user-docs.spec: Comment out javahelp stuff to build. * SUNWgnome-python-libs.spec: Remove unused pygtk2 references.

#
# 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:                 2.10.0
SUNW_BaseDir:            %{_basedir}
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%include default-depend.inc
BuildRequires: SUNWgnome-javahelp-convert
Requires: SUNWgnome-help-viewer

%package l10n
Summary:                 %{summary} - l10n files
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc
Requires:                %{name}

%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"
%gud.build -d %name-%version

%install
%gud.install -d %name-%version

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gnome/help/*/C
%{_datadir}/gnome/javahelp/*/C
%{_datadir}/omf/*/*-C.omf

%files l10n
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
# %{_datadir}/gnome/javahelp/*/[a-z]*
# %{_datadir}/gnome/help/*/[a-z]*
# %{_datadir}/omf/*/*-[a-z][a-z].omf
# %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf


%changelog
* 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/...