aboutsummaryrefslogtreecommitdiff
path: root/laps.spec
blob: 9fce9fb55c5200fedfa6f9d33aae1a57f022fc85 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
%define debug_package %{nil}
Name:		laps
Version:	0.0.4
Release:	1
Summary:	local administrator password solution

Group:		system
License:	CC-BY-SA 4.0
URL:		https://bgstack15.wordpress.com/
Source0:	laps-%{version}.tgz

BuildArch:	noarch
BuildRequires:	coreutils
Requires:	bgscripts-core >= 1.4.3
Requires:	krb5-workstation
Requires:	openldap-clients
Requires:	passwd
Requires:	util-linux
Requires:	libpwquality
Requires:	findutils
Requires:	coreutils
Requires:	sed
Requires:	gawk

%description
laps provides the GNU/Linux client for the LAPS (Local Administrator Password Solution).

%prep
%setup -q -c %{name}

%build
#%%configure
#make %%{?_smp_mflags}

%install
#make install DESTDIR=%{buildroot}
# the %%name* allows for either laps-0.0.0/ or laps/ dirname.
cp -pr %{name}*/src/* "%{buildroot}"

%files
%doc %{_docdir}/%{name}/*
%config %attr(644, -, -) %{_sysconfdir}/%{name}/*
%config %attr(600, -, -) %{_sysconfdir}/cron.d/*.cron
%{_datadir}/%{name}

%changelog
* Fri Mar  1 2019 B Stack <bgstack15@gmail.com> 0.0.3-1
- rpm built
bgstack15