Line | |
---|
1 | #
|
---|
2 | # Copyright (c) 2012-2016 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 1213 2016-04-18 08:33:55Z 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 | # mirror-urls
|
---|
23 | Requires: lftp
|
---|
24 | # mirror-obs
|
---|
25 | Requires: rsync
|
---|
26 | # mirror-*
|
---|
27 | Requires: sed
|
---|
28 | # xpi-extract.sh
|
---|
29 | Requires: unzip xmlstarlet
|
---|
30 |
|
---|
31 |
|
---|
32 | %description
|
---|
33 | dass-tools is a collections of small utilities
|
---|
34 |
|
---|
35 | %prep
|
---|
36 | %setup -c
|
---|
37 |
|
---|
38 | %build
|
---|
39 |
|
---|
40 |
|
---|
41 | %install
|
---|
42 | mkdir -p $RPM_BUILD_ROOT/etc/
|
---|
43 | install -m 644 etc/*.conf $RPM_BUILD_ROOT/etc/
|
---|
44 | mkdir -p $RPM_BUILD_ROOT/etc/profile.d/
|
---|
45 | install -m 644 etc/profile.d/*.sh $RPM_BUILD_ROOT/etc/profile.d/
|
---|
46 |
|
---|
47 | mkdir -p $RPM_BUILD_ROOT/usr/bin
|
---|
48 | install -m 755 usr/bin/*.sh $RPM_BUILD_ROOT/usr/bin
|
---|
49 |
|
---|
50 | mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
---|
51 | install -m 755 usr/sbin/*.sh $RPM_BUILD_ROOT/usr/sbin
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 | %clean
|
---|
56 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
---|
57 |
|
---|
58 |
|
---|
59 | %files
|
---|
60 | %defattr(-,root,root)
|
---|
61 | %config(noreplace) /etc/mirror-*.conf
|
---|
62 | %config(noreplace) /etc/profile.d/*
|
---|
63 | /usr/bin/*
|
---|
64 | /usr/sbin/*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.