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