pyspi.spec revision 10139
10139N/A#
10139N/A# spec file for package pyspi
10139N/A#
12158N/A# includes module(s): pyspi
10139N/A#
10139N/A# Copyright (c) 2005 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# Owner: laca
10139N/A#
10139N/A%define pythonver 2.4
10139N/A
14493N/AName: pyspi
10752N/ALicense: LGPL
10139N/AGroup: Development/Languages/Python
10139N/AVersion: 0.6.1
10139N/ARelease: 2
14390N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Python bindings for CSPI
10318N/ASource: http://people.redhat.com/zcerza/dogtail/releases/%{name}-%{version}.tar.gz
10943N/A# date:2006-10-07 owner:yippi type:feature
10139N/A# This patch is a temporary hack because we currently don't ship Xorg pc
10139N/A# files into Solaris. This will be fixed when Xorg 7.2 integrates and this
10139N/A# patch can go away.
10139N/APatch1: pyspi-01-solaris.diff
10139N/AURL: http://gnome.org/projects/pyspi
13922N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/doc
13922N/AAutoreqprov: off
10139N/APrereq: /sbin/ldconfig
13922N/ARequires: python >= %{pythonver}
10139N/ARequires: at-spi
13922N/ARequires: Pyrex
10139N/ABuildRequires: python-devel >= %{pythonver}
13922N/ABuildRequires: at-spi-devel
10139N/A
13922N/A%description
10928N/APython bindings for CSPI
13922N/A
11883N/A%prep
13922N/A%setup -q
12086N/A%patch1 -p1
13922N/A
12177N/A%build
13922N/Amake
12644N/A
13923N/A%install
13863N/Apython setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
13923N/A
10139N/A# move to vendor-packages
10139N/Amkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
10139N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
10139N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
10139N/Armdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr(-, root, root)
10139N/A%{_libdir}/python?.?/vendor-packages
10139N/A
13922N/A%changelog
10139N/A* Thu Nov 09 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.6.1.
10139N/A
10139N/A* Sat Oct 07 2006 - brian.cameron@sun.com
10139N/A- Bump to 0.6.0. Add patch to allow building on Solaris.
10139N/A
10139N/A* Fri Aug 25 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.5.5.
10139N/A
10139N/A* Thu May 04 2006 - laca@sun.com
10139N/A- Bump to 0.5.4
10139N/A
10139N/A* Tue Jan 17 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.5.3.
10139N/A
10139N/A* Thu Oct 27 2005 - laca@sun.com
10139N/A- move from site-packages to vendor-packages
10139N/A
10139N/A* Mon Oct 24 2005 - damien.carbery@sun.com
10139N/A- Include .pyc files. A Google search indicates that most people include them.
10139N/A
10139N/A* Thu Oct 20 2005 - damien.carbery@sun.com
10139N/A- Remove 'make' call from %install. Already in '%build'.
10139N/A- Delete .pyc files so they are not included in the package.
10139N/A
10139N/A* Wed Oct 19 2005 - damien.carbery@sun.com
10139N/A- Initial version.
10139N/A