source: projects/specs/trunk/p/python-genshi/python-genshi-vl.spec @ 3406

Revision 3406, 1.5 KB checked in by iwaim, 13 years ago (diff)

python-genshi-0.6-1

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.6
4%define rel 1
5
6Summary: Python toolkit for generation of output for the web
7Name: python-genshi
8Version: %{ver}
9Release: %{rel}%{?_dist_release}
10Source0: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.gz
11License: modified BSD-style License
12Group: Development/Libraries
13URL: http://genshi.edgewall.org/
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16Requires: python-babel >= 0.8 python-setuptools >= 0.6a2
17BuildRequires: python-devel
18BuildRequires: python-babel >= 0.8 python-setuptools >= 0.6a2
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23
24%description
25Genshi 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.
26
27%prep
28%setup -q -n Genshi-%{version}
29
30%build
31python setup.py build
32
33%install
34%{__rm} -rf ${RPM_BUILD_ROOT}
35python setup.py install --root=${RPM_BUILD_ROOT}
36
37
38%clean
39%{__rm} -rf ${RPM_BUILD_ROOT}
40
41
42%files
43%defattr(-,root,root)
44%doc COPYING ChangeLog README.txt doc examples
45%{python_sitearch}/Genshi-*.egg-info
46%{python_sitearch}/genshi
47
48
49%changelog
50* Sun Apr 10 2011 IWAI, Masaharu <iwai@alib.jp> 0.6-1
51- new upstream release
52- add BuildRequires: python-devel
53
54* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.5.1-2
55- rebuild with python-2.6
56
57* Sun Apr  5 2009 IWAI, Masaharu <iwai@alib.jp> 0.5.1-1
58- initial release
59
Note: See TracBrowser for help on using the repository browser.