/[smecontribs]/rpms/automysqlbackup/contribs9/automysqlbackup.spec
ViewVC logotype

Contents of /rpms/automysqlbackup/contribs9/automysqlbackup.spec

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


Revision 1.3 - (show annotations) (download)
Thu Nov 29 10:51:26 2018 UTC (5 years, 11 months ago) by jcrisp
Branch: MAIN
CVS Tags: automysqlbackup-3_0_RC6-6_el6_sme, HEAD
Changes since 1.2: +19 -8 lines
* Thu Nov 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-6
- Set backupdir if key is empty [SME: 10655]
- fix some build issues in spec file

1 %define name automysqlbackup
2 %define version 3.0.RC6
3 %define release 6
4 %define rpmver 3.0.RC6
5
6 Summary: automysqlbackup is a script to backup your msql database on sme8
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: /Web/Application
12 Source: %{name}-%{version}.tar.gz
13 URL: http://sourceforge.net/projects/automysqlbackup/
14 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15 BuildArchitectures: noarch
16 Requires: e-smith-base, e-smith-release >= 9
17 BuildRequires: e-smith-devtools
18
19 # This patch is in CVS but was actually added to the script
20 # and is not required so please ignore it
21 # automysqlbackup-3.0.RC6.specify-event-options.patch
22
23 Patch1: automysqlbackup-3.0.RC6.set-backup-dir.patch
24
25 %description
26 This RPM is an unofficial addon for the SME Server 9.x.
27 The target audience is the Linux/E-smith administrator
28 who wants to backup their mysql databases with an automatic way.
29 This script is based on automysqlbackup V3.0
30
31 %changelog
32 * Thu Nov 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-6
33 - Set backupdir if key is empty [SME: 10655]
34 - fix some build issues in spec file
35
36 * Sat Aug 22 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-5
37 - First release to smecontribs
38
39 * Sun Aug 17 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-4
40 - added my own patch against the --events warning
41 --Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
42
43 * Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3
44 - first release for sme9
45
46 * Sun Oct 27 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3
47 - split the contrib in two versions smeserver-automysqlbackup and automysqlbackup
48
49 * Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
50 - [3.0.RC6] version Based on automysqlbackup V3.0 RC6
51
52 * Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
53 - [0.01] Initial version Based on automysqlbackup V3.0 RC6
54
55 %prep
56
57 %setup -q -n %{name}-%{version}
58
59 %patch1 -p1
60
61 %build
62 # add createlinks if required
63 # perl cratelinks
64
65 %install
66 /bin/rm -rf $RPM_BUILD_ROOT
67 (cd root ;/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
68 /bin/rm -f %{name}-%{version}-filelist
69 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
70
71
72 %files -f %{name}-%{version}-filelist
73
74 %defattr(-,root,root)
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %pre
80
81 %post
82
83 %preun
84
85 %postun
86

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