1 |
doktor5000 |
147742 |
Summary: A set of tools to gather troubleshooting information from a system |
2 |
|
|
Name: sos |
3 |
bcornec |
1079674 |
Version: 3.3 |
4 |
|
|
Release: %mkrel 1 |
5 |
doktor5000 |
147742 |
Group: System/Base |
6 |
bcornec |
643395 |
Source0: https://github.com/%{name}report/%{name}/archive/%{version}.tar.gz |
7 |
bcornec |
816629 |
Patch0: sos-mageia-branding-po.patch |
8 |
bcornec |
1079674 |
#Patch1: sos-mageia-branding-support.patch |
9 |
doktor5000 |
147742 |
License: GPLv2+ |
10 |
|
|
BuildArch: noarch |
11 |
bcornec |
643395 |
Url: http://sosreport.github.io/sos/ |
12 |
doktor5000 |
147742 |
BuildRequires: python-devel |
13 |
|
|
BuildRequires: gettext |
14 |
|
|
Requires: libxml2-python |
15 |
|
|
Requires: tar |
16 |
|
|
Requires: bzip2 |
17 |
|
|
Requires: xz |
18 |
|
|
Requires: python-rpm |
19 |
luigiwalser |
817809 |
Requires: python-six |
20 |
ennael |
66381 |
|
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 |
bcornec |
672164 |
%patch0 -p1 -b .brand |
30 |
bcornec |
1079674 |
#%patch1 -p1 -b .support |
31 |
ennael |
66381 |
|
32 |
|
|
%build |
33 |
doktor5000 |
147742 |
%make |
34 |
ennael |
66381 |
|
35 |
|
|
%install |
36 |
|
|
%makeinstall_std |
37 |
|
|
%find_lang %{name} |
38 |
|
|
|
39 |
|
|
%files -f %{name}.lang |
40 |
dams |
457546 |
%doc README.md AUTHORS LICENSE |
41 |
ennael |
66381 |
%{_sbindir}/sosreport |
42 |
|
|
%{_datadir}/%{name} |
43 |
|
|
%{python_sitelib}/* |
44 |
|
|
%{_mandir}/man1/* |
45 |
|
|
%{_mandir}/man5/* |
46 |
|
|
%config(noreplace) %{_sysconfdir}/sos.conf |