source: trunk/dasscm/dasscm.spec@ 273

Last change on this file since 273 was 272, checked in by joergs, on Mar 4, 2009 at 9:41:36 PM

removed subversion build dependency, because /etc/subversion isn't used a all. Increase version to 0.9

  • Property svn:keywords set to Id
File size: 1.6 KB
RevLine 
[200]1#
[272]2# Copyright (c) 2004-2009 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 272 2009-03-04 20:41:36Z 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
[272]14Version: 0.9
[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
[246]21%if 0%{?suse_version}
[214]22BuildRequires: gzip pam-modules tar
[232]23%endif
[264]24
[265]25# Subversion should be installed during build
26# to have the directory /etc/subversion/ available.
27# Unfortunally, it isn't included in all distributions,
28# therefore we added some checks
[272]29#%if 0%{?suse_version} > 1100
30#BuildRequires: subversion
31#%endif
[263]32
[200]33
34%description
[245]35dasscm is a tool for handling configuration files with subversion
[200]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/
[210]50install -m 755 dasscm $RPM_BUILD_ROOT/usr/bin/
[266]51mkdir -p $RPM_BUILD_ROOT/etc/
[210]52install -m 640 dasscm.conf $RPM_BUILD_ROOT/etc/
[214]53mkdir -p $RPM_BUILD_ROOT/var/lib/dasscm/
[266]54#if -d $RPM_BUILD_ROOT/etc/subversion/
55# install -m 644 subversion-servers.dass-it $RPM_BUILD_ROOT/etc/subversion/servers.dass-it
56#fi
[200]57
58
[265]59
60
[200]61%clean
62rm -rf $RPM_BUILD_ROOT
63
64
65
66%files
67%defattr(-,root,root)
[214]68%dir /var/lib/dasscm/
[215]69/usr/bin/dasscm
[210]70%config(noreplace) /etc/dasscm.conf
[265]71%doc Changes doc/* subversion-servers.dass-it
Note: See TracBrowser for help on using the repository browser.