]> git.pld-linux.org Git - packages/cgdb.git/commitdiff
- get rid of debug flag (-g) during normal build (-am_no_debug.patch)
authortwittner <twittner@pld-linux.org>
Wed, 24 Aug 2005 22:13:11 +0000 (22:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added missing #include <stdio.h> (build failed after am/ac regeneration,
  -missing_includes.patch
- regenerate am/ac (CPPFLAGS hack is still needed)
- rel. 2

Changed files:
    cgdb.spec -> 1.13

cgdb.spec

index 9629a92f41cb0ecf08b04cd52deee7405c4b0130..c182754d430bbfed2c14f464d6ad8c513a663c09 100644 (file)
--- a/cgdb.spec
+++ b/cgdb.spec
@@ -2,13 +2,16 @@ 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:       1
+Release:       2
 License:       GPL
 Group:         Development/Debuggers
 Source0:       http://dl.sourceforge.net/cgdb/%{name}-%{version}.tar.gz
 # Source0-md5: 51adf1db0307adaba24336ef3a18e0c3
 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
 Requires:      gdb
@@ -34,10 +37,16 @@ powinni czu
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-CPPFLAGS="-I/usr/include/ncurses"
-cp -f /usr/share/automake/config.sub config
+CPPFLAGS=" -I/usr/include/ncurses "
+%{__aclocal} -I config
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
 %configure
 
 %{__make}
This page took 0.102638 seconds and 4 git commands to generate.