rpms/python-html2text/EL-5 python-html2text.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Thorsten Leemhuis (thl)
fedora-extras-commits at redhat.com
Mon Mar 26 07:58:18 UTC 2007
- Previous message (by thread): rpms/python-html2text/EL-4 python-html2text.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rss2email/devel rss2email-config.py.template, NONE, 1.1 rss2email-r2e, NONE, 1.1 rss2email-r2e.1, NONE, 1.1 rss2email-use-configpy-from-homedir.patch, NONE, 1.1 rss2email-warn-if-problems-with-local-mta.patch, NONE, 1.1 rss2email.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: thl
Update of /cvs/extras/rpms/python-html2text/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11327
Modified Files:
.cvsignore sources
Added Files:
python-html2text.spec
Log Message:
initial import; review in #233715
--- NEW FILE python-html2text.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-html2text
Version: 2.26
Release: 2%{?dist}
Summary: Converts a page of HTML into clean, easy-to-read plain ASCII text
Group: Development/Languages
License: GPL
URL: http://www.aaronsw.com/2002/html2text/
Source0: http://www.aaronsw.com/2002/html2text/html2text-2.26.py
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
html2text is a Python script that convers a page of HTML into clean,
easy-to-read plain ASCII text. Better yet, that ASCII also happens to
be valid Markdown (a text-to-HTML format).
Also known as: THE ASCIINATOR, html to text, htm to txt, htm2txt, ...
%prep
%setup -q -c -T
install -p %{SOURCE0} ./html2text.py
sed -i -e 's/\r//' html2text.py
%build
echo Nothing to build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{python_sitelib}/
install -p -m 0644 html2text.py $RPM_BUILD_ROOT/%{python_sitelib}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog
* Sat Mar 24 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 2.26-2
- Use sed instead of dos2unix
* Sat Mar 24 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 2.26-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-html2text/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 24 Mar 2007 22:48:59 -0000 1.1
+++ .cvsignore 26 Mar 2007 07:57:45 -0000 1.2
@@ -0,0 +1 @@
+html2text-2.26.py
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-html2text/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Mar 2007 22:48:59 -0000 1.1
+++ sources 26 Mar 2007 07:57:45 -0000 1.2
@@ -0,0 +1 @@
+6b567fea434b188e3ce838fffccf1565 html2text-2.26.py
- Previous message (by thread): rpms/python-html2text/EL-4 python-html2text.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rss2email/devel rss2email-config.py.template, NONE, 1.1 rss2email-r2e, NONE, 1.1 rss2email-r2e.1, NONE, 1.1 rss2email-use-configpy-from-homedir.patch, NONE, 1.1 rss2email-warn-if-problems-with-local-mta.patch, NONE, 1.1 rss2email.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list