Line | |
---|
1 | #
|
---|
2 | # Copyright (c) 2004-2008 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: dasscm.spec 245 2008-10-13 08:27:42Z joergs $
|
---|
7 |
|
---|
8 | Name: dasscm
|
---|
9 | URL: http://www.dass-it.de/
|
---|
10 | License: GPL
|
---|
11 | Group: Development/Tools/Version Control
|
---|
12 | Autoreqprov: on
|
---|
13 | Summary: dass configuration management tool
|
---|
14 | Version: 0.8
|
---|
15 | Release: 0
|
---|
16 | Requires: subversion perl perl-TermReadKey
|
---|
17 | Source: %{name}-%{version}.tar.bz2
|
---|
18 | Packager: joerg.steffens@dass-it.de
|
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
20 | BuildArch: noarch
|
---|
21 | %if %{defined suse_version}
|
---|
22 | BuildRequires: gzip pam-modules tar
|
---|
23 | %endif
|
---|
24 |
|
---|
25 |
|
---|
26 | %description
|
---|
27 | dasscm is a tool for handling configuration files with subversion
|
---|
28 |
|
---|
29 | Authors:
|
---|
30 | --------
|
---|
31 | Joerg Steffens
|
---|
32 |
|
---|
33 | %prep
|
---|
34 | %setup -c %{name}-%{version}
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
38 | %build
|
---|
39 |
|
---|
40 | %install
|
---|
41 | mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
---|
42 | install -m 755 dasscm $RPM_BUILD_ROOT/usr/bin/
|
---|
43 | mkdir -p $RPM_BUILD_ROOT/etc/subversion/
|
---|
44 | install -m 644 servers.dass-it $RPM_BUILD_ROOT/etc/subversion/
|
---|
45 | install -m 640 dasscm.conf $RPM_BUILD_ROOT/etc/
|
---|
46 | mkdir -p $RPM_BUILD_ROOT/var/lib/dasscm/
|
---|
47 |
|
---|
48 |
|
---|
49 | %clean
|
---|
50 | rm -rf $RPM_BUILD_ROOT
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
54 | %files
|
---|
55 | %defattr(-,root,root)
|
---|
56 | %dir /var/lib/dasscm/
|
---|
57 | /usr/bin/dasscm
|
---|
58 | /etc/subversion/servers.dass-it
|
---|
59 | %config(noreplace) /etc/dasscm.conf
|
---|
60 | %doc Changes doc/*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.