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

Last change on this file since 1214 was 1214, checked in by joergs, on Aug 23, 2016 at 10:31:47 AM

added reposync-add-repo.sh and reposync-mirror-update.sh

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[200]1#
[1210]2# Copyright (c) 2012-2016 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 1214 2016-08-23 08:31:47Z 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
[1214]30# reposync-.*
31#Requires: yum-utils
[263]32
[200]33
34%description
[1071]35dass-tools is a collections of small utilities
[200]36
37%prep
[745]38%setup -c
[200]39
40%build
41
[896]42
[200]43%install
[1210]44mkdir -p $RPM_BUILD_ROOT/etc/
[1212]45install -m 644 etc/*.conf $RPM_BUILD_ROOT/etc/
[1071]46mkdir -p $RPM_BUILD_ROOT/etc/profile.d/
47install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/
[932]48
[1077]49mkdir -p $RPM_BUILD_ROOT/usr/bin
50install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin
51
[1089]52mkdir -p $RPM_BUILD_ROOT/usr/sbin
53install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin
[1077]54
[1089]55
56
[200]57%clean
[896]58[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
[200]59
60
61%files
62%defattr(-,root,root)
[1214]63%config(noreplace) /etc/*.conf
[1213]64%config(noreplace) /etc/profile.d/*
[1077]65/usr/bin/*
[1089]66/usr/sbin/*
Note: See TracBrowser for help on using the repository browser.