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