Author: pluto Date: Mon Jul 30 16:02:06 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - dwarfdump subpackage added.
---- Files affected: SPECS: libdwarf.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/libdwarf.spec diff -u SPECS/libdwarf.spec:1.1 SPECS/libdwarf.spec:1.2 --- SPECS/libdwarf.spec:1.1 Mon Jul 30 15:11:19 2007 +++ SPECS/libdwarf.spec Mon Jul 30 18:02:01 2007 @@ -7,6 +7,7 @@ Group: Libraries Source0: http://reality.sgiweb.org/davea/%{name}-%{_snap}.tar.gz # Source0-md5: 3c67d1df89f05421267ede59feec8152 +Patch0: %{name}-makefile.patch URL: http://reality.sgiweb.org/davea/dwarf.html BuildRequires: elfutils-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -32,24 +33,38 @@ %description static Static libdwarf library. +%package -n dwarfdump +Summary: Tool for dumps DWARF debug information of an ELF object +License: GPL v2 +Group: Development/Tools + +%description -n dwarfdump +Tool for dumps DWARF debug information of an ELF object. + %prep %setup -q -n dwarf-%{_snap} +%patch -p1 %build cd libdwarf -%configure \ - --enable-shared \ - --enable-nonshared +%configure +%{__make} libdwarf.a libdwarf.so +cd .. +cd dwarfdump +%configure %{__make} cd .. %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}} +install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_includedir},%{_libdir},%{_mandir}/man1} install libdwarf/libdwarf.h $RPM_BUILD_ROOT%{_includedir} install libdwarf/libdwarf.{a,so} $RPM_BUILD_ROOT%{_libdir} +%{__make} -C dwarfdump install \ + DESTDIR=$RPM_BUILD_ROOT + %clean rm -rf $RPM_BUILD_ROOT @@ -69,11 +84,20 @@ %defattr(644,root,root,755) %{_libdir}/libdwarf.a +%files -n dwarfdump +%doc dwarfdump/COPYING dwarfdump/ChangeLog* dwarfdump/NEWS dwarfdump/README +%{_sysconfdir}/dwarfdump.conf +%attr(755,root,root) %{_bindir}/dwarfdump +%{_mandir}/man1/* + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2007/07/30 16:02:01 pluto +- dwarfdump subpackage added. + Revision 1.1 2007/07/30 13:11:19 pluto - initial release. ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/libdwarf.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
