base-specs/pyspi.spec
author chrisk
Mon, 31 Aug 2009 16:23:04 +0000
changeset 16434 f21f22550fe9
parent 16426 6e0af232ec80
child 17852 edfc096bfd70
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * base-specs/*.spec, *.spec: Change owner field to be parsable with spectool.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package pyspi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): pyspi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16426
diff changeset
    10
%define owner laca
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    12
%{!?pythonver:%define pythonver 2.4}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15614
diff changeset
    14
%define OSR gnome.org:0
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15614
diff changeset
    15
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:         pyspi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
License:      LGPL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Group:        Development/Languages/Python
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Version:      0.6.1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Release:      2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Distribution: Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Vendor:       Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Summary:      Python bindings for CSPI
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Source:       http://people.redhat.com/zcerza/dogtail/releases/%{name}-%{version}.tar.gz
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
URL:          http://gnome.org/projects/pyspi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Docdir:       %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Autoreqprov:  off
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Prereq:       /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Requires:      python >= %{pythonver}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires:      at-spi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires:      Pyrex
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildRequires: python-devel >= %{pythonver}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
BuildRequires: at-spi-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Python bindings for CSPI
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
%setup -q
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%install
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    43
python%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
15503
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    44
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    45
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    46
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    47
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%{_libdir}/python?.?/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%changelog
15614
bbbfe1b4b965 2009-04-15 Dave Lin <[email protected]>
davelam
parents: 15503
diff changeset
    57
* Wed Apr 15 2009 - [email protected]
bbbfe1b4b965 2009-04-15 Dave Lin <[email protected]>
davelam
parents: 15503
diff changeset
    58
- Remove %build section which would be covered in %install section.
15503
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    59
* Wed Mar 25 2009 - [email protected]
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    60
- Move pyspi from SUNWgnome-python-libs to SUNWgnome-a11y-libs. Move files
122c52d1fd43 2009-03-26 Li Yuan <[email protected]>
liyuan
parents: 14644
diff changeset
    61
  from site-packages to vendor-packages.
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    62
* Mon Nov 24 2008 - [email protected]
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    63
- use %{pythonver} macro to select with version of Python to build which
14610
43bba7e5a945 2008-11-17 Wang Xin <[email protected]>
jedy
parents: 13189
diff changeset
    64
* Mon Nov 17 2007 - [email protected]
43bba7e5a945 2008-11-17 Wang Xin <[email protected]>
jedy
parents: 13189
diff changeset
    65
- Fix installation directory bug.
13189
836ff5d12ba2 2008-08-20 Brian Cameron <[email protected]>
yippi
parents: 13099
diff changeset
    66
* Wed Aug 20 2008 - [email protected]
836ff5d12ba2 2008-08-20 Brian Cameron <[email protected]>
yippi
parents: 13099
diff changeset
    67
- Remove patch pyspi-01-solaris.diff since it is no longer needed now that the
836ff5d12ba2 2008-08-20 Brian Cameron <[email protected]>
yippi
parents: 13099
diff changeset
    68
  x11.pc file is in our builds.
13099
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 11138
diff changeset
    69
* Mon Aug 11 2008 - [email protected]
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 11138
diff changeset
    70
- Remove the site-packages to vendor-packages as it is done in the top level
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 11138
diff changeset
    71
  spec file now.
11138
84a59b1840c8 2007-11-07 Damien Carbery <[email protected]>
dcarbery
parents: 10641
diff changeset
    72
* Wed Nov 07 2007 - [email protected]
84a59b1840c8 2007-11-07 Damien Carbery <[email protected]>
dcarbery
parents: 10641
diff changeset
    73
- Update fix for 6615442 - vendor-packages dir already existed so the mv
84a59b1840c8 2007-11-07 Damien Carbery <[email protected]>
dcarbery
parents: 10641
diff changeset
    74
  created a site-packages dir under vendor-packages. mv command corrected.
10635
ea9c5ea506dd 2007-10-10 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
    75
* Wed Oct 10 2007 - [email protected]
10641
c9864ab4f7a9 Add bug number (6615442) to %changelog for move from site-packages to vendor-packages.
dcarbery
parents: 10635
diff changeset
    76
- Move files from site-packages to vendor-packages. Fixes 6615442.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
* Thu Nov 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
- Bump to 0.6.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
* Sat Oct 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
- Bump to 0.6.0.  Add patch to allow building on Solaris.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
* Fri Aug 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
- Bump to 0.5.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
* Thu May 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
- Bump to 0.5.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
* Tue Jan 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
- Bump to 0.5.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
- move from site-packages to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
* Mon Oct 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
- Include .pyc files. A Google search indicates that most people include them.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
* Thu Oct 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
- Remove 'make' call from %install. Already in '%build'.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
- Delete .pyc files so they are not included in the package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
* Wed Oct 19 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
- Initial version.