SPECS: cc2y4m.spec - pass CFLAGS, BR: flex

darekr darekr at pld-linux.org
Fri Feb 3 21:50:11 CET 2006


Author: darekr                       Date: Fri Feb  3 20:50:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CFLAGS, BR: flex

---- Files affected:
SPECS:
   cc2y4m.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/cc2y4m.spec
diff -u SPECS/cc2y4m.spec:1.2 SPECS/cc2y4m.spec:1.3
--- SPECS/cc2y4m.spec:1.2	Wed Jan 19 22:27:06 2005
+++ SPECS/cc2y4m.spec	Fri Feb  3 21:50:06 2006
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: optflags
 Summary:	Translates broken PAL signals to YUV4MPEG2
 Summary(pl):	Tłumaczenie zepsutych sygnałów PAL na YUV4MPEG2
 Name:		cc2y4m
@@ -11,6 +10,7 @@
 # Source0-md5:	8e15d4baa67cb31340267bbe44f5970a
 URL:		http://cube.dyndns.org/~rsnel/cc2y4m/
 BuildRequires:	bison
+BuildRequires:	flex
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,7 +41,8 @@
 
 %build
 %{__make} \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -DVERSION=\"$(VERSION)\""
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -65,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/02/03 20:50:06  darekr
+- pass CFLAGS, BR: flex
+
 Revision 1.2  2005/01/19 21:27:06  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cc2y4m.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list