]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
277c1822a1a5f9cb4366199c745d314652b1541a
[packages/tidy.git] / tidy.spec
1 # $Revision: 1.13 $ $Date: 2001-08-16 08:25:19 $
2 %define w3cver 4aug00
3 Summary:        Utility to clean up and pretty print HTML files
4 Summary(pl):    Narzêdzie do porz±dkowania kodu HTML
5 Name:           tidy
6 Version:        20000804.%{w3cver}
7 Release:        1
8 Group:          Utilities/Text
9 Group(pl):      Narzêdzia/Tekst
10 License:        BSD
11 Source0:        http://www.w3.org/People/Raggett/%{name}%{w3cver}.tgz
12 URL:            http://www.w3.org/People/Raggett/tidy/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Tidy is utility for cleaning and pretty printing HTML files. It can
17 help in keeping your WWW sources in unified format (case of tags) and
18 proper encoding of different character sets.
19
20 %description -l pl
21 Tidy jest narzêdziem s³u¿±cym do czytelnego formatowania i
22 wy¶wietlania ¼ród³owego kodu HTML. U³atwia utrzymanie porz±dku w
23 ¼ród³ach stron WWW, utrzymanie jednolitej konwecji (wielko¶æ liter w
24 tagach) oraz poprawnego kodowania ró¿nych standardów znaków.
25
26 %prep
27 %setup -q -n %{name}%{w3cver}
28
29 %build
30 %{__make} CFLAGS="$RPM_OPT_FLAGS"
31 cp man_page.txt tidy.1
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36
37 install -s tidy ${RPM_BUILD_ROOT}%{_bindir}
38 install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
39 gzip -9nf ${RPM_BUILD_ROOT}%{_mandir}/man1/* \
40         Overview.html release-notes.html
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Overview.html.gz release-notes.html.gz grid.gif tidy.gif
48 %{_mandir}/man1/*
49 %attr(755,root,root) %{_bindir}/tidy
This page took 0.09689 seconds and 3 git commands to generate.