source: opsi/server/dass-opsi-tools/dass-opsi-tools.spec@ 1059

Last change on this file since 1059 was 1056, checked in by joergs, on Aug 15, 2012 at 3:39:36 PM

initial

  • Property svn:keywords set to Id
File size: 1.1 KB
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
8Name: dass-opsi-tools
9URL: http://trac.dass-it.de/pub/
10License: GPL
11Group: Productivity/Networking/Opsi
12Autoreqprov: on
13Summary: opsi tools
14Version: 1.0
15Release: 0
16Requires: python-json-rpc
17Source: %{name}_%{version}.orig.tar.gz
18BuildRoot: %{_tmppath}/%{name}-%{version}-build
19BuildArch: noarch
20%if 0%{?suse_version}
21BuildRequires: gzip pam-modules tar
22%endif
23
24
25%description
26dass-opsi-tools contains some tools to help working in OPSI environments
27
28%prep
29%setup -c
30
31%build
32
33
34%install
35mkdir -p $RPM_BUILD_ROOT/usr/bin/
36install -m 755 usr/bin/opsi-client $RPM_BUILD_ROOT/usr/bin/
37install -m 755 usr/bin/opsi-getDepots.py $RPM_BUILD_ROOT/usr/bin/
38install -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.