]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- spelling fixes
[packages/tidy.git] / tidy.spec
1 Summary:        Utility to clean up and pretty print HTML files
2 Summary(pl):    Narzêdzie do porz±dkowania kodu HTML
3 Name:           tidy
4 Version:        0.20041025
5 Release:        1
6 Epoch:          1
7 License:        distributable
8 Group:          Applications/Text
9 Source0:        http://tidy.sf.net/src/tidy_src.tgz
10 # Source0-md5:  bf6cd062ed43babdba5ade9378be2db3
11 Source1:        http://tidy.sf.net/docs/tidy_docs.tgz
12 # Source1-md5:  04338149bdd3e10753101bc5dff8acd8
13 URL:            http://tidy.sf.net/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Tidy is utility for cleaning and pretty printing HTML files. It can
21 help in keeping your WWW sources in unified format (case of tags) and
22 proper encoding of different character sets.
23
24 %description -l pl
25 Tidy jest narzêdziem s³u¿±cym do czytelnego formatowania i
26 wy¶wietlania ¼ród³owego kodu HTML. U³atwia utrzymanie porz±dku w
27 ¼ród³ach stron WWW, utrzymanie jednolitej konwencji (wielko¶æ liter w
28 tagach) oraz poprawnego kodowania ró¿nych standardów znaków.
29
30 %package devel
31 Summary:        Tidy header files
32 Summary(pl):    Pliki nag³ówkowe biblioteki dla programu Tidy
33 Group:          Development/Libraries
34 Requires:       %{name} = %{epoch}:%{version}-%{release}
35
36 %description devel
37 Tidy header files.
38
39 %description devel -l pl
40 Pliki nag³ówkowe biblioteki dla programu Tidy.
41
42 %package static
43 Summary:        Static Tidy library
44 Summary(pl):    Statyczna biblioteka Tidy
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
47
48 %description static
49 Static Tidy library.
50
51 %description static -l pl
52 Statyczna biblioteka Tidy.
53
54 %prep
55 %setup -q -n %{name} -b1
56
57 %build
58 cp -af build/gnuauto/* .
59 %{__libtoolize}
60 %{__aclocal}
61 %{__automake}
62 %{__autoconf}
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71         
72 install -d $RPM_BUILD_ROOT%{_mandir}/man1
73 mv -f htmldoc/man_page.txt $RPM_BUILD_ROOT%{_mandir}/man1/tidy.1
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %doc htmldoc/*
84 %attr(755,root,root) %{_bindir}/*
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
86 %{_mandir}/man1/*
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/lib*.so
91 %{_libdir}/lib*.la
92 %{_includedir}/*.h
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/lib*.a
This page took 0.084483 seconds and 3 git commands to generate.