]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- release 3.
[packages/tidy.git] / tidy.spec
1 # $Revision: 1.10 $ $Date: 2000-06-12 10:53:18 $
2 Summary:        Utility to clean up and pretty print HTML files
3 Summary(pl):    Narzêdzie do porz±dkowania kodu HTML
4 Name:           tidy
5 Version:        30apr00
6 Release:        3
7 Group:          Utilities/Text
8 Group(pl):      Narzêdzia/Tekst
9 License:        BSD
10 Source0:        http://www.w3.org/People/Raggett/%{name}%{version}.tgz
11 URL:            http://www.w3.org/People/Raggett/tidy/
12 Patch0:         %{name}%{version}-html.patch
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}%{version}
28 %patch
29
30 %build
31 %{__make} CFLAGS="$RPM_OPT_FLAGS"
32 cp man_page.txt tidy.1
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 install -s tidy ${RPM_BUILD_ROOT}%{_bindir}
39 install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
40 gzip -9nf ${RPM_BUILD_ROOT}%{_mandir}/man1/* \
41         Overview.html release-notes.html
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc Overview.html.gz release-notes.html.gz grid.gif tidy.gif
49 %{_mandir}/man1/*
50 %attr(755,root,root) %{_bindir}/tidy
This page took 0.066554 seconds and 3 git commands to generate.