File: slack.spec

package info (click to toggle)
slack 0.15.2-5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 412 kB
  • sloc: perl: 2,510; makefile: 132; sh: 23
file content (152 lines) | stat: -rw-r--r-- 4,492 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
Name:		slack
Version:	0.15.2
Release:	1
Summary:	slack configuration management tool
Group:		System Environment/Libraries
License:	GPL
URL:		http://www.sundell.net/~alan/projects/slack/
Source0:	http://www.sundell.net/~alan/projects/slack/%{name}-%{version}.tar.gz
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
Requires:	rsync >= 2.6.0


%description
configuration management program for lazy admins

slack tries to allow centralized configuration management with a bare minimum
of effort.  Usually, just putting a file in the right place will cause the
right thing to be done.  It uses rsync to copy files around, so can use any
sort of source (NFS directory, remote server over SSH, remote server over
rsync) that rsync supports.


%prep
%setup -q


%build
make


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}
%makeinstall libexecdir=%{buildroot}/%{_libdir}


%clean
rm -rf %{buildroot}


%files
%defattr(644,root,root)
%config %{_sysconfdir}/slack.conf
%doc ChangeLog CREDITS COPYING README FAQ TODO doc/slack-intro
%{_mandir}/man1/slack-diff.1.gz
%{_mandir}/man5/slack.conf.5.gz
%{_mandir}/man8/slack.8.gz
%defattr(755,root,root)
%{_bindir}/slack-diff
%{_sbindir}/slack
%{_libdir}/slack
%defattr(0700,root,root)
%{_localstatedir}/lib/slack
%{_localstatedir}/cache/slack

%preun
if [ $1 = 0 ] ; then
    . /etc/slack.conf
    rm -rf "$CACHE"/*
    rm -rf "$STAGE"
fi

%changelog
* Sun Apr 20 2008 Alan Sundell <sundell@gmail.com> 0.15.2-1
- New upstream source (see ChangeLog).
    packaging fixes

* Sat Jan 19 2008 Alan Sundell <alan@sundell.net> 0.15.1-1
- New upstream source (see ChangeLog).
    performance improvement for slack-sync

* Mon Jan 14 2008 Alan Sundell <alan@sundell.net> 0.15.0-1
- New upstream source (see ChangeLog).
    three new options:
      --sleep SECS  (random sleep for crontabs)
      --rsh COMMAND (instead of default ssh; will replace :: syntax in future)
      --version     (print version)
    numerous packaging and installation fixes

* Thu Nov 14 2006 David Lowry <dlowry@bju.edu> 0.14.1-2
- Spec file changes

* Sun Nov 05 2006 Alan Sundell <alan@sundell.net> 0.14.1-1
- New upstream source (see ChangeLog).
    fixes bugs in rsync invocation in slack-getroles

* Thu Oct 12 2006 Alan Sundell <alan@sundell.net> 0.14.0-1
- New upstream source (see ChangeLog).
    new --preview option

* Wed Feb 09 2005 Alan Sundell <alan@sundell.net> 0.13.2-1
- New upstream source (see ChangeLog).
    allows non-existent files dir

* Sat Jan 08 2005 Alan Sundell <alan@sundell.net> 0.13.1-1
- New upstream source (see ChangeLog).
    adds unit tests
    slack-runscript mentions when it skips a non-executable script
        when --verbose is on
    fix bug causing undefined subroutine reference when a backend failed

* Wed Dec 22 2004 Alan Sundell <alan@sundell.net> 0.13-1
- new upstream source (see ChangeLog)
    adds --hostname, --no-sync, --libexec-dir options
    exports root, stage, hostname, verbose to script
        environment
    minor fixes for bugs introduced in 0.12.2

* Tue Dec 21 2004 Alan Sundell <alan@sundell.net> 0.12.2-1
- new upstream source (see ChangeLog)
    moves functions into common library Slack.pm

* Tue Dec 21 2004 Alan Sundell <alan@sundell.net> 0.12.1-1
- new upstream source (see ChangeLog)
    fixes bug introduced in 0.11-1 that broke backups

* Fri Dec 03 2004 Alan Sundell <alan@sundell.net> 0.12-1
- new upstream source (see ChangeLog)
    swap preinstall and fixfiles in order of operations

* Thu Nov 11 2004 Alan Sundell <alan@sundell.net> 0.11-1
- new upstream source (see ChangeLog)
    add --no-files and --no-scripts options

* Fri Oct 29 2004 Alan Sundell <alan@sundell.net> 0.10.2-1
- new upstream source (see ChangeLog)
    use the full role name in the stage

* Fri Oct 29 2004 Alan Sundell <alan@sundell.net> 0.10.1-1
- new upstream source (see ChangeLog)
    minor code cleanups

* Fri Oct 22 2004 Alan Sundell <alan@sundell.net> 0.10-1
- new upstream source (see ChangeLog)
    adds a new "staging" step, which elimates the need for .keepme~ files

* Fri Aug 13 2004 Alan Sundell <alan@sundell.net> 0.7-1
- new upstream source

* Sun Jul 18 2004 Alan Sundell <alan@sundell.net> 0.6-1
- new upstream source

* Sat Jul 17 2004 Alan Sundell <alan@sundell.net> 0.5-1
- new upstream source

* Thu Jul 01 2004 Alan Sundell <alan@sundell.net> 0.4-1
- new upstream source

* Mon May 24 2004 Alan Sundell <alan@sundell.net> 0.1-1
- initial version