]> git.pld-linux.org Git - packages/yodl.git/commitdiff
- rel 6; fix data files paths AC-branch auto/ac/yodl-1_31_18-6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 2 Mar 2008 15:17:33 +0000 (15:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    yodl.spec -> 1.27.2.1

yodl.spec

index 2fcda6e4f9a18022c044ad0d63d1721052be7e95..3ad24063d0372de2c730c0735d82575da417974b 100644 (file)
--- a/yodl.spec
+++ b/yodl.spec
@@ -2,7 +2,7 @@ Summary:        Yodl: Yet oneOther Document Language
 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
@@ -12,6 +12,8 @@ BuildRequires:        bash
 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
@@ -36,7 +38,8 @@ text. G
 
 %build
 ac_cv_prog_BASH=/bin/bash; export ac_cv_prog_BASH
-%configure2_13
+%configure2_13 \
+       --datadir=%{_udatadir}
 %{__make} all
 
 %install
@@ -47,7 +50,7 @@ rm -rf $RPM_BUILD_ROOT
        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
This page took 0.239259 seconds and 4 git commands to generate.