]> git.pld-linux.org Git - packages/cc2y4m.git/commitdiff
- pass CFLAGS, BR: flex
authordarekr <darekr@pld-linux.org>
Fri, 3 Feb 2006 20:50:06 +0000 (20:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cc2y4m.spec -> 1.3

cc2y4m.spec

index 412e3b017a8261c409fbb20d7e6e2d3d9efa58b5..7d1b0cd73e67f85cfdb546d6f680d5fe38a047c6 100644 (file)
@@ -1,4 +1,3 @@
-# TODO: optflags
 Summary:       Translates broken PAL signals to YUV4MPEG2
 Summary(pl):   T³umaczenie zepsutych sygna³ów PAL na YUV4MPEG2
 Name:          cc2y4m
@@ -10,6 +9,7 @@ Source0:       http://cube.dyndns.org/~rsnel/cc2y4m/%{name}-%{version}.tar.gz
 # Source0-md5: 8e15d4baa67cb31340267bbe44f5970a
 URL:           http://cube.dyndns.org/~rsnel/cc2y4m/
 BuildRequires: bison
+BuildRequires: flex
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -40,7 +40,8 @@ kt
 
 %build
 %{__make} \
-       CC="%{__cc}"
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -DVERSION=\"$(VERSION)\""
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.108312 seconds and 4 git commands to generate.