| Line | |
|---|
| 1 | #
|
|---|
| 2 | # Copyright (c) 2012 dass IT GmbH, Koeln, Germany.
|
|---|
| 3 | # This file and all modifications and additions to the pristine
|
|---|
| 4 | # package are under the same license as the package itself.
|
|---|
| 5 | #
|
|---|
| 6 | # $Id: dass-tools.spec 1077 2012-08-17 14:48:38Z joergs $
|
|---|
| 7 |
|
|---|
| 8 | Name: dass-tools
|
|---|
| 9 | URL: http://trac.dass-it.de/pub/
|
|---|
| 10 | License: GPL
|
|---|
| 11 | Group: Productivity/Other
|
|---|
| 12 | Autoreqprov: on
|
|---|
| 13 | Summary: small set of tools
|
|---|
| 14 | Version: 1.0
|
|---|
| 15 | Release: 0
|
|---|
| 16 | Source: %{name}_%{version}.orig.tar.gz
|
|---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|---|
| 18 | BuildArch: noarch
|
|---|
| 19 | %if 0%{?suse_version}
|
|---|
| 20 | BuildRequires: gzip pam-modules tar
|
|---|
| 21 | %endif
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 | %description
|
|---|
| 25 | dass-tools is a collections of small utilities
|
|---|
| 26 |
|
|---|
| 27 | %prep
|
|---|
| 28 | %setup -c
|
|---|
| 29 |
|
|---|
| 30 | %build
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 | %install
|
|---|
| 34 | mkdir -p $RPM_BUILD_ROOT/etc/profile.d/
|
|---|
| 35 | install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/
|
|---|
| 36 |
|
|---|
| 37 | mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|---|
| 38 | install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | %clean
|
|---|
| 42 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 | %files
|
|---|
| 46 | %defattr(-,root,root)
|
|---|
| 47 | /etc/profile.d/*
|
|---|
| 48 | /usr/bin/*
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.