]> git.pld-linux.org Git - packages/tidy.git/commitdiff
- cleanups (adapterized, added "rm -rf $RPM_BUILD_ROOT" on top %install).
authorkloczek <kloczek@pld-linux.org>
Thu, 9 Dec 1999 19:51:46 +0000 (19:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tidy.spec -> 1.3

tidy.spec

index 6debb4f961fafce778319cb62398c1c387318ae6..fde24f2020eec0ee086329639df291c5dcaab5ef 100644 (file)
--- a/tidy.spec
+++ b/tidy.spec
@@ -1,15 +1,15 @@
-# $Revision: 1.2 $ $Date: 1999-12-09 19:40:09 $
+# $Revision: 1.3 $ $Date: 1999-12-09 19:51:46 $
 Summary:       Utility to clean up and pretty print HTML files
-Summary(pl): Narzêdzie do porz±dkowania kodu HTML
+Summary(pl):   Narzêdzie do porz±dkowania kodu HTML
 Name:          tidy
 Version:       30nov99
 Release:       1
 Group:         Utilities/Text
 Group(pl):     Narzêdzia/Tekst
-Copyright:  BSD
+License:       BSD
 Source:                http://www.w3.org/People/Raggett/%{name}%{version}.tgz
-URL:        http://www.w3.org/People/Raggett/tidy/
-Patch:      %{name}%{version}-html.patch.gz
+URL:           http://www.w3.org/People/Raggett/tidy/
+Patch:         %{name}%{version}-html.patch.gz
 Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
@@ -28,22 +28,23 @@ kodowania r
 %patch
 
 %build
-make CFLAGS="${RPM_OPT_FLAGS}"
+make CFLAGS="$RPM_OPT_FLAGS"
 cp man_page.txt tidy.1
 
 %install
-install -d ${RPM_BUILD_ROOT}%{_bindir}
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
 install -s tidy ${RPM_BUILD_ROOT}%{_bindir}
-install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
 install tidy.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
-gzip -9nf ${RPM_BUILD_ROOT}%{_mandir}/man1/*
-gzip -9nf Overview.html release-notes.html
+gzip -9nf ${RPM_BUILD_ROOT}%{_mandir}/man1/* \
+       Overview.html release-notes.html
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/tidy
 %doc Overview.html.gz release-notes.html.gz grid.gif tidy.gif
 %{_mandir}/man1/*
 %attr(755,root,root) %{_bindir}/tidy
This page took 0.471237 seconds and 4 git commands to generate.