16759N/A#
16759N/A# spec file for package SUNWgnome-python-desktop26
16759N/A#
16759N/A# includes module(s): gnome-python-desktop
16759N/A#
16759N/A# Copyright (c) 2005 Sun Microsystems, Inc.
16759N/A# This file and all modifications and additions to the pristine
16759N/A# package are under the same license as the package itself.
16759N/A#
17185N/A%define owner laca
16759N/A#
16759N/A%include Solaris.inc
16759N/A
16759N/A%define pythonver 2.6
16759N/A%use gnome_python_desktop = gnome-python-desktop.spec
16759N/A
16759N/AName: SUNWgnome-python26-desktop
18688N/AIPS_package_name: library/python-2/python-gnome-desktop-26
18688N/AMeta(info.classification): %{classification_prefix}:Development/Python
16759N/ASummary: Python %{pythonver} support desktop libraries for GNOME
19013N/AVersion: %{gnome_python_desktop.version}
16759N/ASUNW_BaseDir: %{_basedir}
16759N/ASUNW_Copyright: SUNWgnome-python-desktop.copyright
19140N/ALicense: %{gnome_python_desktop.license}
16759N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16759N/A
16759N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
16759N/ARequires: SUNWlibgnomecanvas
19997N/ARequires: SUNWgnome-python26
19997N/ARequires: SUNWpygtk2-26
19997N/ARequires: SUNWpygobject26
19997N/ARequires: SUNWpycairo26
19997N/ARequires: SUNWpyorbit26
16759N/ARequires: SUNWgnome-file-mgr
16759N/ARequires: SUNWgnome-a11y-libs
16759N/ARequires: SUNWgnome-libs
18993N/ARequires: SUNWPython26-extra
16759N/ARequires: SUNWgnome-config
18993N/ARequires: SUNWPython26
16759N/ARequires: SUNWgnome-vfs
16759N/ARequires: SUNWlibms
16759N/ARequires: SUNWlibpopt
20168N/ABuildRequires: SUNWmlib
16759N/ARequires: SUNWgnome-gtksourceview
16759N/ARequires: SUNWgnome-cd-burner
16759N/ARequires: SUNWgnome-component
20869N/ARequires: SUNWlibgnome-media
16759N/ARequires: SUNWgnome-media-player
16759N/ARequires: SUNWgnome-panel
16759N/ARequires: SUNWgnome-wm
16759N/ARequires: SUNWlibgtop
16759N/ABuildRequires: SUNWlibgnomecanvas-devel
18993N/ABuildRequires: SUNWPython26-devel
16759N/ABuildRequires: SUNWgnome-config-devel
19997N/ABuildRequires: SUNWgnome-python26-devel
19997N/ABuildRequires: SUNWpygtk2-26-devel
19997N/ABuildRequires: SUNWpygobject26-devel
19997N/ABuildRequires: SUNWpycairo26-devel
19997N/ABuildRequires: SUNWpyorbit26-devel
16759N/ABuildRequires: SUNWgnome-vfs-devel
16759N/ABuildRequires: SUNWlibpopt-devel
16759N/ABuildRequires: SUNWgnome-libs-devel
16759N/ABuildRequires: SUNWgnome-file-mgr-devel
16759N/ABuildRequires: SUNWgnome-a11y-libs-devel
18993N/ABuildRequires: SUNWPython26-extra
16759N/ABuildRequires: SUNWgnome-component-devel
16759N/ABuildRequires: SUNWgnome-config-devel
16759N/ABuildRequires: SUNWgnome-cd-burner-devel
16759N/ABuildRequires: SUNWgnome-component-devel
20869N/ABuildRequires: SUNWlibgnome-media-devel
16759N/ABuildRequires: SUNWgnome-media-player
16759N/ABuildRequires: SUNWgnome-panel-devel
16759N/ABuildRequires: SUNWgnome-wm-devel
16759N/ABuildRequires: SUNWgnome-gtksourceview-devel
16759N/ABuildRequires: SUNWlibgtop-devel
18993N/ABuildRequires: SUNWpython26-setuptools
19885N/ABuildRequires: SUNWgnome-pdf-viewer
16759N/A
16759N/A%package devel
16759N/ASummary: %{summary} - development files
16759N/ASUNW_BaseDir: %{_basedir}
16759N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
16759N/ARequires: %name
16759N/A
16759N/A%prep
16759N/Arm -rf %name-%version
16759N/Amkdir %name-%version
16759N/A%gnome_python_desktop.prep -d %name-%version
16759N/A
16759N/A%build
16759N/Aexport MSGFMT="/usr/bin/msgfmt"
16759N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
16759N/Aexport PYTHON="/usr/bin/python%{pythonver}"
16759N/Aexport CPPFLAGS="-I/usr/xpg4/include -I/usr/include/python%{pythonver}"
16759N/Aexport CFLAGS="%optflags -I/usr/xpg4/include -I%{_includedir} -I/usr/include/python%{pythonver}"
16759N/Aexport RPM_OPT_FLAGS="$CFLAGS"
16759N/Aexport LDFLAGS="%_ldflags"
16759N/A
16759N/A%gnome_python_desktop.build -d %name-%version
16759N/A
16759N/A%install
16759N/A%gnome_python_desktop.install -d %name-%version
16759N/A
16759N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
16759N/A
16759N/A%clean
16759N/Arm -rf $RPM_BUILD_ROOT
16759N/A
16759N/A%files
16759N/A%defattr(-, root, bin)
16759N/A%dir %attr (0755, root, bin) %{_libdir}
16759N/A%{_libdir}/python%{pythonver}/vendor-packages
16759N/A
16759N/A%files devel
16759N/A%defattr(-, root, bin)
16759N/A%dir %attr (0755, root, bin) %{_libdir}
16759N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
16759N/A%{_libdir}/pkgconfig/*
16759N/A%dir %attr (0755, root, sys) %{_datadir}
16759N/A%{_datadir}/pygtk/*
20829N/A#%if %option_with_gtk_doc
20829N/A#%{_datadir}/gtk-doc/html/*
20829N/A#%endif
16759N/A
16759N/A%changelog
20869N/A* Fri Nov 04 2011 - brian.cameron@oracle.com
20869N/A- Change SUNWgnome-media-apps dependency to SUNWlibgnome-media.
16759N/A* Tue Jul 07 2009 - brian.cameron@sun.com
16759N/A- Split out into Python 2.4 and 2.6 spec-files
16759N/A* Tue Apr 07 2009 - dave.lin@sun.com
16759N/A- Change to depend on SUNWgnome-media-player instread of obsoleted devel pkg.
16759N/A* Wed Jul 23 2008 - damien.carbery@sun.com
16759N/A- Wrap gtk-doc in %files with %if %option_with_gtk_doc.
16759N/A* Wed May 07 2008 - damien.carbery@sun.com
16759N/A- Remove PERL5LIB setting as it is not necessary.
16759N/A* Tue Aug 08 2006 - damien.carbery@sun.com
16759N/A- Add to Build/Requires after running check-deps.pl.
16759N/A* Sun Jun 11 2006 - laca@sun.com
16759N/A- change group from other to bin/sys
16759N/A* Wed Mar 15 2006 - damien.carbery@sun.com
16759N/A- Add to Build/Requires after running check-deps.pl.
16759N/A* Tue Mar 14 2006 - damien.carbery@sun.com
16759N/A- Set perms for %{_datadir} in devel package.
16759N/A* Tue Mar 14 2006 - glynn.foster@sun.com
16759N/A- Initial version because I'm too much of a wuss to merge it into
16759N/A SUNWgnome-python-libs.spec
16759N/A
19273N/A
19590N/A