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