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