1 |
Summary: A set of tools to gather troubleshooting information from a system |
Summary: A set of tools to gather troubleshooting information from a system |
2 |
Name: sos |
Name: sos |
3 |
Version: 2.2 |
Version: 2.2 |
4 |
Release: %mkrel 1 |
Release: %mkrel 2 |
5 |
Group: System/Base |
Group: System/Base |
6 |
Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz |
Source0: https://fedorahosted.org/releases/s/o/sos/%{name}-%{version}.tar.gz |
7 |
License: GPLv2+ |
License: GPLv2+ |
8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildArch: noarch |
9 |
BuildArch: noarch |
Url: http://fedorahosted.org/sos |
10 |
Url: http://fedorahosted.org/sos |
BuildRequires: python-devel |
11 |
BuildRequires: python-devel |
BuildRequires: gettext |
12 |
BuildRequires: gettext |
Requires: libxml2-python |
13 |
Requires: libxml2-python |
Requires: tar |
14 |
Requires: tar |
Requires: bzip2 |
15 |
Requires: bzip2 |
Requires: xz |
16 |
Requires: xz |
Requires: python-rpm |
17 |
|
|
18 |
%description |
%description |
19 |
Sos is a set of tools that gathers information about system |
Sos is a set of tools that gathers information about system |
25 |
%setup -q |
%setup -q |
26 |
|
|
27 |
%build |
%build |
28 |
make |
%make |
29 |
|
|
30 |
%install |
%install |
31 |
rm -rf ${RPM_BUILD_ROOT} |
rm -rf ${RPM_BUILD_ROOT} |
32 |
%makeinstall_std |
%makeinstall_std |
33 |
%find_lang %{name} |
%find_lang %{name} |
34 |
|
|
|
%clean |
|
|
rm -rf ${RPM_BUILD_ROOT} |
|
|
|
|
35 |
%files -f %{name}.lang |
%files -f %{name}.lang |
|
%defattr(-,root,root,-) |
|
36 |
%doc README TODO LICENSE ChangeLog doc/* |
%doc README TODO LICENSE ChangeLog doc/* |
37 |
%{_sbindir}/sosreport |
%{_sbindir}/sosreport |
38 |
%{_datadir}/%{name} |
%{_datadir}/%{name} |
40 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
41 |
%{_mandir}/man5/* |
%{_mandir}/man5/* |
42 |
%config(noreplace) %{_sysconfdir}/sos.conf |
%config(noreplace) %{_sysconfdir}/sos.conf |
|
|
|
|
|
|