SPECS: spcaview.spec - up to 20060828 snap - added Makefilepatch -...

sparky sparky at pld-linux.org
Wed Dec 6 16:35:26 CET 2006


Author: sparky                       Date: Wed Dec  6 15:35:26 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 20060828 snap
- added Makefilepatch
- use __cc and rpm*flags
- added spcacat

---- Files affected:
SPECS:
   spcaview.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/spcaview.spec
diff -u SPECS/spcaview.spec:1.4 SPECS/spcaview.spec:1.5
--- SPECS/spcaview.spec:1.4	Mon Mar  6 03:50:39 2006
+++ SPECS/spcaview.spec	Wed Dec  6 16:35:21 2006
@@ -1,11 +1,9 @@
 # $Revision$, $Date$
 # TODO: 
-# - optflags
 # - add http://mxhaard.free.fr/spca50x/Download/spcagui20060127.tar.gz
 # - add http://mxhaard.free.fr/spca50x/Download/sp54convert.tar.gz
-# - add spcacat	
 
-%define		_snap 20051212
+%define		_snap 20060828
 
 Summary:	spcaview - streaming, recording and playing video and sound
 Summary(pl):	spcaview - tworzenie strumieni, nagrywanie i odtwarzanie obrazu i dźwięku
@@ -16,7 +14,8 @@
 License:	GPL
 Group:		X11/Applications
 Source0:	http://mxhaard.free.fr/spca50x/Download/spcaview-%{_snap}.tar.gz
-# Source0-md5:	1420f4e5e31bcb53c31eaba9850a2c01
+# Source0-md5:	c4ada728637126a3e7ea2894c5723cff
+Patch0:		%{name}-Makefile.patch
 URL:		http://spca50x.sourceforge.net/
 BuildRequires:	SDL-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,15 +32,19 @@
 
 %prep
 %setup -q -n spcaview-%{_snap}
+%patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	OPTCFLAGS="%{rpmcflags}" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
-install spcaview spcaserv $RPM_BUILD_ROOT%{_bindir}
+install spcacat spcaserv spcaview $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,8 +52,9 @@
 %files
 %defattr(644,root,root,755)
 %doc Changelog README
-%attr(755,root,root) %{_bindir}/spcaview
+%attr(755,root,root) %{_bindir}/spcacat
 %attr(755,root,root) %{_bindir}/spcaserv
+%attr(755,root,root) %{_bindir}/spcaview
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -58,6 +62,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/12/06 15:35:21  sparky
+- up to 20060828 snap
+- added Makefilepatch
+- use __cc and rpm*flags
+- added spcacat
+
 Revision 1.4  2006/03/06 02:50:39  wolvverine
 - add TODO
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/spcaview.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list