[200] | 1 | #
|
---|
[229] | 2 | # Copyright (c) 2004-2008 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: dasscm.spec 264 2008-12-29 10:48:05Z joergs $
|
---|
[200] | 7 |
|
---|
[214] | 8 | Name: dasscm
|
---|
| 9 | URL: http://www.dass-it.de/
|
---|
| 10 | License: GPL
|
---|
| 11 | Group: Development/Tools/Version Control
|
---|
| 12 | Autoreqprov: on
|
---|
[229] | 13 | Summary: dass configuration management tool
|
---|
[234] | 14 | Version: 0.8
|
---|
[214] | 15 | Release: 0
|
---|
[234] | 16 | Requires: subversion perl perl-TermReadKey
|
---|
[214] | 17 | Source: %{name}-%{version}.tar.bz2
|
---|
[232] | 18 | Packager: joerg.steffens@dass-it.de
|
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
[214] | 20 | BuildArch: noarch
|
---|
[246] | 21 | %if 0%{?suse_version}
|
---|
[214] | 22 | BuildRequires: gzip pam-modules tar
|
---|
[232] | 23 | %endif
|
---|
[264] | 24 |
|
---|
| 25 | # openSUSE 11.1 build fails, because /etc/subversion/ is not defined.
|
---|
| 26 | # Therefore subversion is included in build.
|
---|
| 27 | # It wasn't included for all distributions
|
---|
| 28 | # because it isn't available for all distributions in the default repository
|
---|
[263] | 29 | %if 0%{?suse_version} > 1100
|
---|
| 30 | BuildRequires: subversion
|
---|
| 31 | %endif
|
---|
| 32 |
|
---|
[200] | 33 |
|
---|
| 34 | %description
|
---|
[245] | 35 | dasscm is a tool for handling configuration files with subversion
|
---|
[200] | 36 |
|
---|
| 37 | Authors:
|
---|
| 38 | --------
|
---|
| 39 | Joerg Steffens
|
---|
| 40 |
|
---|
| 41 | %prep
|
---|
| 42 | %setup -c %{name}-%{version}
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 | %build
|
---|
| 47 |
|
---|
| 48 | %install
|
---|
| 49 | mkdir -p $RPM_BUILD_ROOT/usr/bin/
|
---|
[210] | 50 | install -m 755 dasscm $RPM_BUILD_ROOT/usr/bin/
|
---|
[202] | 51 | mkdir -p $RPM_BUILD_ROOT/etc/subversion/
|
---|
[224] | 52 | install -m 644 servers.dass-it $RPM_BUILD_ROOT/etc/subversion/
|
---|
[210] | 53 | install -m 640 dasscm.conf $RPM_BUILD_ROOT/etc/
|
---|
[214] | 54 | mkdir -p $RPM_BUILD_ROOT/var/lib/dasscm/
|
---|
[200] | 55 |
|
---|
| 56 |
|
---|
| 57 | %clean
|
---|
| 58 | rm -rf $RPM_BUILD_ROOT
|
---|
| 59 |
|
---|
| 60 |
|
---|
| 61 |
|
---|
| 62 | %files
|
---|
| 63 | %defattr(-,root,root)
|
---|
[214] | 64 | %dir /var/lib/dasscm/
|
---|
[215] | 65 | /usr/bin/dasscm
|
---|
[202] | 66 | /etc/subversion/servers.dass-it
|
---|
[210] | 67 | %config(noreplace) /etc/dasscm.conf
|
---|
[219] | 68 | %doc Changes doc/*
|
---|