]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
ff315c49fa8613a2e26529434e17835f1163bb78
[packages/tidy.git] / tidy.spec
1 %define         _snap   20091119
2 Summary:        Utility to clean up and pretty print HTML files
3 Summary(pl.UTF-8):      Narzędzie do porządkowania kodu HTML
4 Name:           tidy
5 Version:        0.%{_snap}
6 Release:        1
7 Epoch:          1
8 License:        distributable
9 Group:          Applications/Text
10 # tidy projects no longer releases tarballs.
11 # cvs -z3 -d:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy export -D 2009-11-19 tidy
12 # tar -cf tidy-20091119.tar tidy;xz -9 -e tidy-20091119.tar
13 Source0:        tidy-%{_snap}.tar.xz
14 # Source0-md5:  0ca49cf79b4f3d25a080234a0bbf8eee
15 URL:            http://tidy.sourceforge.net/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libtool
19 BuildRequires:  tar >= 1:1.22
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Tidy is utility for cleaning and pretty printing HTML files. It can
24 help in keeping your WWW sources in unified format (case of tags) and
25 proper encoding of different character sets.
26
27 %description -l pl.UTF-8
28 Tidy jest narzędziem służącym do czytelnego formatowania i
29 wyświetlania źródłowego kodu HTML. Ułatwia utrzymanie porządku w
30 źródłach stron WWW, utrzymanie jednolitej konwencji (wielkość liter w
31 tagach) oraz poprawnego kodowania różnych standardów znaków.
32
33 %package devel
34 Summary:        Tidy header files
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki dla programu Tidy
36 Group:          Development/Libraries
37 Requires:       %{name} = %{epoch}:%{version}-%{release}
38
39 %description devel
40 Tidy header files.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki dla programu Tidy.
44
45 %package static
46 Summary:        Static Tidy library
47 Summary(pl.UTF-8):      Statyczna biblioteka Tidy
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
50
51 %description static
52 Static Tidy library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka Tidy.
56
57 %prep
58 %setup -q -n %{name}
59
60 %build
61 sh build/gnuauto/setup.sh
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc htmldoc/*
80 %attr(755,root,root) %{_bindir}/tab2space
81 %attr(755,root,root) %{_bindir}/tidy
82 %attr(755,root,root) %{_libdir}/libtidy-0.99.so.*.*.*
83 %attr(755,root,root) %ghost %{_libdir}/libtidy-0.99.so.0
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libtidy.so
88 %{_libdir}/libtidy.la
89 %{_includedir}/buffio.h
90 %{_includedir}/platform.h
91 %{_includedir}/tidy*.h
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libtidy.a
This page took 0.069022 seconds and 3 git commands to generate.