-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcentrify_tools.spec
41 lines (36 loc) · 1.08 KB
/
centrify_tools.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
%define name centrify_tools
%define version %VERSION%
%define release %RELEASE%
%define arch noarch
%define source https://github.com/mickep76/centrify_tools.git
%define buildroot %{_topdir}/BUILDROOT/
BuildRoot: %{buildroot}
Source: %{source}
Summary: Centrify Tools
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: System
AutoReqProv: no
%description
Tools for listing permissions and getting information for Centrify on the command line
%prep
mkdir -p %{buildroot}/usr/bin
mkdir %{buildroot}/usr/lib
mkdir %{buildroot}/etc
cp %{_topdir}/SOURCES/ad_group %{buildroot}/usr/bin
cp %{_topdir}/SOURCES/ad_host_roles %{buildroot}/usr/bin
cp %{_topdir}/SOURCES/ad_host_zone %{buildroot}/usr/bin
cp %{_topdir}/SOURCES/ad_zone_hosts %{buildroot}/usr/bin
cp %{_topdir}/SOURCES/ad_zone_roles %{buildroot}/usr/bin
cp %{_topdir}/SOURCES/ad_zones %{buildroot}/usr/bin
cp %{_topdir}/SOURCES/ad_functions %{buildroot}/usr/lib
cp %{_topdir}/SOURCES/ad.conf %{buildroot}/etc
%files
%defattr(-,root,root)
%dir /usr/bin
%dir /usr/lib
/usr/bin/*
/usr/lib/*
%config(noreplace) /etc/ad.conf