SPECS: howto-html.spec - put docs under docdir/LDP and R: PLD-base

glen glen at pld-linux.org
Sat Sep 2 22:23:27 CEST 2006


Author: glen                         Date: Sat Sep  2 20:23:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- put docs under docdir/LDP and R: PLD-base

---- Files affected:
SPECS:
   howto-html.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/howto-html.spec
diff -u SPECS/howto-html.spec:1.28 SPECS/howto-html.spec:1.29
--- SPECS/howto-html.spec:1.28	Sat May 27 19:49:33 2006
+++ SPECS/howto-html.spec	Sat Sep  2 22:23:22 2006
@@ -5,7 +5,7 @@
 Summary(pt_BR):	Vários HOWTOs do Projeto de Documentaçăo do Linux (LDP)
 Name:		howto-html
 Version:	20060527
-Release:	1
+Release:	2
 License:	distributable
 Group:		Documentation
 Source0:	ftp://metalab.unc.edu/pub/Linux/docs/HOWTO/other-formats/html_single/Linux-html-single-HOWTOs-%{version}.tar.bz2
@@ -13,6 +13,7 @@
 URL:		http://www.tldp.org/
 BuildRequires:	sed >= 4.0
 Obsoletes:	ldp
+Requires:	LDP-base
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -20,13 +21,13 @@
 Linux HOWTOs are detailed documents which describe a specific aspect
 of configuring or using Linux. Linux HOWTOs are a great source of
 practical information about your system. The latest versions of these
-documents are located at http://www.tldp.org/docs.html#howto
+documents are located at <http://www.tldp.org/docs.html#howto>.
 
 %description -l es
 Esta es la mejor colección existente de documentos Linux. Si deseas
 encontrar las versiones más recientes de estos documentos mira en
-http://sunsite.unc.edu/Linux. Las versiones en este paquete están
-en el directorio /usr/share/doc/HOWTO.
+http://sunsite.unc.edu/Linux. Las versiones en este paquete están en
+el directorio /usr/share/doc/HOWTO.
 
 %description -l fr
 Les HOWTO Linux sont des documents décrivant de façon exhaustive un
@@ -43,31 +44,28 @@
 http://www.tldp.org/docs.html#howto
 
 %description -l pt_BR
-Esta é a melhor coleçăo existente de documentos Linux. Se vocę
-deseja encontrar as versőes mais recentes destes documentos
-veja em http://sunsite.unc.edu/Linux. As versőes neste pacote
-estăo no diretório /usr/share/doc/HOWTO.
+Esta é a melhor coleçăo existente de documentos Linux. Se vocę deseja
+encontrar as versőes mais recentes destes documentos veja em
+http://sunsite.unc.edu/Linux. As versőes neste pacote estăo no
+diretório /usr/share/doc/HOWTO.
 
 %prep
 %setup -qc
-
-%build
 # cosmetics
 # remove leading ../{mini,} and change trailling index.html-s appropriately
 sed -i -e 's/\/index\.html/\.html/g' -e 's/\.\.\/mini\///g' -e 's/\.\.\///g' *.html
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_defaultdocdir}/HOWTO/html
-
-cp -ar * $RPM_BUILD_ROOT%{_defaultdocdir}/HOWTO/html
+install -d $RPM_BUILD_ROOT%{_docdir}/LDP/html
+cp -a * $RPM_BUILD_ROOT%{_docdir}/LDP/html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_defaultdocdir}/HOWTO/html
+%{_docdir}/LDP/html
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2006/09/02 20:23:22  glen
+- put docs under docdir/LDP and R: PLD-base
+
 Revision 1.28  2006/05/27 17:49:33  maciek2w
 - update do 20060527
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/howto-html.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list