18110
|
1 |
#
|
|
2 |
# spec file for package SUNWpython-xdg
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
%define owner lin
|
|
9 |
#
|
|
10 |
|
|
11 |
%include Solaris.inc
|
|
12 |
|
|
13 |
%define pythonver 2.4
|
|
14 |
%use pyxdg = python-xdg.spec
|
|
15 |
|
|
16 |
Name: SUNWpython-xdg
|
|
17 |
IPS_package_name: library/python-2/python-xdg-24
|
|
18 |
Meta(info.classification): %{classification_prefix}:Development/Python
|
|
19 |
Summary: %{pyxdg.summary}
|
|
20 |
URL: %{pyxdg.url}
|
|
21 |
Version: %{pyxdg.version}
|
|
22 |
SUNW_BaseDir: %{_basedir}
|
|
23 |
SUNW_Copyright: %{name}.copyright
|
|
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
25 |
BuildRequires: SUNWPython-devel
|
|
26 |
BuildRequires: SUNWpython-setuptools
|
|
27 |
Requires: SUNWPython
|
|
28 |
|
|
29 |
%include default-depend.inc
|
|
30 |
|
|
31 |
%description
|
|
32 |
Extensions to python-distutils for large or complex distributions.
|
|
33 |
|
|
34 |
%prep
|
|
35 |
rm -rf %{name}-%{version}
|
|
36 |
mkdir -p %{name}-%{version}
|
|
37 |
%pyxdg.prep -d %{name}-%{version}
|
|
38 |
|
|
39 |
%build
|
|
40 |
%pyxdg.build -d %{name}-%{version}
|
|
41 |
|
|
42 |
%install
|
|
43 |
rm -rf $RPM_BUILD_ROOT
|
|
44 |
%pyxdg.install -d %{name}-%{version}
|
|
45 |
|
|
46 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
47 |
|
|
48 |
%clean
|
|
49 |
rm -rf $RPM_BUILD_ROOT
|
|
50 |
|
|
51 |
%files
|
|
52 |
%defattr (-, root, bin)
|
|
53 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
54 |
%{_libdir}/python%{pythonver}/vendor-packages/xdg/*
|
|
55 |
%doc -d pyxdg-%version AUTHORS README PKG-INFO
|
|
56 |
%doc(bzip2) -d pyxdg-%version COPYING ChangeLog
|
|
57 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
58 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
59 |
|
|
60 |
%changelog
|
|
61 |
* Thu Nov 27 2008 - [email protected]
|
|
62 |
- Use a base spec-d pyxdg-%version file
|
|
63 |
* Tue Nov 18 2008 - [email protected]
|
|
64 |
- Fix installation directory problem.
|
|
65 |
* Wed Oct 29 2008 - [email protected]
|
|
66 |
- Add patch xdg-01-indentation.diff to fix runtime bugzilla bug #18289.
|
|
67 |
* Mon Oct 27 2008 - [email protected]
|
|
68 |
- Bump to 0.16.
|
|
69 |
* Fri Sep 12 2008 - [email protected]
|
|
70 |
- Update copyright
|
|
71 |
* Wed May 14 2008 - [email protected]
|
|
72 |
- Add dependency for SUNWPython
|
|
73 |
* Tue Feb 12 2008 - [email protected]
|
|
74 |
- initial version
|