source:
dass-tools/dass-tools.spec@
1185
Last change on this file since 1185 was 1089, checked in by , on Sep 5, 2012 at 11:34:02 PM | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[200] | 1 | # |
[1056] | 2 | # Copyright (c) 2012 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 1089 2012-09-05 21:34:02Z 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 |
[263] | 22 | |
[200] | 23 | |
24 | %description | |
[1071] | 25 | dass-tools is a collections of small utilities |
[200] | 26 | |
27 | %prep | |
[745] | 28 | %setup -c |
[200] | 29 | |
30 | %build | |
31 | ||
[896] | 32 | |
[200] | 33 | %install |
[1071] | 34 | mkdir -p $RPM_BUILD_ROOT/etc/profile.d/ |
35 | install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/ | |
[932] | 36 | |
[1077] | 37 | mkdir -p $RPM_BUILD_ROOT/usr/bin |
38 | install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin | |
39 | ||
[1089] | 40 | mkdir -p $RPM_BUILD_ROOT/usr/sbin |
41 | install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin | |
[1077] | 42 | |
[1089] | 43 | |
44 | ||
[200] | 45 | %clean |
[896] | 46 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
[200] | 47 | |
48 | ||
49 | %files | |
50 | %defattr(-,root,root) | |
[1071] | 51 | /etc/profile.d/* |
[1077] | 52 | /usr/bin/* |
[1089] | 53 | /usr/sbin/* |
54 |
Note:
See TracBrowser
for help on using the repository browser.