]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- Release 2.
[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.20030901
5 Release:        2
6 Epoch:          1
7 License:        distributable
8 Group:          Applications/Text
9 Source0:        http://tidy.sf.net/src/tidy_src.tgz
10 # Source0-md5:  c9356a292f48a0d1db9d726e95115b8a
11 Source1:        http://tidy.sf.net/docs/tidy_docs.tgz
12 # Source1-md5:  54ab968e177bc92495fce324c18f8b52
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 konwecji (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}
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}
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.064609 seconds and 3 git commands to generate.