]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- use versioned builddir
[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.20051111
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:  1e39fafd6808978871346658c8da1454
11 Source1:        http://tidy.sourceforge.net/docs/tidy_docs.tgz
12 # Source1-md5:  86de2f198e57399c063d2567b2a25628
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 -c -b1
56 cd %{name}
57
58 %build
59 cd %{name}
60 cp -af build/gnuauto/* .
61 %{__libtoolize}
62 %{__aclocal}
63 %{__automake}
64 %{__autoconf}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 cd %{name}
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
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
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91 %{_includedir}/*.h
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/lib*.a
This page took 0.098523 seconds and 4 git commands to generate.