]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- cleanups (adapterized, added "rm -rf $RPM_BUILD_ROOT" on top %install).
[packages/tidy.git] / tidy.spec
1 # $Revision: 1.3 $ $Date: 1999-12-09 19:51:46 $
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:        30nov99
6 Release:        1
7 Group:          Utilities/Text
8 Group(pl):      Narzêdzia/Tekst
9 License:        BSD
10 Source:         http://www.w3.org/People/Raggett/%{name}%{version}.tgz
11 URL:            http://www.w3.org/People/Raggett/tidy/
12 Patch:          %{name}%{version}-html.patch.gz
13 Buildroot:      /tmp/%{name}-%{version}-root
14
15 %description
16 Tidy is utility for cleaning and pretty printing HTML files. It can help
17 in keeping your WWW sources in unified format (case of tags) and proper
18 encoding of different character sets.
19
20 %description -l pl
21 Tidy jest narzêdziem s³u¿±cym do czytelnego formatowania i wy¶wietlania
22 ¼ród³owego kodu HTML. U³atwia utrzymanie porz±dku w ¼ród³ach stron WWW,
23 utrzymanie jednolitej konwecji (wielko¶æ liter w tagach) oraz poprawnego
24 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 %attr(755,root,root) %{_bindir}/tidy
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.07326 seconds and 3 git commands to generate.