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