[mylvmbackup/el6] Initial SETUP.
Christopher Meng
cicku at fedoraproject.org
Wed Jul 16 00:58:24 UTC 2014
commit 9ac8d12c7fd8db2533e2cbe46e5164cfbfe66dda
Author: Christopher Meng <i at cicku.me>
Date: Wed Jul 16 08:52:48 2014 +0800
Initial SETUP.
.gitignore | 1 +
mylvmbackup.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..286d35d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mylvmbackup-0.15.tar.gz
diff --git a/mylvmbackup.spec b/mylvmbackup.spec
new file mode 100644
index 0000000..5653351
--- /dev/null
+++ b/mylvmbackup.spec
@@ -0,0 +1,65 @@
+Name: mylvmbackup
+Version: 0.15
+Release: 2%{?dist}
+Summary: Utility for creating MySQL backups via LVM snapshots
+License: GPLv2+
+URL: http://www.lenzg.net/mylvmbackup/
+Source0: http://www.lenzg.net/%{name}/%{name}-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl-podlators
+BuildRequires: perl(Config::IniFiles)
+BuildRequires: perl(Date::Format)
+BuildRequires: perl(DBD::mysql)
+BuildRequires: perl(DBI)
+BuildRequires: perl(diagnostics)
+BuildRequires: perl(Fcntl)
+BuildRequires: perl(File::Basename)
+BuildRequires: perl(File::Copy::Recursive)
+BuildRequires: perl(File::Path)
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Getopt::Long)
+BuildRequires: perl(lib)
+BuildRequires: perl(MIME::Lite)
+BuildRequires: perl(strict)
+BuildRequires: perl(Sys::Hostname)
+BuildRequires: perl(Sys::Syslog)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+mylvmbackup is a tool for quickly creating full physical backups of a MySQL
+server's data files. To perform a backup, mylvmbackup obtains a read lock on
+all tables and flushes all server caches to disk, makes an LVM snapshot of
+the volume containing the MySQL data directory, and unlocks the tables again.
+The snapshot process takes only a small amount of time. When it is done, the
+server can continue normal operations, while the actual file backup proceeds.
+
+%prep
+%setup -q
+
+%install
+%make_install prefix=%{_prefix}
+rm -frv %{buildroot}%{_datadir}/%{name}/*
+
+%check
+make syntaxcheck
+
+%files
+%doc ChangeLog COPYING CREDITS README TODO
+%doc hooks/*
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+%{_mandir}/man1/%{name}.1*
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+
+%changelog
+* Mon Jul 14 2014 Christopher Meng <rpm at cicku.me> - 0.15-2
+- Add missing BRs
+- Fix the license
+- Add test to ensure the usability
+
+* Sun Mar 16 2014 Christopher Meng <rpm at cicku.me> - 0.15-1
+- Update to 0.15
+
+* Tue Jun 25 2013 Christopher Meng <rpm at cicku.me> - 0.14-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..cc011e3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+57bfdc44bb34919386e68f0bfd95e5e6 mylvmbackup-0.15.tar.gz
More information about the scm-commits
mailing list