1 # $Revision: 1.17 $ $Date: 2002-02-22 23:29:48 $
3 Summary: Utility to clean up and pretty print HTML files
4 Summary(pl): Narzêdzie do porz±dkowania kodu HTML
6 Version: 20000804.%{w3cver}
9 Group: Applications/Text
10 Source0: http://www.w3.org/People/Raggett/%{name}%{w3cver}.tgz
11 URL: http://www.w3.org/People/Raggett/tidy/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Tidy is utility for cleaning and pretty printing HTML files. It can
16 help in keeping your WWW sources in unified format (case of tags) and
17 proper encoding of different character sets.
20 Tidy jest narzêdziem s³u¿±cym do czytelnego formatowania i
21 wy¶wietlania ¼ród³owego kodu HTML. U³atwia utrzymanie porz±dku w
22 ¼ród³ach stron WWW, utrzymanie jednolitej konwecji (wielko¶æ liter w
23 tagach) oraz poprawnego kodowania ró¿nych standardów znaków.
26 %setup -q -n %{name}%{w3cver}
29 %{__make} CFLAGS="%{rpmcflags}"
30 cp man_page.txt tidy.1
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36 install tidy ${RPM_BUILD_ROOT}%{_bindir}
37 install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
39 gzip -9nf Overview.html release-notes.html
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc Overview.html.gz release-notes.html.gz grid.gif tidy.gif
48 %attr(755,root,root) %{_bindir}/tidy