/[smeserver]/rpms/e-smith-flexbackup/sme7/e-smith-flexbackup.spec
ViewVC logotype

Annotation of /rpms/e-smith-flexbackup/sme7/e-smith-flexbackup.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Feb 27 18:26:14 2008 UTC (16 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-flexbackup-1_10_0-3_el4_sme
Remove version from spec

1 slords 1.1 Summary: Adds daily flexbackup backup to tape to e-smith
2     %define name e-smith-flexbackup
3     Name: %{name}
4     %define version 1.10.0
5     %define release 3
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GPL
9     Group: Networking/Daemons
10     Source: %{name}-%{version}.tar.gz
11     Patch0: e-smith-flexbackup-1.10.0-no_fsf.patch
12     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13     BuildArchitectures: noarch
14     Requires: e-smith-base, flexbackup, dump
15     Requires: buffer
16     Requires: mbuffer
17     Requires: tar
18     Requires: gzip
19     Requires: e-smith-backup >= 1.11.0-46
20     Requires: e-smith-lib >= 1.15.1-19
21     BuildRequires: e-smith-devtools >= 1.13.1-03
22     AutoReqProv: no
23    
24     %description
25     This package configures flexbackup and sets up a daily cron job
26     to run a backup to tape.
27    
28     %changelog
29     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
30     - Clean up spec so package can be built by koji/plague
31    
32     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
33     - Update to new release naming. No functional changes.
34     - Make Packager generic
35    
36     * Thu Apr 20 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-02
37     - Remove redundant "mt fsf" from DetermineBlocksize(). [SME: 1191]
38    
39     * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.10.0-01
40     - Roll stable stream version. [SME: 1016]
41    
42     * Mon Jan 23 2006 Charlie Brady <charlieb@e-smith.com> 1.9.0-18
43     - Fix spelling of blksize parameter when running flexbackup to restore.
44     [SME: 375]
45    
46     * Sun Jan 22 2006 Charlie Brady <charlieb@e-smith.com> 1.9.0-17
47     - Fix some perl warnings from last change. [SME: 375]
48    
49     * Sun Jan 8 2006 Charlie Brady <charlieb@e-smith.com> 1.9.0-16
50     - Autodetect tape block size and use that when extracting files, rather
51     that what is in flexbackup.conf [SME: 375]
52    
53     * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-15
54     - Avoid the use of mt tell - use mt status instead [SME: 320]
55    
56     * Sat Dec 17 2005 Charlie Brady <charlieb@e-smith.com> 1.9.0-14
57     - Remove attempted autdetection of backup type, since it doesn't
58     work. [SME: 340]
59    
60     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.9.0-13
61     - Bump release number only
62    
63     * Sun Nov 20 2005 Gordon Rowell <gordonr@e-smith.com>
64     - [1.9.0-12]
65     - Output nothing (not '0') when there is no prune list [SF: 1360696]
66    
67     * Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com>
68     - [1.9.0-11]
69     - Allow a Prune property to specify a list of subtrees which are
70     not included in the backup. [SF: 1332834]
71    
72     * Thu Oct 20 2005 Charlie Brady <charlieb@e-smith.com>
73     - [1.9.0-10]
74     - Don't bother to backup /boot partition, as we never restore it
75     anyway. We expect it all to be installed via CDROM or as part of
76     an upgrade. [SF: 1332834]
77    
78     * Tue Aug 9 2005 Charlie Brady <charlieb@e-smith.com>
79     - [1.9.0-09]
80     - Make buffer program to use configurable via a db property -
81     default to 'buffer'.
82     - Add Requires: mbuffer [SF: 1252345]
83    
84     * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
85     - [1.9.0-08]
86     - Update to current db access APIs. [SF: 1216546]
87    
88     * Thu Jun 2 2005 Charlie Brady <charlieb@e-smith.com>
89     - [1.9.0-07]
90     - Fix missing semi-colon on erase_rewind_only line in conf.
91     [SF: 1192822,1213076]
92     - Adjust some default params. [SF: 1213076]
93    
94     * Sat Apr 30 2005 Charlie Brady <charlieb@e-smith.com>
95     - [1.9.0-06]
96     - Fix quoting of erase_rewind_only value [SF: 1192822]
97    
98     * Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com>
99     - [1.9.0-05]
100     - Fix stray } in 10EraseRwindOnly template fragment (introduced in last
101     change set).
102    
103     * Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com>
104     - [1.9.0-04]
105     - Use generic_template_expand action in place of conf-flexbackup.
106     Add default db property fragments. Update e-smith-lib dependency. [MN00064130]
107     - Simplify flexbackup.conf template, and remove anachronisms.
108    
109     * Fri Jan 28 2005 Charlie Brady <charlieb@e-smith.com>
110     - [1.9.0-03]
111     - Remove dangling clobber-flexbackup-cron symlink. [MN00065727]
112    
113     * Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
114     - [1.9.0-02]
115     - Remove obsolete clobber-flexbackup-cron action. [MN00065727]
116    
117     * Sun Jan 16 2005 Charlie Brady <charlieb@e-smith.com>
118     - [1.9.0-01]
119     - Changing version to development stream number - 1.9.0
120    
121     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
122     - [1.8.0-01]
123     - Changing version to stable stream number to 1.8.0
124    
125     * Thu Jun 19 2003 Charlie Brady <charlieb@e-smith.com>
126     - [1.7.1-07]
127     - Enable buffering using "buffer" rather than "mbuffer". [charlieb 9053]
128    
129     * Wed Jun 18 2003 Charlie Brady <charlieb@e-smith.com>
130     - [1.7.1-06]
131     - Autodetect tar/dump at restore time and DTRT. [charlieb 8965]
132     - Disable buffering during restore. [charlieb 9053]
133    
134     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
135     - [1.7.1-05]
136     - Change default backup type from dump to tar. Allow override from config
137     db. [charlieb 8965]
138    
139     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
140     - [1.7.1-04]
141     - Fix quoting error in 10Blocksize fragment, and split concepts of blocking
142     for archive and blocking for tape drive, as latest flexbackup has done.
143     [charlieb 9014]
144    
145     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
146     - [1.7.1-03]
147     - Add tape-backup-flexbackup action, which will be used by
148     /sbin/e-smith/do_backup harness. Remove remnant of templated backup
149     program. [charlieb 7853]
150     - Set $verbose to false, so we don't get list of all files as we backup.
151     [charlieb 8965]
152    
153     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
154     - [1.7.1-02]
155     - Port configuration to newest version of flexbackup. [charlieb 9014]
156     - s/Copyright/License/.
157    
158     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
159     - [1.7.1-01]
160     - Roll new development stream to 1.7.1
161    
162     * Thu Jun 12 2003 Charlie Brady <charlieb@e-smith.com>
163     - [1.7.0-04]
164     - Allow blocksize to be controlled by a db parameter. [charlieb 9017]
165    
166     * Fri May 16 2003 Gordon Rowell <gordonr@e-smith.com>
167     - [1.7.0-03]
168     - Modified tape-restore-flexbackup to use esmith::Backup library [gordonr 8766]
169    
170     * Wed Apr 16 2003 Tony Clayton <apc@e-smith.com>
171     - [1.7.0-02]
172     - Skip loopback filesystems during backup [tonyc 7749]
173    
174     * Wed Nov 6 2002 Charlie Brady <charlieb@e-smith.com>
175     - [1.7.0-01]
176     - Rolling development stream version to 1.7.0
177    
178     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
179     - [1.6.0-01]
180     - Roll to maintained version number to 1.6.0
181    
182     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
183     - [1.6.0-01]
184     - Roll to maintained version number to 1.6.0
185    
186     * Fri Aug 9 2002 Charlie Brady <charlieb@e-smith.com>
187     - [1.5.2-01]
188     - Redo last fix, something's awry with my pattern match, so we'll use a
189     pair of eqs instead. [charlieb 4588]
190    
191     * Fri Aug 9 2002 Charlie Brady <charlieb@e-smith.com>
192     - [1.5.1-01]
193     - Change fstab grok in flexbackup.conf template to handle ext3 file
194     systems. [charlieb 4588]
195    
196     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
197     - [1.5.0-01]
198     - Changing version to maintained stream number to 1.5.0
199    
200     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
201     - [1.4.0-01]
202     - Changing version to maintained stream number to 1.4.0
203     - Remove bogus "/sbin/console" reference in copyright notice in
204     tape restore script.
205    
206     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
207     - [1.3.3-01]
208     - RPM rebuild forced by cvsroot2rpm
209    
210     * Sun Mar 17 2002 Charlie Brady <charlieb@e-smith.com>
211     - [1.3.2-01]
212     - Restore /root rather than just /root/.ssh. [charlieb #2322]
213    
214     * Sun Mar 17 2002 Charlie Brady <charlieb@e-smith.com>
215     - [1.3.1-01]
216     - Test build to verify CVS conversion.
217    
218     * Sun Mar 17 2002 Charlie Brady <charlieb@e-smith.com>
219     - [1.3.0-01]
220     - rollRPM: Rolled version number to 1.3.0-01. Includes patches up to 1.2.0-08.
221     - Add mkdir command to create event directories to %pre section, in preparation
222     for CVS conversion.
223     - Remove obsolete %post script.
224    
225     * Fri Nov 02 2001 Charlie Brady <charlieb@e-smith.com>
226     - [1.2.0-08]
227     - Remove all comments from /etc/flexbackup.conf
228    
229     * Fri Aug 17 2001 gordonr
230     - [1.2.0-07]
231     - Autorebuild by rebuildRPM
232    
233     * Fri Jul 6 2001 Peter Samuel <peters@e-smith.com>
234     - [1.2.0-06]
235     - Changed license to GPL
236    
237     * Mon Feb 12 2001 Adrian Chung <adrianc@e-smith.com>
238     - [1.2.0-05]
239     - rolling release number for GPG signing.
240    
241     * Sun Feb 11 2001 Charlie Brady <charlieb@e-smith.com>
242     - [1.2.0-04]
243     - Include etc/e-smith/templates-user-custom in restore fileset.
244    
245     * Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com>
246     - Rolling release number for GPG signing.
247    
248     * Thu Feb 8 2001 Peter Samuel <peters@e-smith.com>
249     - [1.2.0-02]
250     - Using correct path for /flexbackup.extract.log in email messages.
251    
252     * Thu Jan 25 2001 Peter Samuel <peters@e-smith.com>
253     - [1.2.0-01]
254     - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-10.
255    
256     * Wed Jan 24 2001 Peter Samuel <peters@e-smith.com>
257     - [1.1.0-10]
258     - Removed duplicated filesystem code from 10Compression template fragment
259    
260     * Tue Jan 23 2001 Peter Samuel <peters@e-smith.com>
261     - [1.1.0-09]
262     - Forced padding of blocks when writing to tapes
263    
264     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
265     - [1.1.0-08]
266     - revised order of files to restore - doesn't really make any
267     difference, but it keeps it consistent with e-smith-backup
268    
269     - [1.1.0-07]
270     - added missing use esmith::db to tape-restore-flexbackup
271    
272     * Sat Jan 13 2001 Peter Samuel <peters@e-smith.com>
273     - [1.1.0-06]
274     - tape-restore-flexbackup now send mail to admin on success or failure
275    
276     * Fri Jan 12 2001 Peter Samuel <peters@e-smith.com>
277     - [1.1.0-05]
278     - Added flexbackup specific tape-restore program (ripped out of
279     e-smith-backup).
280     - Removes /etc/cron.d/flexbackup as part of bootstrap-console-save
281     - Createlinks is now a perl program.
282    
283     * Fri Jan 12 2001 Charlie Brady <charlieb@e-smith.com>
284     - [1.1.0-4]
285     - Fix silly syntax errors in template
286     - Migrate old flexbackup service entry to new.
287    
288     * Fri Jan 12 2001 Charlie Brady <charlieb@e-smith.com>
289     - [1.1.0-3]
290     - Make e-smith-flexbackup a subpackage of e-smith-backup
291     - Provide a template fragment for /sbin/e-smith/backup
292     - Use Device property of backup service.
293     - Mark flexbackup as a backupservice, not a service.
294     - Add link into bootstrap-console-save and conf-backup events
295    
296     * Thu Jan 11 2001 Peter Samuel <peters@e-smith.com>
297     - [1.1.0-02]
298     - Ensured that /sbin is included in $PATH for flexbackup cron job
299    
300     * Tue Jan 9 2001 Peter Samuel <peters@e-smith.com>
301     - [1.1.0-01]
302     - Rolled version number to 1.1.0-01. Includes patches upto 0.1-11
303    
304     * Mon Jan 8 2001 Peter Samuel <peters@e-smith.com>
305     - [0.1-11]
306     - Cron job now rewinds the tape after the backup
307    
308     * Sat Jan 6 2001 Jason Miller <jmiller@e-smith.com>
309     - [0.1-9]
310     - updated /etc/cron.d/flexbackup template and the conf-flexbackup
311     actions to include new configuration database parameters
312     of backupTime and reminderTime
313    
314     * Sat Jan 6 2001 Charlie Brady <charlieb@e-smith.com>
315     - [0.1-8]
316     - Only run %post sript when in runlevel 7
317    
318     * Wed Jan 3 2001 Peter Samuel <peters@e-smith.com>
319     - [0.1-7]
320     - Added use esmith::db to /etc/cron.d/flexbackup template
321    
322     * Wed Dec 27 2000 Peter Samuel <peters@e-smith.com>
323     - [0.1-6]
324     - Crontab entry now uses mt to check for presence of tape before
325     running flexbackup.
326     - A reminder is mailed to root if there is no tape in the drive at 2pm.
327    
328     * Thu Dec 14 2000 Charlie Brady <charlieb@e-smith.com>
329     - Move crontab entry to /etc/cron.d
330     - Make device and erase_backup_only configurable.
331     - make this a service in the configuration db, by default service is
332     disabled.
333    
334     * Tue Dec 12 2000 Charlie Brady <charlieb@e-smith.com>
335     - Make flexbackup.conf a directory template
336     - Tweak a few settings - see patch for details.
337    
338     * Mon May 22 2000 Charlie Brady <charlieb@e-smith.net>
339     - Generate file system list from /etc/fstab
340     - Fix missing %conf declaration in action script
341    
342     * Mon May 22 2000 Charlie Brady <charlieb@e-smith.net>
343     - Fix spec file to include all relevant files
344     - Fix post script : cron -> crond
345    
346     * Sun May 14 2000 Charlie Brady <charlieb@e-smith.net>
347     - Initial build
348    
349     %prep
350     %setup
351     %patch0 -p1
352    
353     %build
354     perl createlinks
355    
356     %install
357     rm -rf $RPM_BUILD_ROOT
358     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
359     rm -f %{name}-%{version}-%{release}-filelist
360     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
361     > %{name}-%{version}-%{release}-filelist
362     echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
363    
364     %post
365     rm -f /etc/cron.d/flexbackup
366    
367     %clean
368     rm -rf $RPM_BUILD_ROOT
369    
370     %files -f %{name}-%{version}-%{release}-filelist
371     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed