base-specs/pyxml.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 17865 b7ff02e93f66
child 21105 50eee462ddb9
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
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 pyxml
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): pyxml
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: 16425
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
16425
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15007
diff changeset
    14
%define OSR 8712:0.8.4
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15007
diff changeset
    15
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:         pyxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
License:      CNRI Python License
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.8.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Distribution: Java Desktop System
17865
b7ff02e93f66 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    22
Vendor:       Sourceforge
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Summary:      Python XML module
15007
9c7428a610c5 2009-02-03 Brian Cameron <[email protected]>
yippi
parents: 14644
diff changeset
    24
Source:       http://internap.dl.sourceforge.net/sourceforge/pyxml/PyXML-0.8.4.tar.gz
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
URL:          http://pyxml.sourceforge.net/
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:     expat
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires: python-devel >= %{pythonver}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildRequires: expat
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
A collection of tools useful for writing basic XML applications in Python,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
along with documentation and sample code.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Features include (but are not limited to) SAX, DOM, the xmlproc validating
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
parser, an Expat interface.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
%setup -q -n PyXML-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%install
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    45
python%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
# move to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT
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
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%{_libdir}/python?.?/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%changelog
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: 11102
diff changeset
    64
* Mon Nov 17 2007 - [email protected]
43bba7e5a945 2008-11-17 Wang Xin <[email protected]>
jedy
parents: 11102
diff changeset
    65
- Fix installation directory bug.
11102
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    66
* Thu Nov 01 2007 - [email protected]
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
    67
- Fix Source URL.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
- initial version