SUNWgnome-devel-docs.spec revision 19013
10139N/A#
10139N/A# spec file for package SUNWgnome-devel-docs
10139N/A#
12198N/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#
10139N/A#
10139N/A%include Solaris.inc
12578N/A
12578N/A%use gdd = gnome-devel-docs.spec
10139N/A
10139N/AName: SUNWgnome-devel-docs
10139N/AIPS_package_name: documentation/gnome/gnome-devel-docs
12578N/AMeta(info.classification): %{classification_prefix}:Development/GNOME and GTK+
11419N/ASummary: GNOME developer documentation
10139N/AVersion: %{gdd.version}
11419N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10142N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10142N/A%include default-depend.inc
10244N/ABuildRequires: SUNWlxml-python26
12773N/ABuildRequires: SUNWlxsl
12773N/ABuildRequires: SUNWgnome-libs
12773N/ARequires: SUNWgnome-help-viewer
11419N/ARequires: SUNWgnome-libs
10139N/A
10139N/A%if %build_l10n
11419N/A%package l10n
11437N/ASummary: %{summary} - l10n files
11962N/ASUNW_BaseDir: %{_basedir}
11437N/A%include default-depend.inc
11437N/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
10803N/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"
11419N/Aexport CFLAGS="%optflags"
10139N/A%gdd.build -d %name-%version
10139N/A
10139N/A%install
10139N/A%gdd.install -d %name-%version
11419N/A
11070N/A%if %build_l10n
11070N/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
12048N/A%endif
12048N/A
12349N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
12316N/A
12368N/A# Remove scrollkeeper files before packaging.
12368N/Arm -rf $RPM_BUILD_ROOT/var
12608N/A
12608N/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