summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2019-09-25 12:54:47 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2019-09-25 12:54:48 +0000
commit4bffefbd5227be14f18ef7f6817709fa69266c17 (patch)
tree7615aef6a052aed4c6079cadff56e9ae62d2a78c
parentebccd09c180f26df15b3b6031a0353de98b12f08 (diff)
Initial packagingHEADmaster
Change-Id: I1fddb5a647194e771e33f2accc7efe122bf65a63
-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