# 
# Copyright  (c)  2004-2008  dass IT GmbH, Koeln, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# $Id: dasscm.spec 5820 2008-10-08 14:29:29Z joergs $

Name:           dasscm
URL:            http://www.dass-it.de/
License:        GPL
Group:          Development/Tools/Version Control
Autoreqprov:    on
Summary:        dass configuration management tool
Version: 0.8.5820
Release:        0
Requires:       subversion perl perl-TermReadKey
Source:         %{name}-%{version}.tar.bz2
Packager:       joerg.steffens@dass-it.de
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%if %{defined suse_version}
BuildRequires:  gzip pam-modules tar
%endif

%description
tools for handling configuration files with subversion

Authors:
--------
       Joerg Steffens

%prep
%setup -c %{name}-%{version}



%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin/
install -m 755 dasscm $RPM_BUILD_ROOT/usr/bin/
mkdir -p $RPM_BUILD_ROOT/etc/subversion/
install -m 644 servers.dass-it $RPM_BUILD_ROOT/etc/subversion/
install -m 640 dasscm.conf $RPM_BUILD_ROOT/etc/
mkdir -p $RPM_BUILD_ROOT/var/lib/dasscm/


%clean
rm -rf $RPM_BUILD_ROOT



%files
%defattr(-,root,root)
%dir /var/lib/dasscm/
/usr/bin/dasscm
/etc/subversion/servers.dass-it
%config(noreplace) /etc/dasscm.conf
%doc Changes doc/*
%changelog
* Wed Oct 08 2008 - svn_build

- Subversion status:
             5820     5820 joergs       .
             5820     5808 joergs       OSC_PACKAGE
             5820     5820 joergs       dasscm.spec
             5820     4831 joergs       SOURCES
             5820     5818 joergs       doc
             5820     5818 joergs       doc/dasscm_howto.txt
             5820     4827 joergs       doc/README
             5820     5820 joergs       dasscm
             5820     5178 joergs       servers.dass-it
             5820     5179 joergs       dasscm.conf

- ChangeLog:
------------------------------------------------------------------------
r5820 | joergs | 2008-10-08 16:29:29 +0200 (Mi, 08 Okt 2008) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/dasscm.spec

removed the requirement for perl-libconfigfile, because it didn't exist for all systems. Replaced by the simple get_config function
------------------------------------------------------------------------
r5819 | joergs | 2008-10-08 15:45:21 +0200 (Mi, 08 Okt 2008) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

better check file types. Don't try to checkin directories, because they fail. Offer checkin of multiple files
------------------------------------------------------------------------
r5818 | joergs | 2008-10-08 11:15:09 +0200 (Mi, 08 Okt 2008) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.spec
   M /trunk/technical/common/dasscm/doc/dasscm_howto.txt

adapted to prevent build warnings
------------------------------------------------------------------------
r5816 | joergs | 2008-10-05 14:35:38 +0200 (So, 05 Okt 2008) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/doc/dasscm_howto.txt

bugfix und Ergänzung
------------------------------------------------------------------------
r5808 | joergs | 2008-10-02 16:16:37 +0200 (Do, 02 Okt 2008) | 1 line
Geänderte Pfade:
   A /trunk/technical/common/dasscm/OSC_PACKAGE

info for openSUSE build service
------------------------------------------------------------------------
r5806 | joergs | 2008-10-02 14:19:16 +0200 (Do, 02 Okt 2008) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.spec

beautified
------------------------------------------------------------------------
r5476 | joergs | 2007-12-10 15:13:46 +0100 (Mo, 10 Dez 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

extended error message
------------------------------------------------------------------------
r5416 | joergs | 2007-11-27 15:12:12 +0100 (Di, 27 Nov 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

prevent aborting if a file exists in the repository but not on the system
------------------------------------------------------------------------
r5376 | joergs | 2007-11-20 16:44:28 +0100 (Di, 20 Nov 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

quoting filenames to handle filenames with spaces
------------------------------------------------------------------------
r5181 | joergs | 2007-10-15 13:53:06 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

bugfix: init requires interactive mode
------------------------------------------------------------------------
r5180 | joergs | 2007-10-15 13:52:32 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.spec

Rechte von /etc/subversion/serves.dass-it angepasst
------------------------------------------------------------------------
r5179 | joergs | 2007-10-15 13:34:34 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.conf

added current lvermgeo svn repository. new new stays also as comment
------------------------------------------------------------------------
r5178 | joergs | 2007-10-15 13:33:13 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/servers.dass-it

added other dass-it svn servers
------------------------------------------------------------------------
r5177 | joergs | 2007-10-15 11:58:16 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.conf

comments for LVermGeo
------------------------------------------------------------------------
r5176 | joergs | 2007-10-15 11:57:43 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

workarounds for Subverison 1.0.0 (SLES9)
------------------------------------------------------------------------
r5172 | joergs | 2007-10-15 10:10:31 +0200 (Mo, 15 Okt 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.spec

bugfix: doc path
------------------------------------------------------------------------
r5100 | joergs | 2007-09-13 16:09:52 +0200 (Do, 13 Sep 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

performance improvements (svn ls)
------------------------------------------------------------------------
r5047 | joergs | 2007-09-05 10:19:02 +0200 (Mi, 05 Sep 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/doc/dasscm_howto.txt

updated usage desciption
------------------------------------------------------------------------
r4879 | joergs | 2007-07-16 15:55:29 +0200 (Mo, 16 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

added creation of permissions file in init. otherwise checkins will fail
------------------------------------------------------------------------
r4831 | joergs | 2007-07-03 16:55:06 +0200 (Di, 03 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/SOURCES
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/dasscm.spec
   D /trunk/technical/common/dasscm/dasscm_dumpperm
   M /trunk/technical/common/dasscm/doc/dasscm_howto.txt

added permission backup
------------------------------------------------------------------------
r4827 | joergs | 2007-07-03 14:10:55 +0200 (Di, 03 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm
   D /trunk/technical/common/dasscm/README
   M /trunk/technical/common/dasscm/SOURCES
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/dasscm.conf
   M /trunk/technical/common/dasscm/dasscm.spec
   D /trunk/technical/common/dasscm/doc/KonfigurationsManagement.txt
   A /trunk/technical/common/dasscm/doc/README (von /trunk/technical/common/dasscm/README:4826)
   M /trunk/technical/common/dasscm/doc/dasscm_howto.txt
   M /trunk/technical/common/dasscm/servers.dass-it

improvements, bugfixes
------------------------------------------------------------------------
r4826 | joergs | 2007-07-03 14:03:42 +0200 (Di, 03 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/README

Id hinzugefügt
------------------------------------------------------------------------
r4811 | joergs | 2007-07-03 09:25:53 +0200 (Di, 03 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm.conf

add example and explanation
------------------------------------------------------------------------
r4809 | joergs | 2007-07-02 18:07:00 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/SOURCES

beautified build process
------------------------------------------------------------------------
r4808 | joergs | 2007-07-02 18:06:04 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/SOURCES
   M /trunk/technical/common/dasscm/dasscm.spec

adapted to config file and removed dasscm_chkconf
------------------------------------------------------------------------
r4807 | joergs | 2007-07-02 18:01:28 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm
   D /trunk/technical/common/dasscm/dasscm_chkconf

migrated from dasscm_chkconf to dasscm status
------------------------------------------------------------------------
r4804 | joergs | 2007-07-02 17:17:18 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

perltidy
------------------------------------------------------------------------
r4803 | joergs | 2007-07-02 17:16:38 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   A /trunk/technical/common/dasscm/doc
   A /trunk/technical/common/dasscm/doc/KonfigurationsManagement.txt
   A /trunk/technical/common/dasscm/doc/dasscm_howto.txt

Dokomentation. veraltet. Vom LVermGeo übernommen
------------------------------------------------------------------------
r4802 | joergs | 2007-07-02 17:16:02 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   A /trunk/technical/common/dasscm/dasscm.conf

improvements. login, password caching, init, config file, perltidy
------------------------------------------------------------------------
r4801 | joergs | 2007-07-02 17:15:47 +0200 (Mo, 02 Jul 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/dasscm.spec

improvements. login, password caching, init, config file, perltidy
------------------------------------------------------------------------
r4747 | joergs | 2007-04-03 11:19:07 +0200 (Di, 03 Apr 2007) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm
   A /trunk/technical/common/sc_ldap_tools
   A /trunk/technical/common/sc_ldap_tools/SOURCES
   A /trunk/technical/common/sc_ldap_tools/sc_ldap_tools.spec
   A /trunk/technical/common/sc_ldap_tools/usr
   A /trunk/technical/common/sc_ldap_tools/usr/bin
   A /trunk/technical/common/sc_ldap_tools/usr/bin/ldap_move_repair.pl
   A /trunk/technical/common/sc_ldap_tools/usr/bin/ldif_unwrap.pl

initial
------------------------------------------------------------------------
r2876 | joergs | 2005-12-05 11:52:38 +0100 (Mo, 05 Dez 2005) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm_chkconf

removed question for copying files to repository, don't stop on deleted files
------------------------------------------------------------------------
r2875 | joergs | 2005-12-05 11:50:40 +0100 (Mo, 05 Dez 2005) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

experimental support for 'dasscm login'
------------------------------------------------------------------------
r2483 | joergs | 2004-12-16 18:45:11 +0100 (Do, 16 Dez 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/SOURCES
   M /trunk/technical/common/dasscm/dasscm
   M /trunk/technical/common/dasscm/dasscm.spec
   A /trunk/technical/common/dasscm/servers.dass-it

Bugfixes and Subversion server config
------------------------------------------------------------------------
r2463 | joergs | 2004-12-07 16:51:41 +0100 (Di, 07 Dez 2004) | 1 line
Geänderte Pfade:
   A /trunk/technical/common/dasscm/SOURCES

added SOURCES to svn
------------------------------------------------------------------------
r2461 | joergs | 2004-12-07 13:26:41 +0100 (Di, 07 Dez 2004) | 1 line
Geänderte Pfade:
   A /trunk/technical/common/dasscm/dasscm.spec

initial
------------------------------------------------------------------------
r2460 | joergs | 2004-12-07 13:06:58 +0100 (Di, 07 Dez 2004) | 1 line
Geänderte Pfade:
   D /trunk/technical/common/admin
   A /trunk/technical/common/dasscm/dasscm_chkconf (von /trunk/technical/common/admin/sc_chkconf.pl:2450)
   A /trunk/technical/common/dasscm/dasscm_dumpperm (von /trunk/technical/common/admin/savepermscvs.pl:2437)

moved all config related tools to dasscm
------------------------------------------------------------------------
r2459 | joergs | 2004-12-07 13:00:15 +0100 (Di, 07 Dez 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/README

entfernung veralteter Inofs
------------------------------------------------------------------------
r2458 | joergs | 2004-12-06 22:26:58 +0100 (Mo, 06 Dez 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

added comments. cleanup
------------------------------------------------------------------------
r2457 | joergs | 2004-12-06 17:42:11 +0100 (Mo, 06 Dez 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

add -m Option. Unified add and commit. svn update without --username to prevent that the password had to be typed every time
------------------------------------------------------------------------
r2451 | joergs | 2004-12-01 15:51:28 +0100 (Mi, 01 Dez 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

fixes no-auth-cache usage
------------------------------------------------------------------------
r2428 | joergs | 2004-11-17 22:20:26 +0100 (Mi, 17 Nov 2004) | 1 line
Geänderte Pfade:
   D /trunk/documentation/checklists
   D /trunk/documentation/planung-dokumentation-20021202-stephand.txt
   D /trunk/documentation/pricing_und_tco
   D /trunk/documentation/related
   D /trunk/documentation/technical/debeka/client
   D /trunk/documentation/technical/debeka/drucken
   D /trunk/documentation/technical/debeka/initrd
   D /trunk/documentation/technical/debeka/intern
   D /trunk/documentation/technical/debeka/ip_konzept
   D /trunk/documentation/technical/debeka/ldap
   D /trunk/documentation/technical/debeka/nfuse
   D /trunk/documentation/technical/debeka/richtlinien/Programming-Guide.tex
   D /trunk/documentation/technical/debeka/richtlinien/Template.pod
   D /trunk/documentation/technical/debeka/richtlinien/cvs-tags.txt
   D /trunk/documentation/technical/debeka/richtlinien/vorgehensweise.txt
   D /trunk/documentation/technical/debeka/schulung
   D /trunk/documentation/technical/debeka/server
   D /trunk/documentation/technical/debeka/todo
   A /trunk/documentation/technical/template/Programming-Guide.tex (von /trunk/documentation/technical/debeka/richtlinien/Programming-Guide.tex:2427)
   A /trunk/documentation/technical/template/programming
   D /trunk/documentation/user_management
   D /trunk/technical/README.SC-Release_02_00_Mahle_release_01_00
   A /trunk/technical/client/sc_print/config-aus-ldap.printer (von /trunk/documentation/technical/debeka/drucken/config-aus-ldap.printer:2427)
   M /trunk/technical/common/dasscm/dasscm

cleanup
------------------------------------------------------------------------
r2417 | joergs | 2004-11-11 13:30:36 +0100 (Do, 11 Nov 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

fixed comment
------------------------------------------------------------------------
r2416 | joergs | 2004-11-11 10:55:09 +0100 (Do, 11 Nov 2004) | 3 lines
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

add check for username.
bugfix: commit

------------------------------------------------------------------------
r2413 | joergs | 2004-11-10 09:53:48 +0100 (Mi, 10 Nov 2004) | 1 line
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

added help
------------------------------------------------------------------------
r2412 | joergs | 2004-11-09 22:20:14 +0100 (Di, 09 Nov 2004) | 2 lines
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

added Id prop

------------------------------------------------------------------------
r2411 | joergs | 2004-11-09 22:17:50 +0100 (Di, 09 Nov 2004) | 2 lines
Geänderte Pfade:
   M /trunk/technical/common/dasscm/dasscm

added diff, commit

------------------------------------------------------------------------
r2403 | joergs | 2004-11-01 21:10:49 +0100 (Mo, 01 Nov 2004) | 2 lines
Geänderte Pfade:
   A /trunk/technical/common/dasscm
   A /trunk/technical/common/dasscm/README
   A /trunk/technical/common/dasscm/dasscm

initial. add implemented

------------------------------------------------------------------------
