forked from luck/centrify_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcentrify_tools.spec
44 lines (38 loc) · 1.27 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
42
43
44
%define name centrify_tools
%define version %VERSION%
%define release %RELEASE%
%define arch noarch
%define source https://github.com/biyiklioglu/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 -p %{buildroot}/etc/centrify_tools
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/centrify_tools/default.conf %{buildroot}/etc/centrify_tools
%files
%defattr(-,root,root)
/usr/bin/*
/usr/lib/*
%config(noreplace) /etc/centrify_tools/default.conf
%changelog
* Wed Dec 25 2013 Orhan Biyiklioglu <[email protected]> - 1.3.0
- Added the multiple config file option
- Updated to release 1.3.0