%define name tidy %define version 20020902 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Group: Text tools Source0: %{name}_src.tar.bz2 Source1: %{name}_docs.tar.bz2 URL: http://tidy.sourceforge.net License: W3C license Summary: Program for tidying up messy HTML BuildRoot: %{_tmppath}/%{name}-buildroot Obsoletes: hacktidy Provides: hacktidy %description tidy is a program for tidying up messy html, for example, when we do html in vi, and we make the text italic with the <i> </i> tag some of us may forget to end the italic text with </i>. tidy fixes this. Install this if you need a program to help you tidy up your HTML. %prep rm -rf $RPM_BUILD_ROOT %setup -n %{name} %setup -n %{name} -T -D -b1 %build %make OTHERCFLAGS="$RPM_OPT_FLAGS" %install install -d -m 755 $RPM_BUILD_ROOT%{_bindir} install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1 install -m 755 tidy $RPM_BUILD_ROOT%{_bindir} install -m 644 man_page.txt $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc htmldoc/* %{_bindir}/* %{_mandir}/man1/* %changelog * Wed Sep 04 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 20020902-1mdk - merged with hacktidy package - updated snapshot * Mon Nov 05 2001 Lenny Cartier <lenny@mandrakesoft.com> 20000804-1mdk - fixed by Stefane Fermigier <sf@fermigier.com> : - fix version * Fri Sep 14 2001 Lenny Cartier <lenny@mandrakesoft.com> 20000408-1mdk - fix version ( thx Guillaume Rousse ) * Wed Sep 05 2001 Lenny Cartier <lenny@mandrakesoft.com> 08042000-2mdk - rebuild * Tue Feb 13 2001 Lenny Cartier <lenny@mandrakesoft.com> 08042000-1mdk - used srpm from Guillaume Rousse <g.rousse@mandrake-linux.com> : - updated to 08042000 - changed group * Tue Jan 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 07082000-3mdk - rebuild * Tue Sep 19 2000 Lenny Cartier <lenny@mandrakesoft.com> 07082000-2mdk - macros * Thu Jul 20 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 07082000-1mdk - first package for mandrake (and probably first rpm too)