Author: cactus                       Date: Mon Jan 26 21:07:50 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sync with gdb.spec
- up to 6.8.50 snap 20090101
- thx enleth

---- Files affected:
SPECS:
   crossavr-gdb.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/crossavr-gdb.spec
diff -u SPECS/crossavr-gdb.spec:1.15 SPECS/crossavr-gdb.spec:1.16
--- SPECS/crossavr-gdb.spec:1.15        Tue Apr  8 10:24:51 2008
+++ SPECS/crossavr-gdb.spec     Mon Jan 26 22:07:45 2009
@@ -10,23 +10,29 @@
 Summary(uk.UTF-8):     Символьний відладчик для С та інших мов
 Summary(zh_CN.UTF-8):  [开发]C和其他语言的调试器
 Summary(zh_TW.UTF-8):  [.-A開發]C和.$)B其.-A他語.$)B言的調試器
+%define        snap    20090120
 Name:          crossavr-gdb
-Version:       6.7.1
-Release:       1
-License:       GPL
+Version:       6.8.50
+Release:       0.%{snap}.1
+License:       GPL v3+
 Group:         Development/Debuggers
-Source0:       http://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2
+#Source0:      http://ftp.gnu.org/gnu/gdb/gdb-%{version}.tar.bz2
+Source0:       
ftp://sourceware.org/pub/gdb/snapshots/current/gdb-%{version}.%{snap}.tar.bz2
 # Source0-md5: 30a6bf36eded4ae5a152d7d71b86dc14
 Patch0:                gdb-readline.patch
 Patch1:                gdb-info.patch
 Patch2:                gdb-passflags.patch
-BuildRequires: XFree86-devel
+Patch4:                gdb-gdbinit-stat.patch
+Patch5:                gdb-pretty-print-by-default.patch
+Patch6:                gdb-absolute-gnu_debuglink-path.patch
+URL:           http://www.gnu.org/software/gdb/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
+BuildRequires: bison
+BuildRequires: flex
 BuildRequires: libtool
 BuildRequires: ncurses-devel >= 5.2
-BuildRequires: readline-devel >= 4.2
-BuildRequires: texinfo
+BuildRequires: readline-devel >= 4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                target          avr
@@ -84,44 +90,43 @@
 компіляторами GNU C (gcc, egcs, pgcc).
 
 %prep
-%setup -q -n gdb-%{version}
+%setup -q -n gdb-%{version}.%{snap}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch4 -p0
+%patch5 -p1
+%patch6 -p1
 
 %build
 for dir in `find gdb/ -name 'configure.in'`; do
        dir=$(dirname "$dir")
        olddir=$(pwd)
        cd $dir
+       rm -f aclocal.m4
        %{__aclocal}
        %{__autoconf}
        cd $olddir
 done
 cp -f /usr/share/automake/config.* .
-# !! Don't enable shared here !!
-# This will cause serious problems --misiek
-%configure2_13 \
-       --target=%{target} \
+# don't --enable-shared here, there would be libs version mismatch with 
binutils
+%configure \
+    --target=%{target} \
+       --disable-gdbtk \
        --disable-shared \
-       --enable-nls \
-       --without-included-gettext \
-       --without-included-regex \
-       --enable-gdcli \
+       --enable-gdbcli \
        --enable-gdbmi \
        --enable-multi-ice \
        --enable-netrom \
-       --with-cpu=%{_target_cpu} \
+       --enable-nls \
        --enable-tui \
+       --with-cpu=%{_target_cpu} \
 %ifnarch alpha
-       --with-mmalloc
+       --with-mmalloc \
 %endif
-
-# something is wrong after above - e.g. $exeext=="no" - fix it:
-cd gdb
-%configure \
-       --target=%{target}
-cd ..
+       --without-included-gettext \
+       --without-included-regex \
+       --without-x
 
 %{__make}
 %{__make} info
@@ -139,7 +144,6 @@
        libdir=$RPM_BUILD_ROOT%{_libdir} \
        mandir=$RPM_BUILD_ROOT%{_mandir}
 
-bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -155,6 +159,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/01/26 21:07:45  cactus
+- sync with gdb.spec
+- up to 6.8.50 snap 20090101
+- thx enleth
+
 Revision 1.15  2008/04/08 08:24:51  glen
 - unify ftp.gnu.org urls
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/crossavr-gdb.spec?r1=1.15&r2=1.16&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to