Author: cactus                       Date: Sat Jun  6 10:20:52 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial release (ver. 0.1.9-4)

---- Files affected:
packages/milena:
   milena.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/milena/milena.spec
diff -u /dev/null packages/milena/milena.spec:1.1
--- /dev/null   Sat Jun  6 12:20:52 2009
+++ packages/milena/milena.spec Sat Jun  6 12:20:47 2009
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# TODO: do something with *.so and *.h files
+
+%define ver    0.1.9
+%define rel    4
+
+Summary:       Text to speech system
+Summary(pl.UTF-8):     Syntezator mowy
+Name:          milena
+Version:       %{ver}.%{rel}
+Release:       0.1
+License:       GPL v3, LGPL v2
+Group:         Applications/Sound
+Source0:       http://tts.polip.com/files/%{name}-%{ver}-%{rel}.tar.gz
+# Source0-md5: 63f52242b58c4fa3e4eabbaafaaa512e
+URL:           http://milena.polip.com/
+BuildRequires: libao-devel
+BuildRequires: mbrola-voice-pl
+BuildRequires: speech-dispatcher
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Polish text to speech system.
+
+%description -l pl.UTF-8
+Polski syntezator mowy.
+
+%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}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d 
$RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_sysconfdir}/speech-dispatcher/modules}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libmilena*.so
+%{_datadir}/milena
+%{_sysconfdir}/speech-dispatcher/modules/milena*.conf
+#%{_includedir}/milena*.h
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/06/06 10:20:47  cactus
+- initial release (ver. 0.1.9-4)
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to