11222N/A#
11222N/A# spec file for package SUNWgnome-devel-docs
11222N/A#
11222N/A# includes module(s): GNOME Devel Docs
11222N/A#
16307N/A# Copyright 2009 Sun Microsystems, Inc.
11222N/A# This file and all modifications and additions to the pristine
11222N/A# package are under the same license as the package itself.
11222N/A#
17185N/A%define owner davelam
11222N/A#
11222N/A#
11222N/A%include Solaris.inc
11222N/A
11222N/A%use gdd = gnome-devel-docs.spec
11222N/A
11225N/AName: SUNWgnome-devel-docs
18688N/AIPS_package_name: documentation/gnome/gnome-devel-docs
18688N/AMeta(info.classification): %{classification_prefix}:Development/GNOME and GTK+
11225N/ASummary: GNOME developer documentation
19013N/AVersion: %{gdd.version}
11225N/ASUNW_BaseDir: %{_basedir}
12760N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{gdd.license}
11225N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
11222N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
18993N/ABuildRequires: SUNWlxml-python26
11225N/ABuildRequires: SUNWlxsl
11225N/ABuildRequires: SUNWgnome-libs
19787N/ABuildRequires: SUNWgnome-doc-utils
11222N/ARequires: SUNWgnome-help-viewer
11225N/ARequires: SUNWgnome-libs
11222N/A
11222N/A%package l10n
11222N/ASummary: %{summary} - l10n files
11222N/ARequires: %{name}
11222N/A
11222N/A%prep
11222N/Arm -rf %name-%version
11222N/Amkdir %name-%version
11222N/A%gdd.prep -d %name-%version
11222N/A
11222N/A%build
11222N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
11222N/Aexport MSGFMT="/usr/bin/msgfmt"
11222N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
11222N/Aexport LDFLAGS="%_ldflags"
11222N/Aexport CFLAGS="%optflags"
11222N/A%gdd.build -d %name-%version
11222N/A
11222N/A%install
11222N/A%gdd.install -d %name-%version
11222N/A
11222N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
11222N/A
11222N/A# Remove scrollkeeper files before packaging.
11222N/Arm -rf $RPM_BUILD_ROOT/var
11222N/A
11222N/A%clean
11222N/Arm -rf $RPM_BUILD_ROOT
11222N/A
11222N/A%files
11222N/A%defattr (-, root, bin)
11222N/A%dir %attr (0755, root, sys) %{_datadir}
11222N/A%dir %attr (0755, root, other) %{_datadir}/gnome
11222N/A%{_datadir}/gnome/help/*/C
11222N/A%{_datadir}/omf/*/*-C.omf
11222N/A
11222N/A%files l10n
11222N/A%defattr (-, root, bin)
11222N/A%dir %attr (0755, root, sys) %{_datadir}
11222N/A%dir %attr (0755, root, other) %{_datadir}/gnome
11222N/A%{_datadir}/gnome/help/*/[a-z]*
11222N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
16163N/A%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
11222N/A
11222N/A%changelog
16630N/A* Tue Jun 09 2009 - brian.cameron@sun.com
16630N/A- Fix packaging when building without l10n.
16630N/A* Fri Apr 03 2009 - laca@sun.com
16630N/A- stop using postrun.
16163N/A* Tue Mar 17 2009 - dave.lin@sun.conm
16163N/A- Uncomment %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf in %file l10n.
11225N/A* Mon Sep 10 2007 - Damien Carbery <damien.carbery@sun.com>
11225N/A- Update dependencies.
11222N/A* Sat Sep 01 2007 - Dave Lin <dave.lin@sun.com>
16630N/A- initial version.
11222N/A
19234N/A
19551N/A