specs/SUNWdbus-python26.spec
author migi
Mon, 20 Sep 2010 09:13:42 +0000
branchgnome-2-30
changeset 20090 437564f99ab5
parent 17937 664c0536875a
child 20343 4198ebdad7ef
permissions -rw-r--r--
2010-09-20 Michal Pryc <[email protected]> * base-specs/pyyaml.spec: * specs/SUNWgnome-pdf-viewer.spec: * specs/SUNWmoovida-plugins.spec: * specs/SUNWgnome-im-client.spec: * specs/SUNWcontact-lookup-applet.spec: * specs/SUNWlibglade.spec: * specs/SUNWgtk2.spec: * specs/SUNWgnome-gedit-plugins.spec: * specs/SUNWgnome-help-viewer.spec: * specs/SUNWgnome-display-mgr.spec: * specs/SUNWpython26-notify.spec: * specs/SUNWpango.spec: * specs/SUNWgnome-doc-utils.spec: * specs/SUNWgnome-text-editor.spec: * specs/SUNWccsm.spec: * specs/SUNWgnome-meeting.spec: * specs/SUNWgnome-menu-editor.spec: * specs/SUNWgir-repository.spec: * specs/SUNWgnome-python26-desktop.spec: * specs/SUNWgnome-user-docs.spec: * specs/SUNWgksu.spec: * specs/SUNWgnome-xml.spec: * specs/SUNWgnome-applets.spec: * specs/SUNWgnome-cd-burner.spec: * specs/SUNWdialog.spec: * specs/SUNWxchat.spec: * specs/SUNWlibsdl.spec: * specs/SUNWtgnome-tsoljdslabel.spec: * specs/SUNWgnome-hex-editor.spec: * specs/SUNWgnome-devel-docs.spec: * specs/SUNWjdsver.spec: * specs/SUNWlibnotify.spec: * specs/SUNWgnome-media-apps.spec: * specs/SUNWgtk-doc.spec: * specs/SUNWgnome-games.spec: * specs/SUNWliboil.spec: * specs/SUNWgobject-introspection.spec: * specs/SUNWlibcompizconfig.spec: * specs/SUNWlibpigment-python26.spec: * specs/SUNWevolution.spec: * specs/SUNWlibgmime.spec: * specs/SUNWgnome-base-libs-java.spec: * specs/SUNWdia.spec: * specs/SUNWtgnome-tsol-libs.spec: * specs/SUNWcompiz.spec: * specs/SUNWdesktop-cache.spec: * specs/SUNWogg-vorbis.spec: * specs/SUNWdrivel.spec: * specs/SUNWgnome-gtksourceview.spec: * specs/SUNWgnome-spell.spec: * specs/SUNWdbus-python26.spec: * specs/SUNWsqlite3.spec: * specs/SUNWavant.spec: * specs/SUNWdesktop-search.spec: * specs/SUNWgnome-media-player.spec: * specs/SUNWbrltty.spec: * specs/SUNWprint-monitor.spec: * specs/SUNWgnome-media.spec: * specs/SUNWgnome-themes.spec: * specs/SUNWlibgoffice.spec: * specs/SUNWvinagre.spec: * specs/SUNWpangomm.spec: * specs/SUNWmoovida.spec: * specs/SUNWgnome-panel.spec: * specs/SUNWgnome-utils.spec: * specs/SUNWgroff.spec: * specs/SUNWgnome-a11y-libs.spec: * specs/SUNWlibgdata.spec: * specs/SUNWgnome-themes-only.spec: * specs/SUNWgnome-system-tools.spec: * specs/SUNWgnome-eog-plugins.spec: * specs/SUNWdbus.spec: * specs/SUNWgnome-commander.spec: * specs/SUNWgtkmm.spec: * specs/SUNWtgnome-tstripe.spec: * specs/SUNWtgnome-tsoljdsselmgr.spec: * specs/SUNWjokosher.spec: * specs/SUNWiso-codes.spec: * specs/SUNWvirt-manager.spec: * specs/SUNWplanner.spec: * specs/SUNWgnome-vfs.spec: * specs/SUNWgnome-img-editor.spec: * specs/SUNWpython26-twisted.spec: * specs/SUNWgnome-img-organizer.spec: * specs/SUNWavahi-bridge-dsd.spec: * specs/SUNWtotem-pl-parser.spec: * specs/SUNWgnome-print.spec: * specs/SUNWmyspell-dictionary-l10n.spec: * specs/SUNWcompizconfig-python.spec: * specs/SUNWlibrsvg.spec: * specs/SUNWespeak.spec: Updated to fit SourceJuicer automated builds.

#
# spec file for package SUNWdbus-python26
#
# includes module(s): dbus-python
#
# Copyright 2009 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
%define owner yippi
# bugdb: bugzilla.freedesktop.org
#
%include Solaris.inc

%define pythonver 2.6

%include base.inc
%use dbus_python = dbus-python.spec

Name:                    SUNWdbus-python26
IPS_package_name:        library/python-2/python-dbus-26
Meta(info.classification): %{classification_prefix}:System/Libraries
Summary:                 D-Bus Python %{pythonver} bindings
Version:                 %{dbus_python.version}
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:          SUNWdbus-python24.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires:	SUNWdbus
Requires:	SUNWlxml
Requires:       SUNWlexpt
Requires:       SUNWPython26-extra
Requires:       SUNWdbus-glib
BuildRequires:	SUNWdbus-devel
BuildRequires:	SUNWlxml
BuildRequires:  SUNWPython26-extra
BuildRequires:  SUNWpython26-setuptools
BuildRequires:  SUNWdbus-glib-devel

%package devel
Summary:                 %{summary} - development files
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc

%prep
rm -rf %name-%version
mkdir %name-%version
%dbus_python.prep -d %name-%version

%build
PKG_CONFIG_DISABLE_UNINSTALLED=
unset PKG_CONFIG_DISABLE_UNINSTALLED
export PYTHON=/usr/bin/python%{pythonver}
%dbus_python.build -d %name-%version

%install
rm -rf $RPM_BUILD_ROOT
%dbus_python.install -d %name-%version

%{?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)
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/python%{pythonver}/vendor-packages
%dir %attr (0755, root, sys) %{_datadir}
%doc -d dbus-python-%{dbus_python.version} AUTHORS
%doc -d dbus-python-%{dbus_python.version} README
%doc(bzip2) -d dbus-python-%{dbus_python.version} COPYING
%doc(bzip2) -d dbus-python-%{dbus_python.version} ChangeLog
%doc(bzip2) -d dbus-python-%{dbus_python.version} NEWS
%dir %attr (0755, root, other) %{_datadir}/doc

%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/doc
%dir %attr (0755, root, other) %{_datadir}/doc/dbus-python
%{_datadir}/doc/dbus-python/*

%changelog
* Tue Mar 10 2009 - [email protected]
- Cleanup based on code review.
* Thu Mar 05 2009 - [email protected]
- Split from SUNWdbus-bindings.spec.  Remove 64 bit support as it is not
  needed for the python bindings.
* Wed Mar 04 2009 - [email protected]
- Add /usr/share/man/man1 in %files
* Sun Sep 14 2008 - [email protected]
- Add new copyright files.
* Thu Mar 27 2008 - [email protected]
- Add SUNW_Copyright
* Tue Nov 20 2007 - [email protected]
- Add libdbus-glib-1.3 manpage.
* Fri Sep 28 2007 - [email protected]
- convert to new style multi-ISA build
- delete SUNWxwrtl dep
* Sat Feb 25 2007 - [email protected]
- updated to include 64-bit build RFE: #6480511
* Fri Jan 26 2007 - [email protected]
- Set PKG_CONFIG vars in %build because dbus-python use autofoo/configure/make
  process rather than setup.py.
* Thu Jan 25 2007 - [email protected]
- Add %{_datadir}/doc to devel pkg, because of new dbus-python tarball.
* Thu Dec 21 2006 - [email protected]
- Remove references to SUNWdbus-bindings-root since we do not
  build this package.
* Thu Sep 21 2006 - [email protected]
- Created.