52 lines
866 B
Plaintext
52 lines
866 B
Plaintext
%global srcname linuxapi
|
|
|
|
Name: python-%{srcname}
|
|
Version: 1.1
|
|
Release: 1%{?dist}
|
|
Summary: Pure Python bindings for Linux standard library features
|
|
License: GPL-2
|
|
URL: http://www.firemon.com/
|
|
Source0: %{srcname}-%{version}.tar.xz
|
|
|
|
|
|
BuildRequires: python-setuptools
|
|
Requires: python >= 2.7
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{srcname}-%{version}
|
|
|
|
|
|
%build
|
|
%{__python} setup.py build
|
|
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
%{__python} setup.py install --skip-build --root=%{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
%{python_sitelib}/*
|
|
|
|
|
|
%changelog
|
|
* Tue Nov 15 2016 Dustin C. Hatch <dustin.hatch@firemon.com> 1.1-1
|
|
- Update to version 1.1
|
|
|
|
* Sat Sep 24 2016 Dustin C. Hatch <dustin.hatch@firemon.com> 1.0.1-1
|
|
- Update to version 1.0.1
|
|
|
|
* Fri Sep 23 2016 Dustin C. Hatch <dustin.hatch@firemon.com> 1.0-1
|
|
- New spec for pyhton-linuxapi
|