Cross Reference: pyyaml.spec
xref
: /
solaris-desktop
/
base-specs
/
pyyaml.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
pyyaml.spec revision 18861
18861
N/A
#
18861
N/A
# spec file for package pyyaml
18861
N/A
#
18861
N/A
# Copyright 2008 Sun Microsystems, Inc.
18861
N/A
# This file and all modifications and additions to the pristine
18861
N/A
# package are under the same license as the package itself.
18861
N/A
#
18861
N/A
%
define
owner
yippi
18861
N/A
#
18861
N/A
18861
N/A
%{?!
pythonver
:%
define
pythonver
2.4
}
18861
N/A
18861
N/A
%
define
OSR
10185
:
3.05
18861
N/A
18861
N/A
Name
:
pyyaml
18861
N/A
License
:
MIT
18861
N/A
Vendor
:
http
://
pyyaml.org
/
18861
N/A
Group
:
Development
/
Libraries
18861
N/A
Version
:
3.09
18861
N/A
URL
:
http
://
pyyaml.org
/
18861
N/A
Release
:
1
18861
N/A
Distribution
:
Java
Desktop
System
18861
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
18861
N/A
Summary
: A
YAML
parser
and
emitter
for
the
Python
languag
18861
N/A
Source
:
http
://
pyyaml.org
/
download
/
pyyaml
/
PyYAML
-%{
version
}
.tar.gz
18861
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
18861
N/A
Requires
:
python
18861
N/A
18861
N/A
%
description
18861
N/A
YAML
is
a
data
serialization
format
designed
for
human
readability
and
18861
N/A
interaction
with
scripting
languages
.
PyYAML
is
a
YAML
parser
and
18861
N/A
emitter
for
Python
.
18861
N/A
18861
N/A
PyYAML
features
a
complete
YAML
1.1
parser
,
Unicode
support
,
pickle
18861
N/A
support
,
capable
extension
API
,
and
sensible
error
messages
.
PyYAML
18861
N/A
supports
standard
YAML
tags
and
provides
Python
-
specific
tags
that
allow
18861
N/A
to
represent
an
arbitrary
Python
object
.
18861
N/A
18861
N/A
PyYAML
is
applicable
for
a
broad
range
of
tasks
from
complex
18861
N/A
configuration
files
to
object
serialization
and
persistance
.
18861
N/A
18861
N/A
%
prep
18861
N/A
%
setup
-q -n
PyYAML
-%
version
18861
N/A
18861
N/A
%
build
18861
N/A
python
%{
pythonver
}
setup.py
build
18861
N/A
18861
N/A
%
install
18861
N/A
python
%{
pythonver
}
setup.py
install
--
prefix
=%{
_prefix
} --
root
=
$RPM_BUILD_ROOT
18861
N/A
18861
N/A
# move to vendor-packages
18861
N/A
mkdir
-p
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
vendor
-
packages
18861
N/A
mv
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
site
-
packages
/* \
18861
N/A
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
vendor
-
packages
/
18861
N/A
rmdir
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
site
-
packages
18861
N/A
18861
N/A
%
clean
18861
N/A
rm
-
rf
$RPM_BUILD_ROOT
18861
N/A
18861
N/A
%
files
18861
N/A
%
defattr
(-,
root
,
bin
)
18861
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_libdir
}
18861
N/A
%{
_libdir
}/
python
%{
pythonver
}/
vendor-packages
/
yaml
/*
18861
N/A
18861
N/A
%
changelog
18861
N/A
*
Mon
Aug
31
2009
-
brian.cameron
@
sun.com
18861
N/A
-
Bump
to
3.0
.
9
.
18861
N/A
*
Mon
Jul
06
2009
-
harry.lu
@
sun.com
18861
N/A
-
Change
owner
to
yippi
.
18861
N/A
*
Fri
Mar
06
2009
-
li.yuan
@
sun.com
18861
N/A
-
Change
owner
to
liyuan
.
18861
N/A
*
Fri
Jan
09
2009
-
jim.li
@
sun.com
18861
N/A
-
Bump
to
3.08
.
18861
N/A
*
Mon
Nov
10
2008
-
jim.li
@
sun.com
18861
N/A
-
add
copyright
.
18861
N/A
-
add
license
tag
.
18861
N/A
-
rename
SFEpyyaml
to
SUNWpyyaml
.
18861
N/A
*
Fri
Oct
31
2008
-
brian.cameron
@
sun.com
18861
N/A
-
Bump
to
3.06
.
18861
N/A
*
Sat
Apr
12
2008
-
brian.cameron
@
sun.com
18861
N/A
-
created
with
3.05
.