source:
dass-tools/dass-tools.spec@
1192
Last change on this file since 1192 was 1192, checked in by , on Aug 18, 2015 at 1:10:01 PM | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[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 1192 2015-08-18 11:10:01Z joergs $ |
[200] | 7 | |
[1071] | 8 | Name: dass-tools |
[1056] | 9 | URL: http://trac.dass-it.de/pub/ |
[214] | 10 | License: GPL |
[1071] | 11 | Group: Productivity/Other |
[214] | 12 | Autoreqprov: on |
[1071] | 13 | Summary: small set of tools |
[1056] | 14 | Version: 1.0 |
[214] | 15 | Release: 0 |
[746] | 16 | Source: %{name}_%{version}.orig.tar.gz |
[232] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
[214] | 18 | BuildArch: noarch |
[246] | 19 | %if 0%{?suse_version} |
[214] | 20 | BuildRequires: gzip pam-modules tar |
[232] | 21 | %endif |
[1192] | 22 | Requires: lftp |
23 | Requires: rsync | |
24 | Requires: sed | |
25 | Requires: unzip | |
[263] | 26 | |
[200] | 27 | |
28 | %description | |
[1071] | 29 | dass-tools is a collections of small utilities |
[200] | 30 | |
31 | %prep | |
[745] | 32 | %setup -c |
[200] | 33 | |
34 | %build | |
35 | ||
[896] | 36 | |
[200] | 37 | %install |
[1071] | 38 | mkdir -p $RPM_BUILD_ROOT/etc/profile.d/ |
39 | install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/ | |
[932] | 40 | |
[1077] | 41 | mkdir -p $RPM_BUILD_ROOT/usr/bin |
42 | install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin | |
43 | ||
[1089] | 44 | mkdir -p $RPM_BUILD_ROOT/usr/sbin |
45 | install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin | |
[1077] | 46 | |
[1089] | 47 | |
48 | ||
[200] | 49 | %clean |
[896] | 50 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
[200] | 51 | |
52 | ||
53 | %files | |
54 | %defattr(-,root,root) | |
[1071] | 55 | /etc/profile.d/* |
[1077] | 56 | /usr/bin/* |
[1089] | 57 | /usr/sbin/* |
58 |
Note:
See TracBrowser
for help on using the repository browser.