forked from fedora-iot/zezere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zezere.spec
80 lines (62 loc) · 2.33 KB
/
zezere.spec
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Name: zezere
Version: 0.5
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
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: systemd
%description
Zezere is a provisioning service for Fedora IoT. It can be used for deploying
Fedora IoT to devices without needing a physical console.
%package ignition
Summary: Ignition client for Zezere
Requires: python3-setuptools
Requires: ignition
%description ignition
An Ignition client for Zezere managed systems.
%prep
%autosetup -p1
%build
%py3_build
%install
%py3_install
install zezere_ignition/__init__.py %{buildroot}/usr/bin/zezere-ignition
chmod +x %{buildroot}/usr/bin/zezere-ignition
mkdir -p %{buildroot}%{_unitdir}
install zezere_ignition/zezere_ignition* %{buildroot}%{_unitdir}/
mkdir -p %{buildroot}%{_sharedstatedir}/zezere
mkdir -p %{buildroot}%{_sysconfdir}/issue.d/
ln -s /run/zezere-ignition-banner %{buildroot}%{_sysconfdir}/issue.d/zezere_ignition.issue
%files
%license LICENSE
%{_sharedstatedir}/zezere
%{_bindir}/zezere-manage
%{python3_sitelib}/zezere/
%{python3_sitelib}/zezere-*
%files ignition
%{_bindir}/zezere-ignition
%{_sysconfdir}/issue.d/zezere_ignition.issue
%{_unitdir}/*
%changelog
* Wed Apr 15 2020 Peter Robinson <[email protected]> - 0.5-2
- Update to 0.5
* Wed Apr 08 2020 Peter Robinson <[email protected]> - 0.4-2
- Fix ignition keys fragment merging (rhbz 1820614)
* Tue Apr 7 2020 Peter Robinson <[email protected]> 0.4-1
- Update to 0.4
* Fri Mar 20 2020 Patrick Uiterwijk <[email protected]> - 0.3-2
- Backport /usr/lib/zezere-ignition-url patch
* Tue Mar 17 2020 Peter Robinson <[email protected]> - 0.3-1
- Update to 0.3
* Fri Feb 21 2020 Packit Service <[email protected]> - 0.2-2
- new upstream release: 0.2
* Fri Jan 31 2020 Fedora Release Engineering <[email protected]> - 0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Dec 5 2019 Peter Robinson <[email protected]> 0.1-2
- Review fixes and updates
* Thu Dec 5 2019 Peter Robinson <[email protected]> 0.1-1
- Initial package