Cross Reference: pyxml.spec
xref
: /
solaris-desktop
/
base-specs
/
pyxml.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
pyxml.spec revision 17185
15723
N/A
#
15723
N/A
# spec file for package pyxml
15723
N/A
#
15723
N/A
# includes module(s): pyxml
15723
N/A
#
15723
N/A
# Copyright 2008 Sun Microsystems, Inc.
15723
N/A
# This file and all modifications and additions to the pristine
17185
N/A
# package are under the same license as the package itself.
15723
N/A
#
15723
N/A
%
define
owner
laca
17182
N/A
#
17182
N/A
%{!?
pythonver
:%
define
pythonver
2.4
}
16267
N/A
15723
N/A
%
define
OSR
8712
:
0.8
.
4
15723
N/A
17698
N/A
Name
:
pyxml
15723
N/A
License
:
CNRI
Python
License
15723
N/A
Group
:
Development
/
Languages
/
Python
15723
N/A
Version
:
0.8
.
4
15723
N/A
Release
:
1
17096
N/A
Distribution
:
Java
Desktop
System
15723
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
15723
N/A
Summary
:
Python
XML
module
15723
N/A
Source
:
http
://
internap.dl.sourceforge.net
/
sourceforge
/
pyxml
/
PyXML-0.8.4.tar.gz
15723
N/A
URL
:
http
://
pyxml.sourceforge.net
/
15723
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
15723
N/A
Docdir
: %{
_defaultdocdir
}/
doc
15723
N/A
Autoreqprov
:
off
15723
N/A
Prereq
: /
sbin
/
ldconfig
15723
N/A
Requires
:
python
>= %{
pythonver
}
15723
N/A
Requires
:
expat
15723
N/A
BuildRequires
:
python
-
devel
>= %{
pythonver
}
15723
N/A
BuildRequires
:
expat
15723
N/A
15723
N/A
%
description
15723
N/A
A
collection
of
tools
useful
for
writing
basic
XML
applications
in
Python
,
15723
N/A
along
with
documentation
and
sample
code
.
15723
N/A
Features
include
(
but
are
not
limited
to
)
SAX
,
DOM
,
the
xmlproc
validating
15723
N/A
parser
,
an
Expat
interface
.
15723
N/A
15723
N/A
%
prep
15723
N/A
%
setup
-q -n
PyXML
-%{
version
}
15723
N/A
15723
N/A
%
install
15723
N/A
python
%{
pythonver
}
setup.py
install
--
prefix
=%{
_prefix
} --
root
=
$RPM_BUILD_ROOT
15723
N/A
15723
N/A
# move to vendor-packages
15723
N/A
mkdir
-p
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
vendor
-
packages
15723
N/A
mv
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
site
-
packages
/* \
15723
N/A
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
vendor
-
packages
/
15723
N/A
rmdir
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
site
-
packages
15723
N/A
15723
N/A
%
clean
15723
N/A
rm
-
rf
$RPM_BUILD_ROOT
17096
N/A
17096
N/A
%
files
17096
N/A
%
defattr
(-,
root
,
root
)
17096
N/A
%{
_bindir
}
17096
N/A
%{
_libdir
}/
python
?.?/
vendor
-
packages
17096
N/A
17096
N/A
%
changelog
15723
N/A
*
Mon
Nov
24
2008
-
laca
@
sun.com
15723
N/A
-
use
%{
pythonver
}
macro
to
select
with
version
of
Python
to
build
which
15723
N/A
*
Mon
Nov
17
2007
-
jedy.wang
@
sun.com
15723
N/A
-
Fix
installation
directory
bug
.
15723
N/A
*
Thu
Nov
01
2007
-
brian.cameron
@
sun.com
15723
N/A
-
Fix
Source
URL
.
15723
N/A
*
Thu
Oct
27
2005
-
laca
@
sun.com
15723
N/A
-
initial
version
15723
N/A