Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37753221
en ru br
ALT Linux repositórios
S:0.92.1-alt1_1
5.0: 0.14-alt5
4.1: 0.14-alt5
4.0: 0.14-alt4.M40.1

Group :: Sistema/Bibliotecas
RPM: libstatgrab

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libstatgrab
Version: 0.14
Release: alt4.M40.1

Summary: Cross platform access to system statistics
License: LGPL, GPL
Group: System/Libraries

Url: http://www.i-scream.org/libstatgrab/
Source: %name-%version.tar
Patch: %name-alt-makefile.patch
Packager: Sergey Zhumatiy <zhum at altlinux.org>

%description
Statgrab is a crossplatform library to collect system information
such as load average, cpu/network/memory usage, etc

%package tools
Summary: Console program to check system activity
Group: Monitoring
Requires: %name = %version-%release

%description tools
Console program to check system activity using libstatgrab

%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
Headers for building software that uses %name

%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name
%endif

%prep
%setup
%patch -p1

%build
%configure --disable-saidar %{subst_enable static}
make DESTDIR=%buildroot

%install
%makeinstall

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%_libdir/%name.a
%doc AUTHORS README NEWS

%files tools
#%_bindir/saidar
%_bindir/statgrab
%_bindir/statgrab-make-mrtg-config
%_bindir/statgrab-make-mrtg-index
%_man1dir/*

%files devel
%_libdir/*.so
%_includedir/*.h
%_man3dir/*
%_libdir/pkgconfig/libstatgrab.pc
#%_mandir/*/*

#%if_enabled static

#%files -n %name-devel-static
#
#%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009