-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
qubes-anaconda-addon.spec.in
46 lines (36 loc) · 1.47 KB
/
qubes-anaconda-addon.spec.in
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
Name: qubes-anaconda-addon
Version: @VERSION@
Release: 1%{?dist}
Summary: Anaconda addon useful for Qubes OS specific setup procedures
License: GPLv2+
BuildArch: noarch
BuildRequires: python3
Requires: python3
Requires: python3-looseversion
Requires: qubes-mgmt-salt-dom0-virtual-machines >= 4.1.19
#Requires: anaconda >= 19
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
%description
This is an addon that makes available Qubes OS specific setup functionality
at first boot time.
%prep
%setup -q
%install
rm -rf $RPM_BUILD_ROOT
install -m0644 -D dbus/org_qubes_os_initial_setup.conf \
$RPM_BUILD_ROOT/%{_datadir}/anaconda/dbus/confs/org_qubes_os_initial_setup.conf
install -m0644 -D dbus/org_qubes_os_initial_setup.service \
$RPM_BUILD_ROOT/%{_datadir}/anaconda/dbus/services/org_qubes_os_initial_setup.service
install -d $RPM_BUILD_ROOT/%{_datadir}/anaconda/addons
cp -a org_qubes_os_initial_setup $RPM_BUILD_ROOT/%{_datadir}/anaconda/addons/
%files
%defattr(-,root,root,-)
%doc LICENSE README
%{_datadir}/anaconda/dbus/confs/org_qubes_os_initial_setup.conf
%{_datadir}/anaconda/dbus/services/org_qubes_os_initial_setup.service
%dir %{_datadir}/anaconda/addons/org_qubes_os_initial_setup
%{_datadir}/anaconda/addons/org_qubes_os_initial_setup/*
%changelog
* Sun Mar 27 2016 M. Vefa Bicakci <[email protected]> - 1.0-1
- Initial package for qubes-anaconda-addon