[duply] Import package.

Thomas Moschny thm at fedoraproject.org
Fri Jan 20 19:15:22 UTC 2012


commit 60f44fd5171555e4f586e43795ef139652c65959
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Fri Jan 20 20:14:50 2012 +0100

    Import package.

 .gitignore |    1 +
 duply.spec |   79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1f381d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/duply_1.5.5.4.tgz
diff --git a/duply.spec b/duply.spec
new file mode 100644
index 0000000..43b7169
--- /dev/null
+++ b/duply.spec
@@ -0,0 +1,79 @@
+Name:           duply
+Version:        1.5.5.4
+Release:        1%{?dist}
+Summary:        Wrapper for duplicity
+Group:          Applications/Archiving
+License:        GPLv2
+URL:            http://duply.net/
+Source0:        http://downloads.sourceforge.net/ftplicity/%{name}_%{version}.tgz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  txt2man >= 1.5.6
+Requires:       duplicity
+
+
+%description
+duply deals as a wrapper for the mighty duplicity magic. It simplifies
+running duplicity with cron or on command line by:
+
+- keeping recurring settings in profiles per backup job
+- enabling batch operations e.g. backup_verify_purge
+- executing pre/post scripts
+- precondition checking for flawless duplicity operation
+
+Since version 1.5.0 all duplicity backends are supported. Hence the
+name changed from ftplicity to duply.
+
+
+%prep
+%setup -q -n %{name}_%{version}
+iconv -f iso-8859-1 -t utf-8 %{name} > %{name}.tmp
+mv %{name}{.tmp,}
+
+
+%build
+# generate the man page
+chmod +x %{name}
+./%{name} txt2man > %{name}.1
+
+
+%install
+rm -rf %{buildroot}
+install -p -D -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
+install -p -D -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+# root's profiles will be stored there
+install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
+# fix shebang line
+sed -i "1c#!/bin/bash" %{buildroot}%{_bindir}/%{name}
+mv gpl-2.0.txt LICENSE
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%doc LICENSE
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+%dir %{_sysconfdir}/%{name}
+
+
+%changelog
+* Fri Nov 11 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.5.4-1
+- Update to 1.5.5.4.
+- Rename license file to LICENSE.
+- Remove %%defattr directive in %%files.
+
+* Tue Jul  5 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.5.1-1
+- Update to 1.5.5.1.
+
+* Tue May 10 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.5-1
+- Update to 1.5.5.
+- Generate and pack a man page.
+
+* Wed Feb 23 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.4.2-2
+- Convert duply script to UTF-8.
+
+* Thu Feb  3 2011 Thomas Moschny <thomas.moschny at gmx.de> - 1.5.4.2-1
+- New package.
diff --git a/sources b/sources
index e69de29..02d7edf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d72862e0294c50cd3a98249981d689c1  duply_1.5.5.4.tgz


More information about the scm-commits mailing list