packages: milena/milena.spec - remove sed hacks - cleanup BRs,Rs

cactus cactus at pld-linux.org
Thu Jun 18 00:13:33 CEST 2009


Author: cactus                       Date: Wed Jun 17 22:13:33 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- remove sed hacks
- cleanup BRs,Rs

---- Files affected:
packages/milena:
   milena.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/milena/milena.spec
diff -u packages/milena/milena.spec:1.2 packages/milena/milena.spec:1.3
--- packages/milena/milena.spec:1.2	Thu Jun 18 00:09:36 2009
+++ packages/milena/milena.spec	Thu Jun 18 00:13:27 2009
@@ -16,7 +16,10 @@
 # Source0-md5:	e26f8d73f49bda7c077273ad8d381664
 URL:		http://milena.polip.com/
 BuildRequires:	libao-devel
-BuildRequires:	mbrola-voice-pl
+BuildRequires:	enca-devel
+Requires:	sox
+Requires:	mbrola
+Requires:	mbrola-voice-pl
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,14 +31,16 @@
 %prep
 %setup -q -n %{name}-%{ver}
 
-%{__sed} -i 's/export prefix=\/usr\/local/export prefix=$(DESTDIR)\/usr/' Makefile
-%{__sed} -i 's/export speechd_dir=$(shell .\/find_speechd)/export speechd_dir=$(DESTDIR)$(shell .\/find_speechd)/' Makefile
-%{__sed} -i 's/ldconfig//' Makefile
-
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcflags}" \
+	prefix=/usr \
+	mbrola=/usr/bin/mbrola \
+	mbrola_voice=/usr/share/festival/lib/voices/polish/pl1_mbrola/pl1/pl1 \
+	speechd=/etc/speech-dispatcher/modules
+	distro="PLD Linux" \
+	contrast=contrast
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,6 +69,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/06/17 22:13:27  cactus
+- remove sed hacks
+- cleanup BRs,Rs
+
 Revision 1.2  2009/06/17 22:09:36  cactus
 - up to 0.1.9-5
 - remove BR: speech-dispatcher
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/milena/milena.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list