]> git.pld-linux.org Git - packages/tidy.git/blob - tidy.spec
- up to 20080116
[packages/tidy.git] / tidy.spec
1 %define         _snap   20080116
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 #Source0:       http://tidy.sourceforge.net/src/tidy_src.tgz
11 # tidy projects no longer releases tarballs. Use debian ones
12 Source0:        http://ftp.de.debian.org/debian/pool/main/t/tidy/tidy_20080116cvs.orig.tar.gz
13 # Source0-md5:  ff4558a920cfd7247f17e79b143f5a69
14 URL:            http://tidy.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Tidy is utility for cleaning and pretty printing HTML files. It can
22 help in keeping your WWW sources in unified format (case of tags) and
23 proper encoding of different character sets.
24
25 %description -l pl.UTF-8
26 Tidy jest narzędziem służącym do czytelnego formatowania i
27 wyświetlania źródłowego kodu HTML. Ułatwia utrzymanie porządku w
28 źródłach stron WWW, utrzymanie jednolitej konwencji (wielkość liter w
29 tagach) oraz poprawnego kodowania różnych standardów znaków.
30
31 %package devel
32 Summary:        Tidy header files
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki dla programu Tidy
34 Group:          Development/Libraries
35 Requires:       %{name} = %{epoch}:%{version}-%{release}
36
37 %description devel
38 Tidy header files.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki dla programu Tidy.
42
43 %package static
44 Summary:        Static Tidy library
45 Summary(pl.UTF-8):      Statyczna biblioteka Tidy
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
48
49 %description static
50 Static Tidy library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka Tidy.
54
55 %prep
56 %setup -q -n %{name}-%{_snap}cvs
57
58 %build
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.070976 seconds and 3 git commands to generate.