[backupninja] backupninja: initial import (#1048963)

Denis Fateyev dfateyev at fedoraproject.org
Sat Jan 18 01:45:21 UTC 2014


commit a6eedf425e2bd0436c37808fb0e4020e599ee3b3
Author: Denis Fateyev <denis at fateyev.com>
Date:   Sat Jan 18 07:43:55 2014 +0600

    backupninja: initial import (#1048963)

 .gitignore       |    1 +
 backupninja.spec |   71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7a06107 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/backupninja-1.0.1.tar.gz
diff --git a/backupninja.spec b/backupninja.spec
new file mode 100644
index 0000000..888e743
--- /dev/null
+++ b/backupninja.spec
@@ -0,0 +1,71 @@
+
+Name:		backupninja
+Version:	1.0.1
+Release:	1%{?dist}
+Summary:	Lightweight, extensible backup system
+
+Group:		Applications/System
+License:	GPLv2
+URL:		https://labs.riseup.net/code/projects/backupninja
+Source0:	https://labs.riseup.net/code/attachments/download/275/backupninja-1.0.1.tar.gz
+
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch:	noarch
+
+Requires:	rdiff-backup
+Requires:	logrotate
+Requires:	cronie
+
+%description
+Backupninja allows you to coordinate system backup by dropping a few simple
+configuration files into /etc/backup.d/. Most programs you might use for making
+backups don't have their own configuration file format. Backupninja provides
+a centralized way to configure and schedule many different backup utilities.
+
+It allows for secure, remote, incremental file system backup (via rdiff-backup),
+compressed incremental data, backup system and hardware info, encrypted remote
+backups (via duplicity), safe backup of MySQL/PostgreSQL databases, subversion
+or trac repositories, burn CD/DVDs or create ISOs, incremental rsync with
+hard-linking.
+
+
+%prep
+%setup -q
+
+%build
+# put all script 'libs' into one dir
+%configure --libdir=%{_libexecdir}
+
+make %{?_smp_mflags}
+
+%install
+%if 0%{?el5}
+rm -rf %{buildroot}
+%endif
+make install DESTDIR=%{buildroot}
+mkdir -p -m 0750 %{buildroot}/%{_sysconfdir}/backup.d
+
+%if 0%{?el5}
+%clean
+rm -rf %{buildroot}
+%endif
+
+
+%files
+%defattr(-,root,root,-)
+%{_sbindir}/backupninja
+%{_sbindir}/ninjahelper
+%{_libexecdir}/backupninja
+%doc AUTHORS COPYING ChangeLog FAQ NEWS README TODO
+%config(noreplace) %{_sysconfdir}/backupninja.conf
+%config(noreplace) %{_sysconfdir}/cron.d/backupninja
+%config(noreplace) %{_sysconfdir}/logrotate.d/backupninja
+%dir %attr(0750,root,root )%{_sysconfdir}/backup.d
+%{_datadir}/backupninja
+%{_mandir}/man1/*.1*
+%{_mandir}/man5/*.5*
+
+
+%changelog
+* Thu Jan 16 2014 Denis Fateyev <denis at fateyev.com> - 1.0.1-1
+- Initial Fedora RPM package
diff --git a/sources b/sources
index e69de29..c68f4d7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+afd80afa50faa79e721f77913741c31a  backupninja-1.0.1.tar.gz


More information about the scm-commits mailing list