-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-cliar.spec
More file actions
56 lines (36 loc) · 1.53 KB
/
python-cliar.spec
File metadata and controls
56 lines (36 loc) · 1.53 KB
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
49
50
51
52
53
54
55
########################################################################################
%define package_name cliar
########################################################################################
Summary: Tools for command-line interfaces with minimum code
Name: python-cliar
Version: 1.1.4
Release: 0%{?dist}
License: MIT
Group: Development/Libraries
URL: https://pypi.python.org/pypi/cliar
Source: https://pypi.python.org/packages/source/c/%{package_name}/%{package_name}-%{version}.tar.gz
BuildRequires: python-devel python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildArch: noarch
Provides: %{name} = %{verion}-%{release}
########################################################################################
%description
Cliar is designed to help you create CLIs quickly and with as little code as possible.
########################################################################################
%prep
%setup -q -n %{package_name}-%{version}
%clean
rm -rf %{buildroot}
%build
python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
########################################################################################
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
########################################################################################
%changelog
* Wed Feb 24 2016 Gleb Goncharov <ggoncharov@simtechdev.com> - 1.1.4-0
- Initial build