1 # $Revision: 1.12 $ $Date: 2001-05-03 01:14:03 $
2 Summary: Utility to clean up and pretty print HTML files
3 Summary(pl): Narzêdzie do porz±dkowania kodu HTML
8 Group: Applications/Text
9 Group(de): Applikationen/Text
10 Group(pl): Aplikacje/Tekst
12 Source0: http://www.w3.org/People/Raggett/%{name}%{version}.tgz
13 URL: http://www.w3.org/People/Raggett/tidy/
14 #Patch0: %{name}30apr00-html.patch
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Tidy is utility for cleaning and pretty printing HTML files. It can
19 help in keeping your WWW sources in unified format (case of tags) and
20 proper encoding of different character sets.
23 Tidy jest narzêdziem s³u¿±cym do czytelnego formatowania i
24 wy¶wietlania ¼ród³owego kodu HTML. U³atwia utrzymanie porz±dku w
25 ¼ród³ach stron WWW, utrzymanie jednolitej konwecji (wielko¶æ liter w
26 tagach) oraz poprawnego kodowania ró¿nych standardów znaków.
29 %setup -q -n %{name}%{version}
33 %{__make} CFLAGS="%{rpmcflags}"
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install tidy ${RPM_BUILD_ROOT}%{_bindir}
40 install man_page.txt ${RPM_BUILD_ROOT}%{_mandir}/man1/tidy.1
41 gzip -9nf Overview.html release-notes.html
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc Overview.html.gz release-notes.html.gz grid.gif tidy.gif
50 %attr(755,root,root) %{_bindir}/tidy