]> git.pld-linux.org Git - packages/cgdb.git/commitdiff
- up to 0.6.0 (tab completion works now)
authortwittner <twittner@pld-linux.org>
Tue, 31 Jan 2006 18:53:05 +0000 (18:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

Changed files:
    cgdb.spec -> 1.15

cgdb.spec

index 2dc6d5f3b14d87aaaa05f8a0350be2f15d8264ee..9273626046df674e0bc0bad596b1261d3c96d82e 100644 (file)
--- a/cgdb.spec
+++ b/cgdb.spec
@@ -1,19 +1,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)
 
@@ -38,16 +37,17 @@ powinni czu
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+
+find . -type f -name Makefile.am -exec %{__sed} -i 's@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}
 
@@ -62,7 +62,14 @@ rm -rf $RPM_BUILD_ROOT
 %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}/*
This page took 0.096148 seconds and 4 git commands to generate.