1 |
Summary: A set of tools to gather troubleshooting information from a system |
2 |
Name: sos |
3 |
Version: 3.3 |
4 |
Release: %mkrel 1 |
5 |
Group: System/Base |
6 |
Source0: https://github.com/%{name}report/%{name}/archive/%{version}.tar.gz |
7 |
Patch0: sos-mageia-branding-po.patch |
8 |
#Patch1: sos-mageia-branding-support.patch |
9 |
License: GPLv2+ |
10 |
BuildArch: noarch |
11 |
Url: http://sosreport.github.io/sos/ |
12 |
BuildRequires: python-devel |
13 |
BuildRequires: gettext |
14 |
Requires: libxml2-python |
15 |
Requires: tar |
16 |
Requires: bzip2 |
17 |
Requires: xz |
18 |
Requires: python-rpm |
19 |
Requires: python-six |
20 |
|
21 |
%description |
22 |
Sos is a set of tools that gathers information about system |
23 |
hardware and configuration. The information can then be used for |
24 |
diagnostic purposes and debugging. Sos is commonly used to help |
25 |
support technicians and developers. |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
%patch0 -p1 -b .brand |
30 |
#%patch1 -p1 -b .support |
31 |
|
32 |
%build |
33 |
%make |
34 |
|
35 |
%install |
36 |
%makeinstall_std |
37 |
%find_lang %{name} |
38 |
|
39 |
%files -f %{name}.lang |
40 |
%doc README.md AUTHORS LICENSE |
41 |
%{_sbindir}/sosreport |
42 |
%{_datadir}/%{name} |
43 |
%{python_sitelib}/* |
44 |
%{_mandir}/man1/* |
45 |
%{_mandir}/man5/* |
46 |
%config(noreplace) %{_sysconfdir}/sos.conf |