packages: libdumbtts/libdumbtts-Makefile.patch, libdumbtts/libdumbtts.spec ...

qboosh qboosh at pld-linux.org
Mon Apr 16 17:10:32 CEST 2012


Author: qboosh                       Date: Mon Apr 16 15:10:32 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.3.2
- updated Makefile patch

---- Files affected:
packages/libdumbtts:
   libdumbtts-Makefile.patch (1.2 -> 1.3) , libdumbtts.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/libdumbtts/libdumbtts-Makefile.patch
diff -u packages/libdumbtts/libdumbtts-Makefile.patch:1.2 packages/libdumbtts/libdumbtts-Makefile.patch:1.3
--- packages/libdumbtts/libdumbtts-Makefile.patch:1.2	Tue Jun  9 12:06:32 2009
+++ packages/libdumbtts/libdumbtts-Makefile.patch	Mon Apr 16 17:10:27 2012
@@ -1,5 +1,5 @@
---- libdumbtts-0.3.0/src/Makefile.orig	2009-06-09 13:02:34.928031378 +0200
-+++ libdumbtts-0.3.0/src/Makefile	2009-06-09 13:04:34.642090709 +0200
+--- libdumbtts-0.3.2/src/Makefile.orig	2010-06-22 09:02:38.000000000 +0200
++++ libdumbtts-0.3.2/src/Makefile	2012-04-15 21:14:06.279134786 +0200
 @@ -10,7 +10,6 @@
  INSTALL = /usr/bin/install
  LN_SF = /bin/ln -sf
@@ -12,12 +12,12 @@
  	mv $(LIB_NAME) $(LIB_NAME).$(LIBTAG)
  
  $(OBJS): $(SRCS)
--	$(C) -o $(OBJS) -c -Wall libdumbtts.c
-+	$(CC) $(CFLAGS) -o $(OBJS) -c -Wall libdumbtts.c
+-	$(C) $(PIC) -o $(OBJS) -c -Wall libdumbtts.c
++	$(CC) $(PIC) $(CFLAGS) -o $(OBJS) -c -Wall libdumbtts.c
  
  $(LIB_NAME): $(OBJS)
 -	$(C) $(PIC) -shared -Wl,-soname,$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS)
-+	$(CC) $(PIC) $(LDFLAGS) -shared -Wl,-soname,$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS)
++	$(CC) $(PIC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_NAME).$(LIB_VERSION) -o $@ $(OBJS)
  
  clean:
  	rm -f *.o *.a *~ $(LIB_NAME).$(LIBTAG) ../conf/*~

================================================================
Index: packages/libdumbtts/libdumbtts.spec
diff -u packages/libdumbtts/libdumbtts.spec:1.10 packages/libdumbtts/libdumbtts.spec:1.11
--- packages/libdumbtts/libdumbtts.spec:1.10	Sun Jan 30 02:48:30 2011
+++ packages/libdumbtts/libdumbtts.spec	Mon Apr 16 17:10:27 2012
@@ -1,13 +1,13 @@
 # $Revision$, $Date$
 Summary:	Helper library for dumb speech synthesizers
-Summary(pl.UTF-8):	Biblioteka pomocnicza dla głupich syntezatorów mowy
+Summary(pl.UTF-8):	Biblioteka pomocnicza dla "głupich" syntezatorów mowy
 Name:		libdumbtts
-Version:	0.3.0
+Version:	0.3.2
 Release:	1
-License:	LGPL
+License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://www.tts.polip.com/files/%{name}-%{version}.tar.gz
-# Source0-md5:	7eff56583b94837c89f38cc5cb05a0b5
+Source0:	http://tts.polip.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	4bacd89c0c9bb178dcd8758c6e9ca90d
 Patch0:		%{name}-Makefile.patch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -17,8 +17,8 @@
 usable with other synthesizer and application.
 
 %description -l pl.UTF-8
-libdumbtts to biblioteka pomocnicza dla driverów "głupich"
-syntezatorów mowy. Opracowana dla syntezatora Ivona oraz
+libdumbtts to biblioteka pomocnicza dla sterowników "głupich"
+syntezatorów mowy. Opracowana została dla syntezatora Ivona oraz
 speech-dispatchera, ale może być przydatna dla innych syntezatorów
 i aplikacji.
 
@@ -41,8 +41,9 @@
 %build
 %{__make} -C src \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -fPIC" \
-	LDFLAGS="%{rpmldflags}"
+	CFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}" \
+	PIC="-fPIC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,9 +53,6 @@
 	LIBDIR=%{_libdir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# Propably junk - removing
-rm -rf $RPM_BUILD_ROOT%{_datadir}/dumbtts/pl.conf~
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,15 +64,16 @@
 %doc README
 %doc %lang(pl) README_pl
 %attr(755,root,root) %{_libdir}/libdumbtts.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libdumbtts.so.?
-%dir %{_datadir}/dumbtts
+%attr(755,root,root) %ghost %{_libdir}/libdumbtts.so.0
 %dir %{_sysconfdir}/dumbtts
+%dir %{_datadir}/dumbtts
 %{_datadir}/dumbtts/*.conf
+%{_datadir}/dumbtts/*.dic
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libdumbtts.so
-%{_includedir}/*
+%{_includedir}/libdumbtts.h
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,6 +81,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2012/04/16 15:10:27  qboosh
+- updated to 0.3.2
+- updated Makefile patch
+
 Revision 1.10  2011/01/30 01:48:30  sparky
 - dropped redundant BuildRoot: definitions
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/libdumbtts/libdumbtts-Makefile.patch?r1=1.2&r2=1.3
    http://cvs.pld-linux.org/packages/libdumbtts/libdumbtts.spec?r1=1.10&r2=1.11



More information about the pld-cvs-commit mailing list