SPECS: adcd.spec - up to 0.9 - some sed magic added to satisfy dependencies

duddits duddits at pld-linux.org
Thu Mar 19 19:42:53 CET 2009


Author: duddits                      Date: Thu Mar 19 18:42:53 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.9
- some sed magic added to satisfy dependencies

---- Files affected:
SPECS:
   adcd.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/adcd.spec
diff -u SPECS/adcd.spec:1.8 SPECS/adcd.spec:1.9
--- SPECS/adcd.spec:1.8	Mon Feb 12 22:23:46 2007
+++ SPECS/adcd.spec	Thu Mar 19 19:42:48 2009
@@ -2,12 +2,12 @@
 Summary:	Text mode CD player for Linux
 Summary(pl.UTF-8):	Odtwarzacz płyt CD dla Linuksa
 Name:		adcd
-Version:	0.7
+Version:	0.9
 Release:	1
 License:	GPL v2
 Group:		Applications/Sound
 Source0:	http://savannah.nongnu.org/download/adcd/%{name}-%{version}.tar.bz2
-# Source0-md5:	4fd7ad73ed1ab6dd9bc2f33d9b55de00
+# Source0-md5:	3915678b9f9d0abbcfa35aff86335d25
 URL:		http://www.nongnu.org/adcd/adcd.html
 BuildRequires:	libstdc++-devel
 BuildRequires:	ncurses-devel
@@ -26,12 +26,16 @@
 
 %prep
 %setup -q
+# fix ncurses.h path
+%{__sed} -i -e 's,ncurses.h,ncurses/ncurses.h,g' player.cc
+# add missing library
+%{__sed} -i -e '/^#include <vector>$/a#include <cstdlib>' main.cc
 
 %build
 # not autoconf-generated
 ./configure \
 	--prefix=%{_prefix}
-%{__make} \
+%{__make} 
 	CXX="%{__cxx}" \
 	CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
 	LDFLAGS="%{rpmldflags} -lncurses"
@@ -59,6 +63,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/03/19 18:42:48  duddits
+- up to 0.9
+- some sed magic added to satisfy dependencies
+
 Revision 1.8  2007/02/12 21:23:46  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/adcd.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list