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

Last change on this file since 1089 was 1089, checked in by joergs, 11 years ago

added scsi-rescan

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