Name: libht2html
Version: 2.0
Release: 1mamba
Summary: The www.python.org Web site generator
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: gil
URL: http://ht2html.sourceforge.net/
Source0: http://ovh.dl.sourceforge.net/sourceforge/ht2html/ht2html-%{version}.tar.gz
Source1: ht2html
License: Python License
BuildRequires: python
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{name} is a simple web page templating system that defines a format and provides a set of Python
scripts for creating a simple, but consistent web site. All pages include a left corner logo,
a site wide site links top bar, and a directory-specific side
%prep
%setup -q -n ht2html-%{version}
cp %{S:1} .
sed -i "s|python|%{__python}|" ht2html
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_bindir}
install -m 755 ht2html %{buildroot}%{_bindir}
install -d -m 755 %{buildroot}%{_datadir}/ht2html
install -m 755 calcroot.py %{buildroot}%{_datadir}/ht2html
install -m 755 ht2html.py %{buildroot}%{_datadir}/ht2html
install -m 644 BAWGenerator.py %{buildroot}%{_datadir}/ht2html
install -m 644 Banner.py %{buildroot}%{_datadir}/ht2html
install -m 644 HTParser.py %{buildroot}%{_datadir}/ht2html
install -m 644 IPC8Generator.py %{buildroot}%{_datadir}/ht2html
install -m 644 JPyGenerator.py %{buildroot}%{_datadir}/ht2html
install -m 644 JPyLocalGenerator.py %{buildroot}%{_datadir}/ht2html
install -m 644 LinkFixer.py %{buildroot}%{_datadir}/ht2html
install -m 644 PDOGenerator.py %{buildroot}%{_datadir}/ht2html
install -m 644 SelfGenerator.py %{buildroot}%{_datadir}/ht2html
install -m 644 Sidebar.py %{buildroot}%{_datadir}/ht2html
install -m 644 Skeleton.py %{buildroot}%{_datadir}/ht2html
install -m 644 StandardGenerator.py %{buildroot}%{_datadir}/ht2html
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/ht2html
%dir %{_datadir}/ht2html
%{_datadir}/ht2html/*.py
%doc README doc/*.{html,png}
%changelog
* Sat Feb 14 2009 gil 2.0-1mamba
- package created by autospec