Solaris/SUNWgnome-user-docs.spec
author laca
Tue, 22 Jun 2004 12:29:51 +0000
changeset 3184 5f0898343efd
parent 2948 82cdb4e046c8
child 3221 a9dc1a9a5f37
permissions -rw-r--r--
2004-06-22 Laszlo Peter <[email protected]> * install-jds: i18n (merge from metro branch) * Solaris.inc: decrease C++ optimisation level to xO3 and define %_pkg_config_path * *.spec: use %_pkg_config_path

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

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

%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, bin) %{_prefix}
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/*