source: trunk/dasscm/dasscm.spec@ 264

Last change on this file since 264 was 264, checked in by joergs, on Dec 29, 2008 at 11:48:05 AM

added comment

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