SPECS: libdumbtts.spec - up to 0.2.0 - added -Makefile.patch which...

Kamil Dziedzic kamil.listy at klecza.pl
Wed Apr 16 18:46:46 CEST 2008


twittner wrote:
> Author: twittner                     Date: Tue Apr 15 18:30:36 2008 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - up to 0.2.0
> - added -Makefile.patch which allows to pass CC, CFLAGS, LDFLAGS
>
> ---- Files affected:
> SPECS:
>    libdumbtts.spec (1.3 -> 1.4)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/libdumbtts.spec
> diff -u SPECS/libdumbtts.spec:1.3 SPECS/libdumbtts.spec:1.4
> --- SPECS/libdumbtts.spec:1.3	Tue Apr 15 01:04:46 2008
> +++ SPECS/libdumbtts.spec	Tue Apr 15 20:30:31 2008
> @@ -2,13 +2,13 @@
>  Summary:	Helper library for dumb speech synthesizers
>  Summary(pl.UTF-8):	Biblioteka pomocnicza dla głupich syntezatorów mowy
>  Name:		libdumbtts
> -Version:	0.1.1
> +Version:	0.2.0
>  Release:	1
>  License:	LGPL
>  Group:		Libraries
>  Source0:	http://www.tts.polip.com/files/%{name}-%{version}.tar.gz
> -# Source0-md5:	39f1e4abf31578346ece9ebd0ec3a6b7
> -BuildRoot:	 %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
> +# Source0-md5:	ed9d9aadcd5f0bb399c040b27b8cb9b0
> +Patch0:		%{name}-Makefile.patch
>
>  %description
>  libdumbtts is helper library for dumb speech synthesizer drivers.
> @@ -36,15 +36,20 @@
>
>  %prep
>  %setup -q
> +%patch0 -p1
>
>  %build
> -%{__make} -C src
> +%{__make} -C src \
> +	CC="%{__cc}" \
> +	CFLAGS="%{rpmcflags}"\
> +	LDFLAGS="%{rpmldflags}"
>
>  %install
>  rm -rf $RPM_BUILD_ROOT
>  install -d $RPM_BUILD_ROOT%{_sysconfdir}/dumbtts
>
> -%{__make} -C src install \
> +cd src
> +%{__make} install \
>  	DESTDIR=$RPM_BUILD_ROOT
>
>  %clean
> @@ -73,8 +78,9 @@
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>
>  $Log$
> -Revision 1.3  2008-04-14 23:04:46  darekr
> -- md5sum, use -C for make
> +Revision 1.4  2008-04-15 18:30:31  twittner
> +- up to 0.2.0
> +- added -Makefile.patch which allows to pass CC, CFLAGS, LDFLAGS
>
>  Revision 1.2  2008-04-12 08:28:33  gotar
>  - cosmetics

Why did you remove 1.3 revision? Mistake?

-- 
Regards, Kamil Dziedzic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : /mailman/pipermail/pld-devel-en/attachments/20080416/7a0e7f2e/attachment.sig 


More information about the pld-devel-en mailing list