aboutsummaryrefslogtreecommitdiff
path: root/laps.spec
blob: a980da91eb2e4c29b8845a7eb4b39153bddd2695 (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
49
50
51
52
%define debug_package %{nil}
Name:		laps
Version:	0.0.5
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
# 1.5.3 fixes #10 (bgscripts#41)
Requires:	bgscripts-core >= 1.5.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/*
%{_datadir}/%{name}

%changelog
* Mon Mar 22 2021 B. Stack <bgstack15@gmail.com> - 0.0.5-1
- Version bump

* Thu Jul 18 2019 B Stack <bgstack15@gmail.com> 0.0.4-2
- rpm built
bgstack15