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 1111 2012-09-22 19:14:22Z 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.1
|
---|
15 | Release: 0
|
---|
16 |
|
---|
17 | Requires: python-json-rpc
|
---|
18 | # python-argparse is part of python >= 2.7
|
---|
19 | %if ( ( 0%{?suse_version} && 0%{?suse_version} <= 1110 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 600 ) )
|
---|
20 | # python 2.6
|
---|
21 | Requires: python-argparse
|
---|
22 | %endif
|
---|
23 |
|
---|
24 | Source: %{name}_%{version}.orig.tar.gz
|
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
26 | BuildArch: noarch
|
---|
27 | %if 0%{?suse_version}
|
---|
28 | BuildRequires: gzip pam-modules tar
|
---|
29 | %endif
|
---|
30 |
|
---|
31 |
|
---|
32 | %description
|
---|
33 | dass-opsi-tools contains some tools to help working in OPSI environments
|
---|
34 |
|
---|
35 | %prep
|
---|
36 | %setup -c
|
---|
37 |
|
---|
38 | %build
|
---|
39 |
|
---|
40 |
|
---|
41 | %install
|
---|
42 | mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
---|
43 | #install -m 755 usr/bin/opsi-bacula-server-conf.py $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.