Last change
on this file since 1247 was 1239, checked in by joergs, on Feb 28, 2018 at 6:41:10 PM |
added createBareosConfigFiles
- try to allow alternatives to jsonrpc,
however tests with jsonrpclib (jsonrpclib_pelix-0.3.1)
have not been successful.
- createBareosConfigFiles
- replaced createBaculaConfigFiles
- provide default parameter for JobDefs and FileSet
- store resulting files to correct location
/etc/bareos/bareos-dir.d/*/opsi-*-generated.conf
|
-
Property svn:keywords
set to
Id
|
File size:
1.3 KB
|
Line | |
---|
1 | #
|
---|
2 | # Copyright (c) 2012 dass IT GmbH, Koeln, Germany.
|
---|
3 | # This file and all modifications and additions to the pristine
|
---|
4 | # package are under the same license as the package itself.
|
---|
5 | #
|
---|
6 | # $Id: dass-opsi-tools.spec 1239 2018-02-28 17:41:10Z joergs $
|
---|
7 |
|
---|
8 | Name: dass-opsi-tools
|
---|
9 | URL: http://trac.dass-it.de/pub/
|
---|
10 | License: GPL
|
---|
11 | Group: Productivity/Networking/Opsi
|
---|
12 | Autoreqprov: on
|
---|
13 | Summary: dass IT addon tools for OPSI
|
---|
14 | Version: 1.2
|
---|
15 | Release: 0
|
---|
16 |
|
---|
17 | Requires: python-dateutil
|
---|
18 | Requires: python-json-rpc
|
---|
19 | # python-argparse is part of python >= 2.7
|
---|
20 | %if ( ( 0%{?suse_version} && 0%{?suse_version} <= 1110 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 600 ) )
|
---|
21 | # python 2.6
|
---|
22 | Requires: python-argparse
|
---|
23 | %endif
|
---|
24 |
|
---|
25 | Source: %{name}_%{version}.orig.tar.gz
|
---|
26 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
27 | BuildArch: noarch
|
---|
28 | %if 0%{?suse_version}
|
---|
29 | BuildRequires: gzip pam-modules tar
|
---|
30 | %endif
|
---|
31 |
|
---|
32 |
|
---|
33 | %description
|
---|
34 | dass-opsi-tools contains some tools to help working in OPSI environments
|
---|
35 |
|
---|
36 | %prep
|
---|
37 | %setup -c
|
---|
38 |
|
---|
39 | %build
|
---|
40 |
|
---|
41 |
|
---|
42 | %install
|
---|
43 | mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
---|
44 | install -m 755 usr/bin/opsiclient $RPM_BUILD_ROOT/usr/bin/
|
---|
45 | #install -m 755 usr/bin/opsi-getDepots.py $RPM_BUILD_ROOT/usr/bin/
|
---|
46 | install -m 755 usr/bin/opsiws.sh $RPM_BUILD_ROOT/usr/bin/
|
---|
47 |
|
---|
48 | %clean
|
---|
49 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
---|
50 |
|
---|
51 |
|
---|
52 | %files
|
---|
53 | %defattr(-,root,root)
|
---|
54 | /usr/bin/*
|
---|
55 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.