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

Last change on this file since 1056 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
RevLine 
[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]8Name: dass-opsi-tools
9URL: http://trac.dass-it.de/pub/
[214]10License: GPL
[1056]11Group: Productivity/Networking/Opsi
[214]12Autoreqprov: on
[1056]13Summary: opsi tools
14Version: 1.0
[214]15Release: 0
[1056]16Requires: python-json-rpc
[746]17Source: %{name}_%{version}.orig.tar.gz
[232]18BuildRoot: %{_tmppath}/%{name}-%{version}-build
[214]19BuildArch: noarch
[246]20%if 0%{?suse_version}
[214]21BuildRequires: gzip pam-modules tar
[232]22%endif
[263]23
[200]24
25%description
[1056]26dass-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
35mkdir -p $RPM_BUILD_ROOT/usr/bin/
[1056]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/
[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.