packages: slv2/slv2.spec - pass CC/CFLAGS - -devel R: redland-devel

qboosh qboosh at pld-linux.org
Tue Dec 28 20:30:30 CET 2010


Author: qboosh                       Date: Tue Dec 28 19:30:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pass CC/CFLAGS
- -devel R: redland-devel

---- Files affected:
packages/slv2:
   slv2.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/slv2/slv2.spec
diff -u packages/slv2/slv2.spec:1.5 packages/slv2/slv2.spec:1.6
--- packages/slv2/slv2.spec:1.5	Mon Dec 27 22:12:36 2010
+++ packages/slv2/slv2.spec	Tue Dec 28 20:30:25 2010
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: use __cc and optflags
 Summary:	LV2 host library to make LV2 plugin use as simple as possible
 Summary(pl.UTF-8):	Biblioteka hosta LV2 ułatwiająca korzystanie z wtyczek LV2
 Name:		slv2
@@ -42,6 +41,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki SLV2
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	redland-devel >= 1.0.6
 
 %description devel
 Header files for SLV2 library.
@@ -78,12 +78,15 @@
 sed -i "s|/lib'|/%{_lib}'|" autowaf.py
 
 %build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
 ./waf configure \
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir} \
 	--htmldir=%{_docdir}/%{name}-apidocs-%{version} \
 	--build-docs \
 	--strict
+
 ./waf -v
 
 %install
@@ -126,6 +129,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/12/28 19:30:25  qboosh
+- pass CC/CFLAGS
+- -devel R: redland-devel
+
 Revision 1.5  2010/12/27 21:12:36  qboosh
 - pl desc
 - verbose make (optflags passing still needed)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/slv2/slv2.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list