summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-args.spec48
1 files changed, 48 insertions, 0 deletions
diff --git a/python-args.spec b/python-args.spec
new file mode 100644
index 0000000..ec9e345
--- /dev/null
+++ b/python-args.spec
@@ -0,0 +1,48 @@
+%global srcname %{srcname}
+%global srcname args
+
+Name: python3-%{srcname}
+Version: 0.1.0
+Release: 3%{?dist}
+Summary: Argument Parsing for Humans
+
+License: BSD
+URL: https://github.com/kennethreitz/%{srcname}
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+
+%description
+Argument Parsing for Humans.
+
+
+%prep
+%autosetup -n %{srcname}-%{version}
+
+
+%build
+%{__python3} setup.py build
+
+
+%install
+%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%files
+%license LICENSE
+%doc README.rst
+%{python3_sitelib}/*
+
+
+%changelog
+* Fri Jul 08 2016 Jeremy Cline <jeremy@jcline.org> - 0.1.0-3
+- Update spec for epel 7
+
+* Wed Jul 06 2016 Jeremy Cline <jeremy@jcline.org> - 0.1.0-2
+- Update spec based on review.
+
+* Tue Jul 05 2016 Jeremy Cline <jeremy@jcline.org> - 0.1.0-1
+- Initial commit