summaryrefslogtreecommitdiff
path: root/packaging/hal-rootstrap-checker.spec
blob: 78248bd44a1ee81f63e20c967d9ecde990d0be92 (plain)
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
Name:		hal-rootstrap-checker
Summary:	Package for hal rootstrap checker
Version:	0.1.0
Release:	1
License:	Apache-2.0
Source0:	%{name}-%{version}.tar.gz
Source1:	hal-rootstrap-checker.manifest
Source2:	hal-rootstrap-checker.sh
Source3:	hal-rootstrap-checker.yaml
Source4:	macros.hal-rootstrap-checker

#!BuildIgnore: hal-rootstrap-checker

%description
Package for hal rootstrap checker

%prep
%setup -q
cp %{SOURCE1} .

%install
rm -rf %{buildroot}

mkdir -p %{buildroot}%{_sysconfdir}/hal/rootstrap
install -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/hal/rootstrap
install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/hal/rootstrap

mkdir -p %{buildroot}%{_sysconfdir}/rpm
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/rpm

%files
%manifest %{name}.manifest
%{_sysconfdir}/hal/rootstrap/hal-rootstrap-checker.sh
%{_sysconfdir}/hal/rootstrap/hal-rootstrap-checker.yaml
%{_sysconfdir}/rpm/macros.hal-rootstrap-checker