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

Last change on this file since 1203 was 1193, checked in by joergs, on Aug 18, 2015 at 1:46:42 PM

added missing requirement

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