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

Last change on this file since 1192 was 1192, checked in by joergs, on Aug 18, 2015 at 1:10:01 PM

added xpi-extract.sh

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#
2# Copyright (c) 2012-2015 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 1192 2015-08-18 11:10:01Z 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
22Requires: lftp
23Requires: rsync
24Requires: sed
25Requires: unzip
26
27
28%description
29dass-tools is a collections of small utilities
30
31%prep
32%setup -c
33
34%build
35
36
37%install
38mkdir -p $RPM_BUILD_ROOT/etc/profile.d/
39install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/
40
41mkdir -p $RPM_BUILD_ROOT/usr/bin
42install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin
43
44mkdir -p $RPM_BUILD_ROOT/usr/sbin
45install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin
46
47
48
49%clean
50[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
51
52
53%files
54%defattr(-,root,root)
55/etc/profile.d/*
56/usr/bin/*
57/usr/sbin/*
58
Note: See TracBrowser for help on using the repository browser.