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 1056 2012-08-15 13:39:36Z 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
|
---|
[1056] | 13 | Summary: opsi tools
|
---|
| 14 | Version: 1.0
|
---|
[214] | 15 | Release: 0
|
---|
[1056] | 16 | Requires: python-json-rpc
|
---|
[746] | 17 | Source: %{name}_%{version}.orig.tar.gz
|
---|
[232] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
[214] | 19 | BuildArch: noarch
|
---|
[246] | 20 | %if 0%{?suse_version}
|
---|
[214] | 21 | BuildRequires: gzip pam-modules tar
|
---|
[232] | 22 | %endif
|
---|
[263] | 23 |
|
---|
[200] | 24 |
|
---|
| 25 | %description
|
---|
[1056] | 26 | dass-opsi-tools contains some tools to help working in OPSI environments
|
---|
[200] | 27 |
|
---|
| 28 | %prep
|
---|
[745] | 29 | %setup -c
|
---|
[200] | 30 |
|
---|
| 31 | %build
|
---|
| 32 |
|
---|
[896] | 33 |
|
---|
[200] | 34 | %install
|
---|
| 35 | mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
---|
[1056] | 36 | install -m 755 usr/bin/opsi-client $RPM_BUILD_ROOT/usr/bin/
|
---|
| 37 | install -m 755 usr/bin/opsi-getDepots.py $RPM_BUILD_ROOT/usr/bin/
|
---|
| 38 | install -m 755 usr/bin/opsiws.sh $RPM_BUILD_ROOT/usr/bin/
|
---|
[932] | 39 |
|
---|
[200] | 40 | %clean
|
---|
[896] | 41 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
---|
[200] | 42 |
|
---|
| 43 |
|
---|
| 44 | %files
|
---|
| 45 | %defattr(-,root,root)
|
---|
[1056] | 46 | /usr/bin/*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.