SPECS: libcdio.spec - updated to 0.80 - pass CPPFLAGS to build ncu...

qboosh qboosh at pld-linux.org
Sat Mar 15 23:22:33 CET 2008


Author: qboosh                       Date: Sat Mar 15 22:22:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.80
- pass CPPFLAGS to build ncurses-based cdda-player

---- Files affected:
SPECS:
   libcdio.spec (1.36 -> 1.37) 

---- Diffs:

================================================================
Index: SPECS/libcdio.spec
diff -u SPECS/libcdio.spec:1.36 SPECS/libcdio.spec:1.37
--- SPECS/libcdio.spec:1.36	Mon Feb  4 20:06:39 2008
+++ SPECS/libcdio.spec	Sat Mar 15 23:22:27 2008
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-# TODO: try to build cdda-player (needs some ncurses fixes, at least CPPFLAGS)
 #
 # Conditional build:
 %bcond_without	cddb		# build cd-info without CDDB lookups (for bootstrap)
@@ -10,12 +9,12 @@
 Summary:	GNU Compact Disc Input and Control Library
 Summary(pl.UTF-8):	Biblioteka GNU do obsługi wejścia i sterowania czytnikiem CD
 Name:		libcdio
-Version:	0.79
-Release:	3
+Version:	0.80
+Release:	1
 License:	GPL v2+
 Group:		Libraries
-Source0:	ftp://ftp.gnu.org/gnu/libcdio/%{name}-%{version}.tar.gz
-# Source0-md5:	0ec00a5b8b119aab6268dd2d294f215e
+Source0:	http://ftp.gnu.org/gnu/libcdio/%{name}-%{version}.tar.gz
+# Source0-md5:	6495add276ed11b7ac8a88092799ab4f
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-link.patch
 URL:		http://www.gnu.org/software/libcdio/
@@ -27,7 +26,7 @@
 %{?with_cddb:BuildRequires:	libcddb-devel >= 1.0.1}
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.5
-#BuildRequires:	ncurses-devel
+BuildRequires:	ncurses-devel
 BuildRequires:	pkgconfig
 BuildRequires:	sed >= 4.0
 BuildRequires:	texinfo
@@ -146,6 +145,9 @@
 
 %{__sed} -i 's, example$,,' Makefile.am
 
+# Makefile.am bug: $(paranoiapcs) not included in pkgconfig_DATA
+%{__sed} -i 's/libudf\.pc$/libudf.pc \\/' Makefile.am
+
 cp -f /usr/share/gettext/config.rpath .
 
 %build
@@ -154,6 +156,7 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+CPPFLAGS="-I/usr/include/ncurses"
 %configure \
 	--enable-cd-info-linux \
 	--enable-maintainer-mode \
@@ -216,6 +219,7 @@
 %{_pkgconfigdir}/libcdio_cdda.pc
 %{_pkgconfigdir}/libcdio_paranoia.pc
 %{_pkgconfigdir}/libiso9660.pc
+%{_pkgconfigdir}/libudf.pc
 %{_infodir}/libcdio.info*
 
 %if %{with static_libs}
@@ -242,6 +246,8 @@
 %{_libdir}/libcdio++.la
 %{_libdir}/libiso9660++.la
 %{_includedir}/cdio++
+%{_pkgconfigdir}/libcdio++.pc
+%{_pkgconfigdir}/libiso9660++.pc
 
 %if %{with static_libs}
 %files c++-static
@@ -262,6 +268,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37  2008-03-15 22:22:27  qboosh
+- updated to 0.80
+- pass CPPFLAGS to build ncurses-based cdda-player
+
 Revision 1.36  2008-02-04 19:06:39  qboosh
 - ghost soname symlinks
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libcdio.spec?r1=1.36&r2=1.37&f=u



More information about the pld-cvs-commit mailing list