SPECS: gdb.spec - release 3 - added lib subpackage, libgdb.a is ne...

baggins baggins at pld-linux.org
Fri Oct 20 22:09:54 CEST 2006


Author: baggins                      Date: Fri Oct 20 20:09:54 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 3
- added lib subpackage, libgdb.a is needed to build debugger sopport in fpc IDE

---- Files affected:
SPECS:
   gdb.spec (1.89 -> 1.90) 

---- Diffs:

================================================================
Index: SPECS/gdb.spec
diff -u SPECS/gdb.spec:1.89 SPECS/gdb.spec:1.90
--- SPECS/gdb.spec:1.89	Mon Oct  9 20:43:30 2006
+++ SPECS/gdb.spec	Fri Oct 20 22:09:49 2006
@@ -12,7 +12,7 @@
 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
@@ -90,6 +90,14 @@
 ÍĎÍĹÎÔ ŢÁÓŐ. đŇÁĂŔ¤ Ú ĐŇĎÇŇÁÍÁÍÉ ÎÁ 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
@@ -149,6 +157,8 @@
 
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
+install gdb/libgdb.a $RPM_BUILD_ROOT%{_libdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -171,12 +181,20 @@
 %{_infodir}/gdb*.info*
 %{_infodir}/stabs*.info*
 
+%files lib
+%defattr(644,root,root,755)
+%{_libdir}/libgdb.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90  2006/10/20 20:09:49  baggins
+- release 3
+- added lib subpackage, libgdb.a is needed to build debugger sopport in fpc IDE
+
 Revision 1.89  2006/10/09 18:43:30  pluto
 - .gnu.hash support, release 2.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gdb.spec?r1=1.89&r2=1.90&f=u



More information about the pld-cvs-commit mailing list