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

Annotation of /rpms/automysqlbackup/contribs10/automysqlbackup.spec

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


Revision 1.3 - (hide annotations) (download)
Mon Aug 15 12:55:51 2022 UTC (21 months, 2 weeks ago) by jcrisp
Branch: MAIN
CVS Tags: automysqlbackup-3_0_RC6-8_el7_sme, HEAD
Changes since 1.2: +9 -2 lines
* Mon Aug 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0-RC6-8
- Add skip-lock-tables to opts [SME: 11970]
- Bump esmith-release requires to 10

1 brianr 1.1 %define name automysqlbackup
2     %define version 3.0.RC6
3 jcrisp 1.3 %define release 8
4 brianr 1.1 %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 jcrisp 1.3 Requires: e-smith-base, e-smith-release >= 10
17 brianr 1.1 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 jcrisp 1.3 Patch2: automysqlbackup-3.0.RC6-bz11970-skip-lock-tables.patch
25 brianr 1.1
26     %description
27     This RPM is an unofficial addon for the SME Server 9.x.
28     The target audience is the Linux/E-smith administrator
29     who wants to backup their mysql databases with an automatic way.
30     This script is based on automysqlbackup V3.0
31    
32     %changelog
33 jcrisp 1.3 * Mon Aug 15 2022 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0-RC6-8
34     - Add skip-lock-tables to opts [SME: 11970]
35     - Bump esmith-release requires to 10
36    
37 brianr 1.2 * Mon Oct 19 2020 Brian Read <brianr@bjsystems.co.uk> 3.0-RC6-7
38     - Initial import to SME10 tree [SME: 11042]
39    
40 brianr 1.1 * Thu Nov 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.RC6-6
41     - Set backupdir if key is empty [SME: 10655]
42     - fix some build issues in spec file
43    
44     * Sat Aug 22 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-5
45     - First release to smecontribs
46    
47     * Sun Aug 17 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6-4
48     - added my own patch against the --events warning
49     --Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
50    
51     * Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3
52     - first release for sme9
53    
54     * Sun Oct 27 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 3.0.RC6.3
55     - split the contrib in two versions smeserver-automysqlbackup and automysqlbackup
56    
57     * Mon Apr 22 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
58     - [3.0.RC6] version Based on automysqlbackup V3.0 RC6
59    
60     * Mon Apr 08 2013 Stephane de Labrusse <stephdl@de-labrusse.fr>
61     - [0.01] Initial version Based on automysqlbackup V3.0 RC6
62    
63     %prep
64    
65     %setup -q -n %{name}-%{version}
66    
67     %patch1 -p1
68 jcrisp 1.3 %patch2 -p1
69    
70 brianr 1.1
71     %build
72     # add createlinks if required
73     # perl cratelinks
74    
75     %install
76     /bin/rm -rf $RPM_BUILD_ROOT
77     (cd root ;/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
78     /bin/rm -f %{name}-%{version}-filelist
79     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
80    
81    
82     %files -f %{name}-%{version}-filelist
83    
84     %defattr(-,root,root)
85    
86     %clean
87     rm -rf $RPM_BUILD_ROOT
88    
89     %pre
90    
91     %post
92    
93     %preun
94    
95     %postun
96    

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