]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
f53a2b2c5186cbda0a3f1e72d442302a806a353a
[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.20050826
5 Release:        1
6 Epoch:          1
7 License:        distributable
8 Group:          Applications/Text
9 Source0:        http://tidy.sourceforge.net/src/tidy_src.tgz
10 # Source0-md5:  7c2ee7186b0384f92f65ec61266e0661
11 Source1:        http://tidy.sourceforge.net/docs/tidy_docs.tgz
12 # Source1-md5:  2e6533fc48b077ff6243deaf21a781de
13 URL:            http://tidy.sourceforge.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 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc htmldoc/*
81 %attr(755,root,root) %{_bindir}/*
82 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_libdir}/lib*.la
88 %{_includedir}/*.h
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.114256 seconds and 3 git commands to generate.