Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 74f774edf1bfe74959e08768cb0046c4 > files > 3

python-htmlgen-2.2-1mdk.src.rpm

%define pydir %_libdir/python%pyver/site-packages

Summary: Python class library to generate HTML
Name: python-htmlgen
Version: 2.2
Release: 1mdk
URL: http://starship.python.net/crew/friedrich/HTMLgen/html/main.html
Source0: http://starship.python.net/crew/friedrich/HTMLgen.tar.bz2
Patch0: python-htmlgen-2.2-install.patch.bz2
License: GPL
Group: Development/Python
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}

%description
HTMLgen is a class library for the generation of HTML documents with
Python scripts. It's used when you want to create HTML pages
containing information which changes from time to time. For example
you might want to have a page which provides an overall system summary
of data collected nightly. Or maybe you have a catalog of data and
images that you would like formed into a spiffy set of web pages for
the world to browse. Python is a great scripting language for these
tasks and with HTMLgen it's very straightforward to construct objects
which are rendered into consistently structured web pages. Of course,
CGI scripts written in Python can take advantage of these classes as
well.

%prep
%setup -n HTMLgen
%patch0 -p1 -b .install

%build
make test

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%pydir
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README ChangeLog html image
%pydir/*

%changelog
* Sat Jan 29 2005 Frederic Lepied <flepied@mandrakesoft.com> 2.2-1mdk
- initial packaging

# end of file