-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolice.spec
More file actions
66 lines (51 loc) · 1.48 KB
/
police.spec
File metadata and controls
66 lines (51 loc) · 1.48 KB
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
65
%define name police
%define version 3.2.0
%define release 1
Name: %{name}
Summary: System maintanence and check tool
Version: %{version}
Release: %{release}
License: GPL
Group: Development/Other
URL: http://code.google.com/p/syspolice/
Source: %{name}-%{version}.tar.gz
Requires: tar, gzip
BuildArch: noarch
Buildroot: %{_tmppath}/%{name}-buildroot
Packager: NetX <support@netx.as>
%description
The police system simplyfies the management of the unix base
systems with following features:
- unified instalations, instalation templates
- security checks
- bulk maintains and updates
- backuping of configuration files
- the file system checks against to the predefined
package repository
web: https://github.com/netx-as/
%package server
%description server
The server side of the police system. This package
must be installed only on the server side. The server
part runs all process, manage files and connect to the
clients where the police-client package is instaled.
%package client
%description client
The client side of the police system. This package
shoul be installed on both client and server.
%prep
%setup
%install server
make PREFIX=$RPM_BUILD_ROOT/ install-server
%install client
make PREFIX=$RPM_BUILD_ROOT/ install-client
%files
%defattr(-,root,root)
%files server
/usr/bin/police
%config /etc/cron.d/police.cron
#%doc /usr/share/man/man1/police.1.gz
%files client
/usr/sbin/police-client
/usr/sbin/police-client-bash
%changelog