-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpython-statusio.spec
More file actions
48 lines (31 loc) · 982 Bytes
/
python-statusio.spec
File metadata and controls
48 lines (31 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: statusio-python
Version: 1.2
Release: %{?dist}
Summary: Python Interface for Status.io API
Group: Development/Libraries
License: Apache License 2.0
URL: http://github.com/statusio/statusio-python
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: python >= 2.6,
BuildRequires: python-setuptools
%description
This library provides a pure python interface for the Status.io API.
%prep
%setup -q
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
chmod a-x README
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.rst
# For noarch packages: sitelib
%{python_sitelib}/*
%changelog
- Initial package.