|
|
e8e566c |
Name: zezere
|
|
|
51ced4b |
Version: 0.5
|
|
|
525c795 |
Release: 6%{?dist}
|
|
|
e8e566c |
Summary: A provisioning service for Fedora IoT
|
|
|
e8e566c |
License: MIT
|
|
|
e8e566c |
URL: https://github.com/fedora-iot/zezere
|
|
|
e8e566c |
Source0: https://github.com/fedora-iot/zezere/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
186daf6 |
# Show all unclaimed devices to admins in the web UI
|
|
|
186daf6 |
Patch0: 0001-Allow-superuser-to-claim-any-unclaimed-device.patch
|
|
|
e8e566c |
|
|
|
e8e566c |
BuildArch: noarch
|
|
|
e8e566c |
BuildRequires: python3-devel
|
|
|
e8e566c |
BuildRequires: python3-setuptools
|
|
|
ca53ba8 |
BuildRequires: systemd
|
|
|
e8e566c |
|
|
|
e8e566c |
%description
|
|
|
e8e566c |
Zezere is a provisioning service for Fedora IoT. It can be used for deploying
|
|
|
e8e566c |
Fedora IoT to devices without needing a physical console.
|
|
|
e8e566c |
|
|
|
ca53ba8 |
%package ignition
|
|
|
ca53ba8 |
Summary: Ignition client for Zezere
|
|
|
ca53ba8 |
Requires: python3-setuptools
|
|
|
ca53ba8 |
Requires: ignition
|
|
|
ca53ba8 |
|
|
|
ca53ba8 |
%description ignition
|
|
|
ca53ba8 |
An Ignition client for Zezere managed systems.
|
|
|
ca53ba8 |
|
|
|
e8e566c |
%prep
|
|
|
e8e566c |
%autosetup -p1
|
|
|
e8e566c |
|
|
|
e8e566c |
%build
|
|
|
e8e566c |
%py3_build
|
|
|
e8e566c |
|
|
|
e8e566c |
%install
|
|
|
e8e566c |
%py3_install
|
|
|
ca53ba8 |
install zezere_ignition/__init__.py %{buildroot}/usr/bin/zezere-ignition
|
|
|
ca53ba8 |
chmod +x %{buildroot}/usr/bin/zezere-ignition
|
|
|
ca53ba8 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
51ced4b |
install zezere_ignition/zezere_ignition* %{buildroot}%{_unitdir}/
|
|
|
ca53ba8 |
mkdir -p %{buildroot}%{_sharedstatedir}/zezere
|
|
|
51ced4b |
mkdir -p %{buildroot}%{_sysconfdir}/issue.d/
|
|
|
51ced4b |
ln -s /run/zezere-ignition-banner %{buildroot}%{_sysconfdir}/issue.d/zezere_ignition.issue
|
|
|
b9f7546 |
# install the templates - they ought to be installed by %py3_install
|
|
|
b9f7546 |
# but for some reason I cannot figure out, are not:
|
|
|
b9f7546 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1855927
|
|
|
b9f7546 |
cp -R zezere/templates %{buildroot}%{python3_sitelib}/zezere/
|
|
|
186daf6 |
# Ditto the fixtures:
|
|
|
186daf6 |
cp -R zezere/fixtures %{buildroot}%{python3_sitelib}/zezere/
|
|
|
e8e566c |
|
|
|
e8e566c |
%files
|
|
|
e8e566c |
%license LICENSE
|
|
|
ca53ba8 |
%{_sharedstatedir}/zezere
|
|
|
ca53ba8 |
%{_bindir}/zezere-manage
|
|
|
e8e566c |
%{python3_sitelib}/zezere/
|
|
|
e8e566c |
%{python3_sitelib}/zezere-*
|
|
|
e8e566c |
|
|
|
ca53ba8 |
%files ignition
|
|
|
ca53ba8 |
%{_bindir}/zezere-ignition
|
|
|
51ced4b |
%{_sysconfdir}/issue.d/zezere_ignition.issue
|
|
|
ca53ba8 |
%{_unitdir}/*
|
|
|
ca53ba8 |
|
|
|
e8e566c |
%changelog
|
|
|
525c795 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-6
|
|
|
525c795 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
525c795 |
|
|
|
186daf6 |
* Tue Jul 21 2020 Adam Williamson <awilliam@redhat.com> - 0.5-5
|
|
|
186daf6 |
- Backport patch to show all unclaimed devices to admins in web UI
|
|
|
186daf6 |
- Also include the fixtures in the package as they're necessary
|
|
|
186daf6 |
|
|
|
b9f7546 |
* Mon Jul 13 2020 Adam Williamson <awilliam@redhat.com> - 0.5-4
|
|
|
b9f7546 |
- Install the HTML template files (#1855927)
|
|
|
b9f7546 |
|
|
|
e962272 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.5-3
|
|
|
e962272 |
- Rebuilt for Python 3.9
|
|
|
e962272 |
|
|
|
51ced4b |
* Wed Apr 15 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5-2
|
|
|
51ced4b |
- Update to 0.5
|
|
|
51ced4b |
|
|
|
33327f8 |
* Wed Apr 08 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.4-2
|
|
|
33327f8 |
- Fix ignition keys fragment merging (rhbz 1820614)
|
|
|
33327f8 |
|
|
|
7807d0f |
* Tue Apr 7 2020 Peter Robinson <pbrobinson@fedoraproject.org> 0.4-1
|
|
|
7807d0f |
- Update to 0.4
|
|
|
7807d0f |
|
|
|
35f8206 |
* Fri Mar 20 2020 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.3-2
|
|
|
35f8206 |
- Backport /usr/lib/zezere-ignition-url patch
|
|
|
35f8206 |
|
|
|
ca53ba8 |
* Tue Mar 17 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3-1
|
|
|
ca53ba8 |
- Update to 0.3
|
|
|
ca53ba8 |
|
|
Packit Service |
1e0e3e9 |
* Fri Feb 21 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.2-2
|
|
Packit Service |
1e0e3e9 |
- new upstream release: 0.2
|
|
Packit Service |
1e0e3e9 |
|
|
|
b60bda5 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-3
|
|
|
b60bda5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b60bda5 |
|
|
|
e8e566c |
* Thu Dec 5 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.1-2
|
|
|
e8e566c |
- Review fixes and updates
|
|
|
e8e566c |
|
|
|
e8e566c |
* Thu Dec 5 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.1-1
|
|
|
e8e566c |
- Initial package
|