Author: glen Date: Sun Jun 28 23:19:44 2009 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/lkcdutils: lkcdutils.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/lkcdutils/lkcdutils.spec diff -u /dev/null packages/lkcdutils/lkcdutils.spec:1.1 --- /dev/null Mon Jun 29 01:19:44 2009 +++ packages/lkcdutils/lkcdutils.spec Mon Jun 29 01:19:39 2009 @@ -0,0 +1,75 @@ +# $Revision$, $Date$ +# TODO +# - build Qt GUI for Linux Crash (spec/lkcdutils-qlcrash.spec) +# - make it build +# - cflags +# - has patched bfd, see if it still needed +Summary: Linux Kernel Crash Dump (LKCD) Utilities +Name: lkcdutils +Version: 6.2.0 +Release: 0.1 +License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here) +Group: Applications +Source0: http://dl.sourceforge.net/lkcd/%{name}-%{version}.tar.gz +# Source0-md5: 8cd68ff9115d210d4f1c6458929559a3 +URL: http://lkcd.sourceforge.net/ +Buildrequires: byacc +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This software package contains system crash dump analyzer tools. It +includes Linux Crash (lcrash) and all appropriate user level scripts +required for saving and configuring system crash dumps. This package +should be installed after the lkcd kernel patches are installed on the +system. + +%prep +%setup -q -n %{name} + +%build +# not autotools generated configure +./configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + +# --cflags=%{rpmcflags} \ +# --lflags=%{rpmldflags} + +%{__make} +%ifnarch s390 s390x +%{__make} -C netdump +%endif + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%ifnarch s390 s390x +%{__make} -C netdump install \ + DESTDIR=$RPM_BUILD_ROOT +%endif + +%ifarch s390 s390x +# We do not need these files for s390 and s390x +rm -f $RPM_BUILD_ROOT/etc/sysconfig/dump \ + $RPM_BUILD_ROOT/sbin/lkcd \ + $RPM_BUILD_ROOT/sbin/lkcd_config \ +$RPM_BUILD_ROOT%{_prefix}/man/man1/lkcd_config.1* +%endif + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README* + +%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.1 2009/06/28 23:19:39 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
