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