]> git.pld-linux.org Git - packages/gdb.git/commitdiff
- release 3
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 20 Oct 2006 20:09:49 +0000 (20:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added lib subpackage, libgdb.a is needed to build debugger sopport in fpc IDE

Changed files:
    gdb.spec -> 1.90

gdb.spec

index b2629c4a40e599a19f22d7d77a8f8506853a1ca7..14996adfbc445d50edaf3eac9f53a3619aeb2178 100644 (file)
--- a/gdb.spec
+++ b/gdb.spec
@@ -11,7 +11,7 @@ Summary(zh_CN):       [
 Summary(zh_TW):        [.-A¶}µo]C©M.$)B¨ä.-A¥L»y.$)B¨¥ªº½Õ¸Õ¾¹
 Name:          gdb
 Version:       6.5
-Release:       2
+Release:       3
 License:       GPL
 Group:         Development/Debuggers
 Source0:       ftp://ftp.gnu.org/gnu/gdb/%{name}-%{version}.tar.bz2
@@ -89,6 +89,14 @@ verir.
 ÍÏÍÅÎÔ ÞÁÓÕ. ðÒÁÃÀ¤ Ú ÐÒÏÇÒÁÍÁÍÉ ÎÁ C ÔÁ C++, ÚËÏÍЦÌØÏ×ÁÎÉÍÉ
 ËÏÍЦÌÑÔÏÒÁÍÉ GNU C (gcc, egcs, pgcc).
 
+%package lib
+Summary:       GDB in the for of a static library
+Group:         Development/Debuggers
+#Requires:     binutils-static >= 2.17.50
+
+%description lib
+GDB in the form of a static library.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -148,6 +156,8 @@ install -d $RPM_BUILD_ROOT%{_infodir}
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+install gdb/libgdb.a $RPM_BUILD_ROOT%{_libdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -169,3 +179,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(pl) %{_mandir}/pl/man1/*
 %{_infodir}/gdb*.info*
 %{_infodir}/stabs*.info*
+
+%files lib
+%defattr(644,root,root,755)
+%{_libdir}/libgdb.a
This page took 0.035725 seconds and 4 git commands to generate.