Author: wiget Date: Thu Jan 26 14:25:20 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 0.12 - statgrab and saidar moved to subpackages - package C examples as doc
---- Files affected: SPECS: libstatgrab.spec (1.10 -> 1.11) ---- Diffs: ================================================================ Index: SPECS/libstatgrab.spec diff -u SPECS/libstatgrab.spec:1.10 SPECS/libstatgrab.spec:1.11 --- SPECS/libstatgrab.spec:1.10 Mon Mar 28 18:20:00 2005 +++ SPECS/libstatgrab.spec Thu Jan 26 15:25:14 2006 @@ -2,12 +2,12 @@ Summary: Easy-to-use interface for accessing system statistics and information Summary(pl): Łatwy w użyciu interfejs dostępu do statystyk i informacji o systemie Name: libstatgrab -Version: 0.11.1 -Release: 1 +Version: 0.12 +Release: 0.1 License: LGPL Group: Libraries Source0: ftp://ftp.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/%{name}-%{version}.tar.gz -# Source0-md5: 6d1e6980c39e505082e1c98c9fe81950 +# Source0-md5: fe8bf50490e3382c29da3a553bb7ca0e Patch0: %{name}-Makefile_fix.patch URL: http://www.i-scream.org/libstatgrab/ BuildRequires: autoconf @@ -58,6 +58,29 @@ %description static -l pl Statyczna biblioteka libstatgrab. +%package -n statgrab +Summary: sysctl-style interface to system statistics +Group: Applications/System +Requires: %{name} = %{version}-%{release} + +%description -n statgrab +statgrab provides a sysctl-style interface to all the system statistics +available through libstatgrab. This is useful for applications that don't want +to make library calls, but still want to access the statistics. + +An example of such an application is mrtg, for which scripts are provided to +generate configuration files. + +%package -n saidar +Summary: A curses-based tool for viewing system statistics +Group: Applications/System +Requires: %{name} = %{version}-%{release} + +%description -n saidar +saidar is a curses-based tool for viewing the system statistics available +through libstatgrab. Statistics include CPU, processes, load, memory, swap, +network I/O, disk I/O, and file system information. + %prep %setup -q %patch0 -p1 @@ -68,7 +91,11 @@ %{__autoconf} %{__autoheader} %{__automake} -%configure +%configure \ + --with-curses-prefix=/usr \ + --with-ncurses \ + --disable-setgid-binaries \ + --disable-setuid-binaries %{__make} %install @@ -86,28 +113,44 @@ %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README PLATFORMS -%attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.*.* -%{_mandir}/man3/statgrab* %files devel %defattr(644,root,root,755) +%doc examples/*.c %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/* %{_pkgconfigdir}/*.pc %{_mandir}/man3/sg_* +%{_mandir}/man3/statgrab* + %files static %defattr(644,root,root,755) %{_libdir}/lib*.a +%files -n statgrab +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/statgrab* +%{_mandir}/man1/statgrab* + +%files -n saidar +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/saidar +%{_mandir}/man1/saidar.1* + %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.11 2006/01/26 14:25:14 wiget +- updated to 0.12 +- statgrab and saidar moved to subpackages +- package C examples as doc + Revision 1.10 2005/03/28 16:20:00 adamg - updated to 0.11.1 - BR: llh >= 7:2.6.11.1-2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/libstatgrab.spec?r1=1.10&r2=1.11&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
