source: trunk/dasscm/dasscm.spec@ 240

Last change on this file since 240 was 234, checked in by joergs, on Oct 8, 2008 at 4:29:29 PM

removed the requirement for perl-libconfigfile, because it didn't exist for all systems. Replaced by the simple get_config function

  • Property svn:keywords set to Id
File size: 1.3 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 234 2008-10-08 14:29:29Z 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 %{defined suse_version}
22BuildRequires: gzip pam-modules tar
23%endif
24
25%description
26tools for handling configuration files with subversion
27
28Authors:
29--------
30 Joerg Steffens
31
32%prep
33%setup -c %{name}-%{version}
34
35
36
37%build
38
39%install
40mkdir -p $RPM_BUILD_ROOT/usr/bin/
41install -m 755 dasscm $RPM_BUILD_ROOT/usr/bin/
42mkdir -p $RPM_BUILD_ROOT/etc/subversion/
43install -m 644 servers.dass-it $RPM_BUILD_ROOT/etc/subversion/
44install -m 640 dasscm.conf $RPM_BUILD_ROOT/etc/
45mkdir -p $RPM_BUILD_ROOT/var/lib/dasscm/
46
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51
52
53%files
54%defattr(-,root,root)
55%dir /var/lib/dasscm/
56/usr/bin/dasscm
57/etc/subversion/servers.dass-it
58%config(noreplace) /etc/dasscm.conf
59%doc Changes doc/*
Note: See TracBrowser for help on using the repository browser.