SPECS: cgdb.spec - up to 0.6.0 (tab completion works now) - infopa...

twittner twittner at pld-linux.org
Tue Jan 31 19:53:10 CET 2006


Author: twittner                     Date: Tue Jan 31 18:53:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.6.0 (tab completion works now)
- infopage doesn't work as should be:
  "Unable to find node referenced by `CGDB' in `(dir)Top'."
- replace -cgdb-am_no_debug.patch with sed patching

---- Files affected:
SPECS:
   cgdb.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/cgdb.spec
diff -u SPECS/cgdb.spec:1.14 SPECS/cgdb.spec:1.15
--- SPECS/cgdb.spec:1.14	Sat Sep 17 12:54:14 2005
+++ SPECS/cgdb.spec	Tue Jan 31 19:53:05 2006
@@ -2,19 +2,18 @@
 Summary:	A lightweight, but fully functional curses frontend to gdb
 Summary(pl):	Lekki, ale w pełni funkcjonalny frontend do gdb oparty na ncurses
 Name:		cgdb
-Version:	0.5.3
-Release:	3
+Version:	0.6.0
+Release:	1
 License:	GPL
 Group:		Development/Debuggers
 Source0:	http://dl.sourceforge.net/cgdb/%{name}-%{version}.tar.gz
-# Source0-md5:	51adf1db0307adaba24336ef3a18e0c3
+# Source0-md5:	61a5c5b6b76de70efd0bf2335b470f99
 Patch0:		%{name}-home_etc.patch
 Patch1:		%{name}-missing_includes.patch
-Patch2:		%{name}-am_no_debug.patch
 URL:		http://cgdb.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	readline-devel
+BuildRequires:	readline-devel >= 5.1
 Requires:	gdb
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,16 +38,17 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+
+find . -type f -name Makefile.am -exec %{__sed} -i 's at AM_CFLAGS = -g @AM_CFLAGS = @' '{}' ';'
 
 %build
-CPPFLAGS=" -I/usr/include/ncurses "
+CPPFLAGS=' -I/usr/include/ncurses '
 %{__aclocal} -I config
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 
-%configure
+%configure 
 
 %{__make}
 
@@ -63,10 +63,17 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
+%{_infodir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -74,6 +81,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2006/01/31 18:53:05  twittner
+- up to 0.6.0 (tab completion works now)
+- infopage doesn't work as should be:
+  "Unable to find node referenced by `CGDB' in `(dir)Top'."
+- replace -cgdb-am_no_debug.patch with sed patching
+
 Revision 1.14  2005/09/17 10:54:14  arekm
 - readline 5.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cgdb.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list