pyspi.spec revision 11383
10139N/A#
10139N/A# spec file for package pyspi
10139N/A#
10139N/A# includes module(s): pyspi
10139N/A#
15395N/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#
17185N/A# Owner: laca
10139N/A#
15395N/A%define pythonver 2.4
10139N/A
18603N/AName: pyspi
17177N/ALicense: LGPL
10139N/AGroup: Development/Languages/Python
10139N/AVersion: 0.6.1
10139N/ARelease: 2
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Python bindings for CSPI
10139N/ASource: http://people.redhat.com/zcerza/dogtail/releases/%{name}-%{version}.tar.gz
10139N/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
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/doc
10139N/AAutoreqprov: off
10139N/APrereq: /sbin/ldconfig
10139N/ARequires: python >= %{pythonver}
10139N/ARequires: at-spi
10139N/ARequires: Pyrex
10139N/ABuildRequires: python-devel >= %{pythonver}
10139N/ABuildRequires: at-spi-devel
10139N/A
10139N/A%description
10139N/APython bindings for CSPI
10139N/A
10139N/A%prep
15395N/A%setup -q
16254N/A%patch1 -p1
16254N/A
16254N/A%build
16254N/Amake
10139N/A
10139N/A%install
10139N/Apython setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
10139N/A
10139N/A# Move to vendor-packages
10139N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \
10139N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
10139N/A
10139N/A%clean
16365N/Arm -rf $RPM_BUILD_ROOT
16365N/A
16254N/A%files
16254N/A%defattr(-, root, root)
16254N/A%{_libdir}/python?.?/vendor-packages
15395N/A
15395N/A%changelog
15361N/A* Wed Oct 10 2007 - damien.carbery@sun.com
15361N/A- Move files from site-packages to vendor-packages. Fixes 6615442.
13931N/A
13931N/A* Thu Nov 09 2006 - damien.carbery@sun.com
13931N/A- Bump to 0.6.1.
13841N/A
13841N/A* Sat Oct 07 2006 - brian.cameron@sun.com
13841N/A- Bump to 0.6.0. Add patch to allow building on Solaris.
11880N/A
11880N/A* Fri Aug 25 2006 - damien.carbery@sun.com
11880N/A- Bump to 0.5.5.
11377N/A
11383N/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