From 9d2f849daf42325ee9d2cb4a24726275ce4d1930 Mon Sep 17 00:00:00 2001 From: Mateusz Korniak Date: Tue, 14 Jan 2003 18:51:10 +0000 Subject: [PATCH] - Version 20030101. Changed files: tidy.spec -> 1.19 --- tidy.spec | 59 ++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 43 insertions(+), 16 deletions(-) diff --git a/tidy.spec b/tidy.spec index 49b3876..64cce21 100644 --- a/tidy.spec +++ b/tidy.spec @@ -1,14 +1,17 @@ -# $Revision: 1.18 $ $Date: 2002-11-30 23:00:29 $ -%define w3cver 4aug00 +# $Revision: 1.19 $ $Date: 2003-01-14 18:51:10 $ +# TODO: +# - Add docs from http://tidy.sourceforge.net/docs/tidy_docs.tgz +# - Make all ac/am stuff. (Now only oryginal make is used) + Summary: Utility to clean up and pretty print HTML files Summary(pl): Narzêdzie do porz±dkowania kodu HTML Name: tidy -Version: 20000804.%{w3cver} -Release: 1 -License: BSD +Version: 20030101 +Release: 0.9 +License: distributable Group: Applications/Text -Source0: http://www.w3.org/People/Raggett/%{name}%{w3cver}.tgz -URL: http://www.w3.org/People/Raggett/tidy/ +Source0: http://tidy.sourceforge.net/src/tidy_src.tgz +URL: http://tidy.sourceforge.net/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -22,25 +25,49 @@ wy ¼ród³ach stron WWW, utrzymanie jednolitej konwecji (wielko¶æ liter w tagach) oraz poprawnego kodowania ró¿nych standardów znaków. +%package devel +Summary: Tidy header & static library files. +Summary(pl): Pliki nag³ówkowe i biblioteki dla programu Tidy. +Group: Developement + +%description devel +Tidy header & static library files + +%description -l pl devel +Pliki nag³ówkowe i biblioteki dla programu Tidy. + %prep -%setup -q -n %{name}%{w3cver} +%setup -q -n %{name} %build -%{__make} CFLAGS="%{rpmcflags}" -cp man_page.txt tidy.1 +#%%{__make} CFLAGS="%{rpmcflags}" +%{__make} + %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} +# %%{__make} install \ +# DESTDIR=$RPM_BUILD_ROOT +# Above doesn't work so: + +install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/%{name},%{_libdir}} +install bin/* ${RPM_BUILD_ROOT}%{_bindir} +install include/* ${RPM_BUILD_ROOT}%{_includedir}/%{name} +install lib/* ${RPM_BUILD_ROOT}%{_libdir} -install tidy ${RPM_BUILD_ROOT}%{_bindir} -install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 +#install tidy ${RPM_BUILD_ROOT}%{_bindir} +#install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc Overview.html release-notes.html grid.gif tidy.gif -%{_mandir}/man1/* -%attr(755,root,root) %{_bindir}/tidy +#%%doc Overview.html release-notes.html grid.gif tidy.gif +#%%{_mandir}/man1/* +%%attr(755,root,root) %{_bindir}/* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/%{name}/*.h +%{_libdir}/*.a -- 2.44.0