d69e2f0
Name:		ht2html
d69e2f0
Version:	2.0
e9f75ce
Release:	10%{?dist}
Igor Foox dd0edfa
URL:		http://ht2html.sourceforge.net
Igor Foox dd0edfa
Source0:	http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
Igor Foox dd0edfa
Source1:	%{name}
Igor Foox dd0edfa
Source2:	%{name}-LICENSE
d69e2f0
License:	Python
Igor Foox dd0edfa
Group:		System Environment/Libraries
Igor Foox dd0edfa
Summary:	The www.python.org Web site generator
Igor Foox dd0edfa
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Igor Foox dd0edfa
BuildArch:	noarch
Matt Domsch aabd60a
BuildRequires:  python
Matt Domsch aabd60a
Requires:  python
Igor Foox dd0edfa
Igor Foox dd0edfa
%description
Igor Foox dd0edfa
The www.python.org Web site generator.
Igor Foox dd0edfa
Igor Foox dd0edfa
%prep
Igor Foox dd0edfa
%setup -q
Igor Foox dd0edfa
cp %{SOURCE1} .
Igor Foox dd0edfa
cp %{SOURCE2} ./LICENSE
Igor Foox dd0edfa
Igor Foox dd0edfa
%build
Igor Foox dd0edfa
Igor Foox dd0edfa
%install
Igor Foox dd0edfa
rm -rf $RPM_BUILD_ROOT
Igor Foox dd0edfa
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
Igor Foox dd0edfa
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
Igor Foox dd0edfa
Igor Foox dd0edfa
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 755 calcroot.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 755 ht2html.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 BAWGenerator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 Banner.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 HTParser.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 IPC8Generator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 JPyGenerator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 JPyLocalGenerator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 LinkFixer.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 PDOGenerator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 SelfGenerator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 Sidebar.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 Skeleton.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
install -m 644 StandardGenerator.py $RPM_BUILD_ROOT%{_datadir}/%{name}
Igor Foox dd0edfa
Igor Foox dd0edfa
%clean
Igor Foox dd0edfa
rm -rf $RPM_BUILD_ROOT
Igor Foox dd0edfa
Igor Foox dd0edfa
%files
Igor Foox dd0edfa
%defattr(-,root,root)
Igor Foox dd0edfa
%doc README LICENSE doc/*.{html,png}
1e82459
%dir %{_datadir}/%{name}
Igor Foox dd0edfa
%{_datadir}/%{name}/*.py
Igor Foox dd0edfa
%{_datadir}/%{name}/*.pyc
Igor Foox 2434a64
%{_datadir}/%{name}/*.pyo
Igor Foox dd0edfa
%{_bindir}/*
Igor Foox dd0edfa
Igor Foox dd0edfa
%changelog
e9f75ce
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-10
e9f75ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e9f75ce
560f854
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-9
560f854
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
560f854
8c72120
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0-8
8c72120
- Rebuild for Python 2.6
8c72120
Matt Domsch aabd60a
* Tue Sep 16 2008 Matt Domsch <mdomsch@fedoraproject.org> - 2.0-7
Matt Domsch aabd60a
- BR python, fixes FTBFS BZ#440916
Matt Domsch aabd60a
d69e2f0
* Thu Jul 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0-6
d69e2f0
- fix license tag
d69e2f0
Igor Foox 2434a64
* Wed Sep 06 2006 Igor Foox <ifoox@redhat.com> 2.0-5
Igor Foox 2434a64
- Remove ghosting of pyo files as per new Fedora Guidelines.
Igor Foox 2434a64
Igor Foox dd0edfa
* Tue Jul 25 2006 Igor Foox <ifoox@redhat.com> 2.0-4
Igor Foox dd0edfa
- Fix Requires from Python to python.
Igor Foox dd0edfa
Igor Foox dd0edfa
* Mon Jul 24 2006 Igor Foox <ifoox@redhat.com> 2.0-3
Igor Foox dd0edfa
- Remove comment to reference license and include a copy as another source file.
Igor Foox dd0edfa
- Add Requires for Python.
Igor Foox dd0edfa
- Add dist tag.
Igor Foox dd0edfa
Igor Foox dd0edfa
* Mon Jul 24 2006 Igor Foox <ifoox@redhat.com> 2.0-2
Igor Foox dd0edfa
- Include comment to reference ML thread about licensing.
Igor Foox dd0edfa
Igor Foox dd0edfa
* Mon Jun 26 2006 Igor Foox <ifoox@redhat.com> 2.0-1
Igor Foox dd0edfa
- Changed release number to numeric (1)
Igor Foox dd0edfa
- Fixed license to 'Python Software Foundation License'
Igor Foox dd0edfa
Igor Foox dd0edfa
* Fri Jun 23 2006 Igor Foox <ifoox@redhat.com> 2.0-1jpp_2fc
Igor Foox dd0edfa
- Removed BuildRequires of python-devel
Igor Foox dd0edfa
- Removed Vendor and Distribution tags
Igor Foox dd0edfa
- Changed Source0 to be a URL, and also changed to the file provided by 
Igor Foox dd0edfa
upstream
Igor Foox dd0edfa
- Changed license to Python License
Igor Foox dd0edfa
- Split %%files section into seperate entries for .pyo .pyc and .py files,
Igor Foox dd0edfa
%%ghosting the .pyo files
Igor Foox dd0edfa
Igor Foox dd0edfa
* Thu Jun 1 2006 Igor Foox <ifoox@rehdat.com> 2.0-1jpp_1fc
Igor Foox dd0edfa
- Changed buildroot to what Extras expects
Igor Foox dd0edfa
Igor Foox dd0edfa
* Mon Nov 22 2004 Fernando Nasser <fnasser@redhat.com> 2.0-1jpp
Igor Foox dd0edfa
- Import of 2.0-4mdk spec file from
Igor Foox dd0edfa
  Guillaume Rousse <g.rousse@linux-mandrake.com>
Igor Foox dd0edfa
  David Walluck <walluck@linux-mandrake.com>