[suggest] python-genshi 0.5.1

Brandon Davidson brandond at uoregon.edu
Thu Jul 31 05:48:37 CEST 2008


The attached is a spec file for Genshi 0.5.1

Genshi is the HTML templating system used by Trac and possibly other Python 
projects.

http://genshi.edgewall.org/

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.

-- 
Brandon Davidson
Systems Administrator
University of Oregon Neuroinformatics Center
(541) 346-2417 brandond at uoregon.edu
Key Fingerprint 1F08 A331 78DF 1EFE F645 8AE5 8FBE 4147 E351 E139
-------------- next part --------------
# $Id$
# Authority: dag

%define real_name Genshi
%define version 0.5.1
%define release 1

Summary: Python toolkit for generation of output for the web
Name: python-genshi
Version: %{version}
Release:  %{release}.rf
Source0: http://ftp.edgewall.com/pub/genshi/%{real_name}-%{version}.tar.gz
License: BSD
Group: Development/Libraries
Url: http://genshi.edgewall.org/wiki/

Packager: Dag Wieers <dag at wieers.com>
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}

BuildRequires: python >= 2.3, python-setuptools >= 0.6
Requires: python >= 2.3, python-setuptools => 0.6

%description

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.

%prep
%setup -n %{real_name}-%{version}

%build
python setup.py build

%install
python setup.py install --single-version-externally-managed --optimize=1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
* Wed Jul 30 2008 Brandon Davidson <brandond at uoregon.edu> 0.5.1-1
- Initial package



More information about the suggest mailing list