SUNWgnome-common-devel.spec revision 19142
20038N/A#
20038N/A# spec file for package SUNWgnome-common-devel
20038N/A#
20038N/A# includes module(s): pkgconfig, intltool, gtk-doc, gnome-common
20038N/A#
20038N/A# Copyright 2008 Sun Microsystems, Inc.
20038N/A# This file and all modifications and additions to the pristine
20038N/A# package are under the same license as the package itself.
20038N/A#
20038N/A%define owner laca
20322N/A#
20038N/A%include Solaris.inc
20038N/A%use pkgconfig = pkg-config.spec
20038N/A%use gcommon = gnome-common.spec
20038N/A%use gettext = gettext.spec
20322N/A%use intltool = intltool.spec
20038N/A
20038N/AName: SUNWgnome-common-devel
20038N/AIPS_package_name: developer/gnome/gettext
20038N/AMeta(info.classification): %{classification_prefix}:Development/GNOME and GTK+
20038N/ASummary: GNOME common development tools
20038N/AVersion: %{default_pkg_version}
20038N/ASource: %{name}-manpages-0.1.tar.gz
20038N/ASUNW_BaseDir: %{_basedir}
20038N/ASUNW_Copyright: %{name}.copyright
20038N/ALicense: %{pkgconfig.license}
20038N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
20038N/A
20038N/A%include default-depend.inc
20038N/A%include gnome-consolidation.inc
20038N/ARequires: SUNWperl584usr
20038N/ARequires: SUNWperl584core
20038N/ARequires: SUNWlibpopt
20038N/ARequires: SUNWperl-xml-parser
20038N/ARequires: SUNWopenjade
20038N/ARequires: SUNWgnome-xml-share
20038N/ARequires: SUNWlxsl
20038N/ABuildRequires: SUNWlibpopt-devel
20212N/A
20212N/A%prep
20038N/Arm -rf %name-%version
20038N/Amkdir %name-%version
20038N/A
20038N/A%pkgconfig.prep -d %name-%version
20038N/A%gcommon.prep -d %name-%version
20038N/A%gettext.prep -d %name-%version
20038N/A%intltool.prep -d %name-%version
20038N/Acd %{_builddir}/%name-%version
20038N/Agzcat %SOURCE0 | tar xf -
20038N/A
20038N/A%build
20038N/A%pkgconfig.build -d %name-%version
20038N/A
20038N/A# gnome-common required pkg-config.
20038N/Aexport PATH=%{_builddir}/%name-%version/%{pkgconfig.name}-%{pkgconfig.version}:$PATH
20038N/Aexport PERL=/usr/perl5/bin/perl
20038N/Aexport LDFLAGS="%_ldflags"
20038N/A
20215N/Acd %{_builddir}
20038N/A
20215N/A%gcommon.build -d %name-%version
20038N/A%if %cc_is_gcc
20038N/A%else
20038N/Aexport CXX="${CXX} -norunpath"
20212N/A%endif
20038N/Aexport CXXFLAGS="%{cxx_optflags}"
20038N/A%gettext.build -d %name-%version
20038N/Aexport INTLTOOL_XGETTEXT="%{_libdir}/intltool/gettext-tools/xgettext"
20038N/Aexport INTLTOOL_MSGMERGE="%{_libdir}/intltool/gettext-tools/msgmerge"
20038N/A%intltool.build -d %name-%version
20038N/A
20038N/A%install
20038N/Arm -rf $RPM_BUILD_ROOT
20038N/A
20038N/A%pkgconfig.install -d %name-%version
20038N/A%gcommon.install -d %name-%version
20212N/A%gettext.install -d %name-%version
20038N/A%intltool.install -d %name-%version
20038N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
20038N/Acd %{_builddir}/%name-%version/sun-manpages
20038N/Amake install DESTDIR=$RPM_BUILD_ROOT
20038N/A
20038N/A# Normally we build this package before we build scrollkeeper, but
20038N/A# remove any scrollkeeper files if user happens to rebuild this
20038N/A# package after scrollkeeper is already on the system.
20038N/A#
20322N/Arm -rf $RPM_BUILD_ROOT%{_prefix}/var
20322N/A
20215N/A# Remove /usr/share/info/dir, it's a generated file and shared by multiple
20215N/A# packages
20212N/Arm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
20212N/A
20038N/A# remove duplicate of that from sfw doo#15257
20038N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gettext
rm -f $RPM_BUILD_ROOT%{_datadir}/info/gettext.info
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, bin)
%{_bindir}/*
%{_libdir}/*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/aclocal
%{_datadir}/aclocal/*
%dir %attr (0755, root, other) %{_datadir}/doc
%{_datadir}/doc/*
%{_datadir}/gnome-common
%{_datadir}/info
%{_datadir}/intltool
%{_mandir}/*/*
%changelog
* Fri Aug 28 2009 - laca@sun.com
- remove Python dependencies as they were only needed by gtk-doc
* Wed Jan 07 2008 - christian.kelly@sun.com
- Moved gtk-doc out into it's own spec because of circular dependency.
* Fri Dec 5 2008 - laca@sun.com
- update files
* Tue Jul 15 2008 - damien.carbery@sun.com
- Remove pkg-config code, replacing it with %use.
* Wed Jun 18 2008 - damien.carbery@sun.com
- Add Build/Requires SUNWPython/-devel because /usr/bin/gtkdoc-depscan is a
python script.
* Mon Jan 31 2008 - brian.cameron@sun.com
- Bump pkg-config to 0.23.
* Mon Dec 10 2007 - brian.cameron@sun.com
- Bump pkg-config to 0.22.
* Fri Feb 16 2007 - damien.carbery@sun.com
- Update %files because gtk-doc xml files moved from %{_datadir}/gnome/help to
%{_datadir}/doc with the bumping of gtk-doc to 1.8.
* Thu Jan 11 2007 - damien.carbery@sun.com
- Bump pkg-config to 0.21. Remove upstream patch, pkgconfig-01-wall.diff.
Rename rest.
* Fri Sep 15 2006 - Brian.Cameron@sun.com
- Install gtk-doc documentation and call pkg-config configure script with
--mandir set properly.
* Fri Sep 01 2006 - Matt.Keenan@sun.com
- New Manpage tarball
* Sat Aug 12 2006 - laca@sun.com
- set PERL to /usr/perl5/bin/perl as per CR6454456
* Fri Jun 23 2006 - christopher.hanna@sun.com
- removed man page intltool-unicodify
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Wed May 10 2006 - laca@sun.com
- merge -share pkg(s) into the base pkg(s)
* Tue May 02 2006 - damien.carbery@sun.com
- Remove gnome and omf dirs from share package as they are no longer installed.
- Remove 'rm -rf $RPM_BUILD_ROOT' as pkg-config already installed.
* Tue Apr 11 2006 - damien.carbery@sun.com
- Set ACLOCAL_FLAGS for gtk-doc to find a pkgconfig macro. Move pkgconfig dir.
* Sun Feb 19 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Thu Jan 19 2006 - damien.carbery@sun.com
- Bump pkg-config to 0.20.0, remove upstream patch (01-pkg.m4), add new patch
(01-wall, bug #4888).
* Tue Sep 13 2005 - brian.cameron@sun.com
- Bump version to 2.12.
* Thu Sep 08 2005 - brian.cameron@sun.com
- Verified builds fine on Solaris, bump to 2.11.
* Fri Sep 02 2005 - laca@sun.com
- remove unpackaged files; fix to build with new pkgbuild
* Wed Jul 07 2005 - laca@sun.com
- backport pkg.m4 fix from 0.17.2
* Wed Jul 06 2005 - laca@sun.com
- downgrade pkgconfig to 0.16.0
* Thu Oct 21 2004 - laca@sun.com
- set PERL, fixes 5100958
* Sat Oct 02 2004 - laca@sun.com
- added %pkgbuild_postprocess
* Mon Aug 23 2004 - laca@sun.com
- s/SUNWpl5u/SUNWperl584usr/
* Sat Jun 26 2004 shirley.woo@sun.com
- Changed install location to /usr/...
* Thu May 27 2004 - laca@sun.com
- added %_libdir/pkgconfig
* Wed May 19 2004 - brian.cameron@sun.com
- Added missing man pages.
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Mon Mar 02 2004 - Laszlo.Peter@sun.com
- add dependency on SUNWlxsl (libxslt)
* Mon Jan 26 2004 - Laszlo.Peter@sun.com
- initial version added to CVS