# $Revision: 1.10 $ $Date: 2000-06-12 10:53:18 $ Summary: Utility to clean up and pretty print HTML files Summary(pl): Narzędzie do porządkowania kodu HTML Name: tidy Version: 30apr00 Release: 3 Group: Utilities/Text Group(pl): Narzędzia/Tekst License: BSD Source0: http://www.w3.org/People/Raggett/%{name}%{version}.tgz URL: http://www.w3.org/People/Raggett/tidy/ Patch0: %{name}%{version}-html.patch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Tidy is utility for cleaning and pretty printing HTML files. It can help in keeping your WWW sources in unified format (case of tags) and proper encoding of different character sets. %description -l pl Tidy jest narzędziem służącym do czytelnego formatowania i wyświetlania źródłowego kodu HTML. Ułatwia utrzymanie porządku w źródłach stron WWW, utrzymanie jednolitej konwecji (wielkość liter w tagach) oraz poprawnego kodowania różnych standardów znaków. %prep %setup -q -n %{name}%{version} %patch %build %{__make} CFLAGS="$RPM_OPT_FLAGS" cp man_page.txt tidy.1 %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} install -s tidy ${RPM_BUILD_ROOT}%{_bindir} install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 gzip -9nf ${RPM_BUILD_ROOT}%{_mandir}/man1/* \ Overview.html release-notes.html %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Overview.html.gz release-notes.html.gz grid.gif tidy.gif %{_mandir}/man1/* %attr(755,root,root) %{_bindir}/tidy