source: dass-tools/dass-tools.spec@ 1111

Last change on this file since 1111 was 1089, checked in by joergs, on Sep 5, 2012 at 11:34:02 PM

added scsi-rescan

  • 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-tools.spec 1089 2012-09-05 21:34:02Z joergs $
[200]7
[1071]8Name: dass-tools
[1056]9URL: http://trac.dass-it.de/pub/
[214]10License: GPL
[1071]11Group: Productivity/Other
[214]12Autoreqprov: on
[1071]13Summary: small set of tools
[1056]14Version: 1.0
[214]15Release: 0
[746]16Source: %{name}_%{version}.orig.tar.gz
[232]17BuildRoot: %{_tmppath}/%{name}-%{version}-build
[214]18BuildArch: noarch
[246]19%if 0%{?suse_version}
[214]20BuildRequires: gzip pam-modules tar
[232]21%endif
[263]22
[200]23
24%description
[1071]25dass-tools is a collections of small utilities
[200]26
27%prep
[745]28%setup -c
[200]29
30%build
31
[896]32
[200]33%install
[1071]34mkdir -p $RPM_BUILD_ROOT/etc/profile.d/
35install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/
[932]36
[1077]37mkdir -p $RPM_BUILD_ROOT/usr/bin
38install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin
39
[1089]40mkdir -p $RPM_BUILD_ROOT/usr/sbin
41install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin
[1077]42
[1089]43
44
[200]45%clean
[896]46[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
[200]47
48
49%files
50%defattr(-,root,root)
[1071]51/etc/profile.d/*
[1077]52/usr/bin/*
[1089]53/usr/sbin/*
54
Note: See TracBrowser for help on using the repository browser.