Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37039466
en ru br
ALT Linux repositórios
S:4.4-alt3
5.0: 1.7.9.1-alt1
4.1: 1.7.9.1-alt1

Group :: Sistema/Configurações/Rede
RPM: sos

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%{!?python_sitelib: %define python_sitelib %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

%define name sos
%define version 1.7
%define release 9.1

%define _localedir %_datadir/locale

Summary: A set of tools to gather troubleshooting information from a system
Name: sos
Version: %version.%release
Release: alt1
# The source for this package was pulled from upstream's svn.  Use the
# following commands to generate the tarball:
#  svn --username guest export https://sos.108.redhat.com/svn/sos/tags/r1-7 sos-1.7
#  tar -czvf sos-1.7.tar.gz sos-1.7
Packager: Denis Medvedev <nbr at altlinux.ru>

Source: %name-%version-%release.tar
Patch0: sos-tty-sysreport.diff
Patch1: sos-temp-backport.diff
License: GPL
Group: System/Configuration/Other

BuildArch: noarch
Url: http://sos.108.redhat.com/
BuildPreReq: python-devel
Requires: libxml2-python
Provides: sysreport = 1.3.15-8

%description
Sos is a set of tools that gathers information about system
hardware and configuration. The information can then be used for
diagnostic purposes and debugging. Sos is commonly used to help
support technicians and developers.

%prep
%setup -q -n %name-%version-%release
%patch0 -p1
%patch1 -p1

%build
%__python setup.py build

%install
%__python setup.py install --optimize 1 --root=%buildroot
ln -s %_sbindir/sosreport %buildroot%_sbindir/sysreport

%files
%_sbindir/sosreport
%_bindir/rh-upload-core
%_sbindir/sysreport
%_sbindir/sysreport.legacy
%_datadir/sysreport
%python_sitelibdir/sos/
%_man1dir/sosreport.1*
%_localedir/*/LC_MESSAGES/sos.mo
%doc README README.rh-upload-core TODO LICENSE ChangeLog

%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