aboutsummaryrefslogtreecommitdiff
path: root/laps.spec
blob: ef59c2036d152598d51605e4a43c839be3688af2 (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.1
Release:	2
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
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
* Tue Oct 23 2018 B Stack <bgstack15@gmail.com> 0.0.1-1
- initial rpm built
bgstack15