SPECS (AC-branch): yodl.spec - rel 6; fix data files paths

arekm arekm at pld-linux.org
Sun Mar 2 16:17:38 CET 2008


Author: arekm                        Date: Sun Mar  2 15:17:38 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- rel 6; fix data files paths

---- Files affected:
SPECS:
   yodl.spec (1.27 -> 1.27.2.1) 

---- Diffs:

================================================================
Index: SPECS/yodl.spec
diff -u SPECS/yodl.spec:1.27 SPECS/yodl.spec:1.27.2.1
--- SPECS/yodl.spec:1.27	Mon Apr 26 21:34:34 2004
+++ SPECS/yodl.spec	Sun Mar  2 16:17:33 2008
@@ -3,7 +3,7 @@
 Summary(pl):	Yodl: Jeszcze jeden jêzyk opisu dokumentów
 Name:		yodl
 Version:	1.31.18
-Release:	5
+Release:	6
 License:	GPL
 Group:		Applications/Text
 Source0:	ftp://ftp.lilypond.org/pub/yodl/development/%{name}-%{version}.tar.gz
@@ -13,6 +13,8 @@
 BuildRequires:	python
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define _udatadir	%{_datadir}/%{name}
+
 %description
 Yodl is a package that implements a pre-document language and tools to
 process it. The idea of Yodl is that you write up a document in a
@@ -37,7 +39,8 @@
 
 %build
 ac_cv_prog_BASH=/bin/bash; export ac_cv_prog_BASH
-%configure2_13
+%configure2_13 \
+	--datadir=%{_udatadir}
 %{__make} all
 
 %install
@@ -48,7 +51,7 @@
 	mandir=$RPM_BUILD_ROOT%{_mandir} \
 	bindir=$RPM_BUILD_ROOT%{_bindir} \
 	infodir=$RPM_BUILD_ROOT%{_infodir} \
-	datadir=$RPM_BUILD_ROOT%{_datadir}/yodl
+	datadir=$RPM_BUILD_ROOT%{_udatadir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -70,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27.2.1  2008-03-02 15:17:33  arekm
+- rel 6; fix data files paths
+
 Revision 1.27  2004-04-26 19:34:34  adamg
 - release 5 for Ac (4 is for Ra)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yodl.spec?r1=1.27&r2=1.27.2.1&f=u



More information about the pld-cvs-commit mailing list