source:
opsi/server/dass-opsi-tools/dass-opsi-tools.spec@
1095
Last change on this file since 1095 was 1079, checked in by , on Aug 17, 2012 at 5:04:54 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 1079 2012-08-17 15:04:54Z 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 |
[1056] | 14 | Version: 1.0 |
[214] | 15 | Release: 0 |
[1072] | 16 | |
[1056] | 17 | Requires: python-json-rpc |
[1072] | 18 | # python-argparse is part of python >= 2.7 |
[1079] | 19 | %if ( ( 0%{?suse_version} && 0%{?suse_version} <= 1110 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 600 ) ) |
[1072] | 20 | # python 2.6 |
[1076] | 21 | Requires: python-argparse |
[1072] | 22 | %endif |
23 | ||
[746] | 24 | Source: %{name}_%{version}.orig.tar.gz |
[232] | 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
[214] | 26 | BuildArch: noarch |
[246] | 27 | %if 0%{?suse_version} |
[214] | 28 | BuildRequires: gzip pam-modules tar |
[232] | 29 | %endif |
[263] | 30 | |
[200] | 31 | |
32 | %description | |
[1056] | 33 | dass-opsi-tools contains some tools to help working in OPSI environments |
[200] | 34 | |
35 | %prep | |
[745] | 36 | %setup -c |
[200] | 37 | |
38 | %build | |
39 | ||
[896] | 40 | |
[200] | 41 | %install |
42 | mkdir -p $RPM_BUILD_ROOT/usr/bin/ | |
[1078] | 43 | install -m 755 usr/bin/opsiclient $RPM_BUILD_ROOT/usr/bin/ |
[1068] | 44 | #install -m 755 usr/bin/opsi-getDepots.py $RPM_BUILD_ROOT/usr/bin/ |
[1056] | 45 | install -m 755 usr/bin/opsiws.sh $RPM_BUILD_ROOT/usr/bin/ |
[932] | 46 | |
[200] | 47 | %clean |
[896] | 48 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
[200] | 49 | |
50 | ||
51 | %files | |
52 | %defattr(-,root,root) | |
[1056] | 53 | /usr/bin/* |
[1072] | 54 |
Note:
See TracBrowser
for help on using the repository browser.