-
Notifications
You must be signed in to change notification settings - Fork 0
/
pam_handshake.spec
64 lines (50 loc) · 1.87 KB
/
pam_handshake.spec
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
53
54
55
56
57
58
59
60
61
62
63
64
Name: %{packagename}
Version: %{version}
Release: %{release}
Summary: Integration of iRODS and handle system via microservices.
License: GPLv3+
Source0: %{packagename}-%{version}.tar.gz
# %if ( "%{irodsversion}" == "4.1.11" || "%{irodsversion}" == "4.1.12" )
# %define irods_msi_path /var/lib/irods/plugins/microservices
# %else
# %define irods_msi_path /usr/lib/irods/plugins/microservices
# %endif
# %define libs_dir lib/_%{irodsversion}
# %define irods_config_path /etc/irods
# %define debug_package %{nil}
%description
Creating and managing persistent identifiers (handle) with iRods microservices.
%prep
%setup -q
%build
make
%install
cp server pam_handshake_server
cp auth_check pam_handshake_auth_check
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/etc/systemd/system/
install -m 755 pam_handshake_server %{buildroot}/usr/sbin
install -m 755 pam_handshake_auth_check %{buildroot}/usr/sbin
install -m 755 pam_handshake_start.sh %{buildroot}/usr/sbin
install -m 755 pam_handshake_status.sh %{buildroot}/usr/sbin
install -m 755 pam_handshake_stop.sh %{buildroot}/usr/sbin
install -m 755 pam_handshake_delete.sh %{buildroot}/usr/sbin
install -m 755 pam_handshake_post.sh %{buildroot}/usr/sbin
install -m 755 pam_handshake_get.sh %{buildroot}/usr/sbin
install -m 755 pam_handshake_put.sh %{buildroot}/usr/sbin
install -m 755 pam-handshake.service %{buildroot}/etc/systemd/system/
%files
/usr/sbin/pam_handshake_server
/usr/sbin/pam_handshake_auth_check
/usr/sbin/pam_handshake_start.sh
/usr/sbin/pam_handshake_status.sh
/usr/sbin/pam_handshake_stop.sh
/usr/sbin/pam_handshake_delete.sh
/usr/sbin/pam_handshake_post.sh
/usr/sbin/pam_handshake_get.sh
/usr/sbin/pam_handshake_put.sh
/etc/systemd/system/pam-handshake.service
%post
%changelog
* Wed Apr 06 2020 Stefan Wolfsheimer <[email protected]> - develop
- initial development branch