Line | |
---|
1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | |
---|
3 | %define ver 0.5.1 |
---|
4 | %define rel 2 |
---|
5 | |
---|
6 | Summary: Python toolkit for generation of output for the web |
---|
7 | Name: python-genshi |
---|
8 | Version: %{ver} |
---|
9 | Release: %{rel}%{?_dist_release} |
---|
10 | Source0: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.bz2 |
---|
11 | License: modified BSD-style License |
---|
12 | Group: Development/Libraries |
---|
13 | URL: http://genshi.edgewall.org/ |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | Requires: python-babel >= 0.8 python-setuptools >= 0.6a2 |
---|
17 | BuildRequires: python-babel >= 0.8 python-setuptools >= 0.6a2 |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | |
---|
23 | %description |
---|
24 | Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. |
---|
25 | |
---|
26 | %prep |
---|
27 | %setup -q -n Genshi-%{version} |
---|
28 | |
---|
29 | %build |
---|
30 | python setup.py build |
---|
31 | |
---|
32 | %install |
---|
33 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
34 | python setup.py install --root=${RPM_BUILD_ROOT} |
---|
35 | |
---|
36 | |
---|
37 | %clean |
---|
38 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
39 | |
---|
40 | |
---|
41 | %files |
---|
42 | %defattr(-,root,root) |
---|
43 | %doc COPYING ChangeLog README.txt doc examples |
---|
44 | %{python_sitearch}/Genshi-*.egg-info |
---|
45 | %{python_sitearch}/genshi |
---|
46 | |
---|
47 | |
---|
48 | %changelog |
---|
49 | * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.5.1-2 |
---|
50 | - rebuild with python-2.6 |
---|
51 | |
---|
52 | * Sun Apr 5 2009 IWAI, Masaharu <iwai@alib.jp> 0.5.1-1 |
---|
53 | - initial release |
---|
54 | |
---|
Note: See
TracBrowser
for help on using the repository browser.