source: projects/specs/trunk/p/pyxdg/pyxdg-vl.spec @ 5524

Revision 5524, 1.7 KB checked in by kudoh, 12 years ago (diff)
Line 
1%define pyver           %(python -c 'import sys;print(sys.version[0:3])')
2%define pkg_release     1%{?_dist_release}
3
4Summary:        Python library to access freedesktop.org standards
5Summary(ja):    freedesktop.org のデスクトップ標準にアクセスする為の Python ライブラリ
6Name:           pyxdg
7Version:        0.19
8Release:        %{pkg_release}
9Source0:        http://www.freedesktop.org/~lanius/%{name}-%{version}.tar.gz
10Patch0:         fix-BaseDirectory-empty-vars.patch
11License:        LGPL
12Group:          Development/Libraries
13URL:            http://freedesktop.org/Software/pyxdg
14
15Requires:       python
16BuildRequires:  python, python-devel
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildArch:      noarch
19
20
21%description
22Pyxdg is a Python library to access freedesktop.org standards.
23
24%description -l ja
25Pyxdg は freedesktop.org のデスクトップ標準にアクセスする為の
26Python ライブラリです。
27
28%prep
29
30%setup -q
31%patch0 -p1
32
33
34%build
35%{__python} setup.py build
36
37
38%install
39%{__rm} -rf ${RPM_BUILD_ROOT}
40%{__python} setup.py install --skip-build --root ${RPM_BUILD_ROOT}
41
42
43%clean
44%{__rm} -rf ${RPM_BUILD_ROOT}
45
46
47%files
48%defattr(-,root,root)
49%doc AUTHORS COPYING ChangeLog INSTALL PKG-INFO README TODO
50#%{_libdir}/python%{pyver}/site-packages/xdg
51#%{_libdir}/python%{pyver}/site-packages/pyxdg-0.17-py2.5.egg-info
52%{_prefix}/lib/python%{pyver}/site-packages/xdg
53%{_prefix}/lib/python%{pyver}/site-packages/pyxdg-%{version}-py%{pyver}.egg-info
54
55%changelog
56* Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.19-1
57- new upstream release
58- added patch0 from Debian
59
60* Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.17-2
61- rebuilt with python-2.6.4
62- fixed site-packages directory
63
64* Fri Nov 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.17-1
65- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.