source: trunk/dasscm/dasscm.spec@ 245

Last change on this file since 245 was 245, checked in by joergs, on Oct 13, 2008 at 10:27:42 AM

changed description

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