From e8e566ccbe15b9e6b9515dbfa074c3a7e05df259 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Dec 07 2019 20:35:55 +0000 Subject: Initial package --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..50e8eb9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/zezere-0.1.tar.gz diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000..2578578 --- /dev/null +++ b/0001-add-setup.py.patch @@ -0,0 +1,43 @@ +From 934bc584b58885e9e80fde65fbe0795ddb024c70 Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Thu, 5 Dec 2019 19:06:16 +0000 +Subject: [PATCH] add setup.py + +Signed-off-by: Peter Robinson +--- + setup.py | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + create mode 100644 setup.py + +diff --git a/setup.py b/setup.py +new file mode 100644 +index 0000000..d5e495b +--- /dev/null ++++ b/setup.py +@@ -0,0 +1,23 @@ ++from setuptools import setup, find_packages ++ ++setup( ++ name = "zezere", ++ version = "0.1", ++ author = "Patrick Uiterwijk", ++ author_email = "patrick@puiterwijk.org", ++ description = "A provisioning server for Fedora IoT.", ++ long_description = "README.rst", ++ license = "MPL", ++ keywords = "provisioning IoT Linux", ++ url = "https://github.com/fedora-iot/zezere", ++ packages = find_packages(), ++ include_package_data = True, ++ platforms = "any", ++ install_requires = list(val.strip() for val in open("requirements.txt")), ++ classifiers=[ ++ "License :: OSI Approved :: MIT License", ++ "Programming Language :: Python", ++ "Programming Language :: Python :: 3", ++ ], ++ ++) +-- +2.23.0 + diff --git a/sources b/sources new file mode 100644 index 0000000..3aa386a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (zezere-0.1.tar.gz) = d475770a7651342ef230df671d7052258355fbd9b7914df0fc2d98213cf4efe4c439dd7c3639e412a98956ec5ff8904a9fdcbcf7e30bf03db61b730552e6f882 diff --git a/zezere.spec b/zezere.spec new file mode 100644 index 0000000..dcebeed --- /dev/null +++ b/zezere.spec @@ -0,0 +1,37 @@ +Name: zezere +Version: 0.1 +Release: 2%{?dist} +Summary: A provisioning service for Fedora IoT +License: MIT +URL: https://github.com/fedora-iot/zezere +Source0: https://github.com/fedora-iot/zezere/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: 0001-add-setup.py.patch + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +Zezere is a provisioning service for Fedora IoT. It can be used for deploying +Fedora IoT to devices without needing a physical console. + +%prep +%autosetup -p1 + +%build +%py3_build + +%install +%py3_install + +%files +%license LICENSE +%{python3_sitelib}/zezere/ +%{python3_sitelib}/zezere-* + +%changelog +* Thu Dec 5 2019 Peter Robinson 0.1-2 +- Review fixes and updates + +* Thu Dec 5 2019 Peter Robinson 0.1-1 +- Initial package