-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeskos-packager.spec
66 lines (52 loc) · 1.91 KB
/
deskos-packager.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
Name: deskos-packager
Version: 0.2.1
Release: 1%{?dist}
Summary: Tools and files necessary for building DeskOS packages
License: GPLv3+
URL: https://deskosproject.org
Source0: COPYING
Source1: deskos.conf
Source2: deskos-7-x86_64.cfg
Source3: RPM-GPG-KEY-DeskOS-7
Requires: curl
Requires: koji
Requires: mock >= 1.4.7
Requires: openssh-clients
Requires: redhat-rpm-config
Requires: rpm-build
Requires: rpmdevtools
Requires: rpmlint
%description
Tools to help set up a DeskOS packaging environment
%prep
cp %{SOURCE0} .
%build
# Nothing here
%install
%{__mkdir_p} %{buildroot}/etc/koji.conf.d/
%{__install} -m 0644 %{SOURCE1} %{buildroot}/etc/koji.conf.d/deskos.conf
%{__mkdir_p} %{buildroot}/%{_bindir}
ln -sf %{_bindir}/koji %{buildroot}%{_bindir}/koji-deskos
%{__mkdir_p} %{buildroot}/etc/mock/
%{__install} -m 0644 %{SOURCE2} %{buildroot}/etc/mock/deskos-7-x86_64.cfg
%{__mkdir_p} %{buildroot}/etc/pki/mock/
%{__install} -m 0644 %{SOURCE3} %{buildroot}/etc/pki/mock/RPM-GPG-KEY-DeskOS-7
%files
%defattr(-,root,root,-)
%doc COPYING
%config /etc/koji.conf.d/deskos.conf
%config /etc/mock/deskos-7-x86_64.cfg
%config /etc/pki/mock/RPM-GPG-KEY-DeskOS-7
%{_bindir}/koji-deskos
%changelog
* Wed Sep 27 2017 Ricardo Arguello <rarguello@deskosproject.org> - 0.2.1-1
- GPG keys moved from /etc/pki/mock to /usr/share/distribution-gpg-keys
- Requires mock >= 1.4.7 because of https://github.com/rpm-software-management/mock/pull/129
* Mon Nov 14 2016 Ricardo Arguello <rarguello@deskosproject.org> - 0.2.0-1
- Use koji-deskos as binary name instead of dbs
- Change mock root to deskos-7-x86_64
- Add the DeskOS repo to mock
* Mon Sep 19 2016 Ricardo Arguello <rarguello@deskosproject.org> - 0.1.1-1
- Changed serverca and url
* Mon Sep 12 2016 Ricardo Arguello <rarguello@deskosproject.org> - 0.1.0-1
- Initial release