Группа :: Система/Библиотеки
Пакет: libsx
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-python
# END SourceDeps(oneline)
%add_optflags %optflags_shared
%define oldname sx
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Tool to extract reports and run plug-ins against those extracted reports
Name: libsx
Version: 2.17
Release: alt1_9
URL: http://fedorahosted.org/sx
Source0: https://git.fedorahosted.org/cgit/sx.git/snapshot/%{oldname}-%{version}.tar.gz
License: GPLv2
Group: System/Libraries
BuildArch: noarch
BuildRequires: python-devel python-module-setuptools
Requires: python
Source44: import.info
Provides: sx = %{version}-%{release}
%description
sxconsole is a tool used to extract various report types and then
analyze those extracted reports with plug-ins. The tool also provides
an archiving structure so that all the compressed and extracted
reports are saved to a directory. This tool was developed for
sysreport/sosreports but has been expanded to include any report that
has a class defined.
%prep
%setup -n %{oldname}-%{version} -q
%build
%{__python} setup.py build
%install
rm -rf ${RPM_BUILD_ROOT}
%{__python} setup.py install --optimize 1 --root=${RPM_BUILD_ROOT}
%files
%doc LICENSE AUTHORS PKG-INFO CHANGELOG
%doc doc/*
%{_bindir}/sxconsole
%{python_sitelibdir_noarch}/*
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires(pre): rpm-build-python
# END SourceDeps(oneline)
%add_optflags %optflags_shared
%define oldname sx
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: Tool to extract reports and run plug-ins against those extracted reports
Name: libsx
Version: 2.17
Release: alt1_9
URL: http://fedorahosted.org/sx
Source0: https://git.fedorahosted.org/cgit/sx.git/snapshot/%{oldname}-%{version}.tar.gz
License: GPLv2
Group: System/Libraries
BuildArch: noarch
BuildRequires: python-devel python-module-setuptools
Requires: python
Source44: import.info
Provides: sx = %{version}-%{release}
%description
sxconsole is a tool used to extract various report types and then
analyze those extracted reports with plug-ins. The tool also provides
an archiving structure so that all the compressed and extracted
reports are saved to a directory. This tool was developed for
sysreport/sosreports but has been expanded to include any report that
has a class defined.
%prep
%setup -n %{oldname}-%{version} -q
%build
%{__python} setup.py build
%install
rm -rf ${RPM_BUILD_ROOT}
%{__python} setup.py install --optimize 1 --root=${RPM_BUILD_ROOT}
%files
%doc LICENSE AUTHORS PKG-INFO CHANGELOG
%doc doc/*
%{_bindir}/sxconsole
%{python_sitelibdir_noarch}/*
%changelog
…
Полный changelog можно просмотреть здесь