# # Copyright (c) 2012-2016 dass IT GmbH, Koeln, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # $Id: dass-tools.spec 1214 2016-08-23 08:31:47Z joergs $ Name: dass-tools URL: http://trac.dass-it.de/pub/ License: GPL Group: Productivity/Other Autoreqprov: on Summary: small set of tools Version: 1.0 Release: 0 Source: %{name}_%{version}.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %if 0%{?suse_version} BuildRequires: gzip pam-modules tar %endif # mirror-urls Requires: lftp # mirror-obs Requires: rsync # mirror-* Requires: sed # xpi-extract.sh Requires: unzip xmlstarlet # reposync-.* #Requires: yum-utils %description dass-tools is a collections of small utilities %prep %setup -c %build %install mkdir -p $RPM_BUILD_ROOT/etc/ install -m 644 etc/*.conf $RPM_BUILD_ROOT/etc/ mkdir -p $RPM_BUILD_ROOT/etc/profile.d/ install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/ mkdir -p $RPM_BUILD_ROOT/usr/bin install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/sbin install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %config(noreplace) /etc/*.conf %config(noreplace) /etc/profile.d/* /usr/bin/* /usr/sbin/*