source:
opsi/server/dass-opsi-tools/dass-opsi-tools.spec@
1248
Last change on this file since 1248 was 1239, checked in by , on Feb 28, 2018 at 6:41:10 PM | |
---|---|
|
|
File size: 1.3 KB |
Rev | Line | |
---|---|---|
[200] | 1 | # |
[1056] | 2 | # Copyright (c) 2012 dass IT GmbH, Koeln, Germany. |
[200] | 3 | # This file and all modifications and additions to the pristine |
4 | # package are under the same license as the package itself. | |
5 | # | |
[214] | 6 | # $Id: dass-opsi-tools.spec 1239 2018-02-28 17:41:10Z joergs $ |
[200] | 7 | |
[1056] | 8 | Name: dass-opsi-tools |
9 | URL: http://trac.dass-it.de/pub/ | |
[214] | 10 | License: GPL |
[1056] | 11 | Group: Productivity/Networking/Opsi |
[214] | 12 | Autoreqprov: on |
[1072] | 13 | Summary: dass IT addon tools for OPSI |
[1235] | 14 | Version: 1.2 |
[214] | 15 | Release: 0 |
[1072] | 16 | |
[1235] | 17 | Requires: python-dateutil |
[1056] | 18 | Requires: python-json-rpc |
[1072] | 19 | # python-argparse is part of python >= 2.7 |
[1079] | 20 | %if ( ( 0%{?suse_version} && 0%{?suse_version} <= 1110 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 600 ) ) |
[1072] | 21 | # python 2.6 |
[1076] | 22 | Requires: python-argparse |
[1072] | 23 | %endif |
24 | ||
[746] | 25 | Source: %{name}_%{version}.orig.tar.gz |
[232] | 26 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
[214] | 27 | BuildArch: noarch |
[246] | 28 | %if 0%{?suse_version} |
[214] | 29 | BuildRequires: gzip pam-modules tar |
[232] | 30 | %endif |
[263] | 31 | |
[200] | 32 | |
33 | %description | |
[1056] | 34 | dass-opsi-tools contains some tools to help working in OPSI environments |
[200] | 35 | |
36 | %prep | |
[745] | 37 | %setup -c |
[200] | 38 | |
39 | %build | |
40 | ||
[896] | 41 | |
[200] | 42 | %install |
43 | mkdir -p $RPM_BUILD_ROOT/usr/bin/ | |
[1078] | 44 | install -m 755 usr/bin/opsiclient $RPM_BUILD_ROOT/usr/bin/ |
[1068] | 45 | #install -m 755 usr/bin/opsi-getDepots.py $RPM_BUILD_ROOT/usr/bin/ |
[1056] | 46 | install -m 755 usr/bin/opsiws.sh $RPM_BUILD_ROOT/usr/bin/ |
[932] | 47 | |
[200] | 48 | %clean |
[896] | 49 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
[200] | 50 | |
51 | ||
52 | %files | |
53 | %defattr(-,root,root) | |
[1056] | 54 | /usr/bin/* |
[1072] | 55 |
Note:
See TracBrowser
for help on using the repository browser.