]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- massive attack: source-md5
[packages/tidy.git] / tidy.spec
1 # $Revision: 1.22 $ $Date: 2003-05-28 13:02:15 $
2 # TODO:
3 #   - Add docs from http://tidy.sourceforge.net/docs/tidy_docs.tgz
4 #   - Make all ac/am stuff. (Now only oryginal make is used)
5
6 Summary:        Utility to clean up and pretty print HTML files
7 Summary(pl):    Narzêdzie do porz±dkowania kodu HTML
8 Name:           tidy
9 Version:        20030205
10 Release:        0.9
11 License:        distributable
12 Group:          Applications/Text
13 Source0:        http://tidy.sourceforge.net/src/tidy_src.tgz
14 # Source0-md5:  3b1fae60e199e548ee0f2d33c9b0a3dd
15 URL:            http://tidy.sourceforge.net/
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Tidy is utility for cleaning and pretty printing HTML files. It can
20 help in keeping your WWW sources in unified format (case of tags) and
21 proper encoding of different character sets.
22
23 %description -l pl
24 Tidy jest narzêdziem s³u¿±cym do czytelnego formatowania i
25 wy¶wietlania ¼ród³owego kodu HTML. U³atwia utrzymanie porz±dku w
26 ¼ród³ach stron WWW, utrzymanie jednolitej konwecji (wielko¶æ liter w
27 tagach) oraz poprawnego kodowania ró¿nych standardów znaków.
28
29 %package devel
30 Summary:        Tidy header & static library files.
31 Summary(pl):    Pliki nag³ówkowe i biblioteki dla programu Tidy.
32 Group:          Developement
33
34 %description devel
35 Tidy header & static library files
36
37 %description -l pl devel
38 Pliki nag³ówkowe i biblioteki dla programu Tidy.
39
40 %prep
41 %setup -q -n %{name}
42
43 %build
44 #%%{__make} CFLAGS="%{rpmcflags}"
45 %{__make}
46
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 # %%{__make} install \
51 #            DESTDIR=$RPM_BUILD_ROOT
52 # Above doesn't work so:
53
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/%{name},%{_libdir}}
55 install bin/* ${RPM_BUILD_ROOT}%{_bindir}
56 install include/* ${RPM_BUILD_ROOT}%{_includedir}/%{name} 
57 install lib/* ${RPM_BUILD_ROOT}%{_libdir}
58
59 #install tidy ${RPM_BUILD_ROOT}%{_bindir}
60 #install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 #%%doc Overview.html release-notes.html grid.gif tidy.gif
68 #%%{_mandir}/man1/*
69 %%attr(755,root,root) %{_bindir}/*
70
71 %files devel
72 %defattr(644,root,root,755)
73 %{_includedir}/%{name}/*.h
74 %{_libdir}/*.a
This page took 0.07525 seconds and 4 git commands to generate.