pkg://html2text-1.3.2a-2mdk.src.rpm:109896/html2text.spec
info downloads
%define name html2text
%define version 1.3.2a
%define release 2mdk
Summary: A command line utility to convert HTML document to plain text
Name: %{name}
Version: %{version}
Release: %{release}
URL: http://userpage.fu-berlin.de/~mbayer/tools/html2text.html
License: GPL
Source0: http://userpage.fu-berlin.de/%7Embayer/tools/%{name}-%{version}.tar.bz2
Group: File tools
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: gcc-c++
%description
html2text is a command line utility, written in C++, that converts
HTML documents into plain text.
%prep
%setup -q
%build
%configure
%make
%install
mkdir -p $RPM_BUILD_ROOT/{%_bindir,%_mandir/{man1,man5}}
install -m755 %{name} $RPM_BUILD_ROOT/%_bindir
install -m644 %{name}.1.gz $RPM_BUILD_ROOT/%_mandir/man1/
install -m644 %{name}rc.5.gz $RPM_BUILD_ROOT/%_mandir/man5/
#install -m644 $RPM_BUILD_ROOT/%_mandir/man5/
%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc CHANGES COPYING CREDITS INSTALL KNOWN_BUGS RELEASE_NOTES README TODO
%_bindir/*
%_mandir/man?/*
%changelog
* Sun Jun 06 2004 Michael Scherer <misc@mandrake.org> 1.3.2a-2mdk
- rebuild for new gcc
* Wed May 05 2004 Michael Scherer <misc@mandrake.org> 1.3.2a-1mdk
- First version