[packages/obnam] new, version 1.6.1
glen
glen at pld-linux.org
Tue Jan 21 11:08:13 CET 2014
commit 132030b1f31a158209e5b18d4e7e5b4f66f4268d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 21 12:07:46 2014 +0200
new, version 1.6.1
based on fedora package
45228f874b87138cb8f0b8922a94ba4042f7754e
obnam.spec | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 106 insertions(+)
---
diff --git a/obnam.spec b/obnam.spec
new file mode 100644
index 0000000..feed908
--- /dev/null
+++ b/obnam.spec
@@ -0,0 +1,106 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+%bcond_with locktests # lock-dependent tests currently fail
+
+Summary: An easy, secure backup program
+Name: obnam
+Version: 1.6.1
+Release: 1
+License: GPL v3+
+Group: Networking/Utilities
+Source0: http://ftp.debian.org/debian/pool/main/o/obnam/%{name}_%{version}.orig.tar.gz
+# Source0-md5: fa6aaf0ad228662a6b73a19c5fae83f5
+URL: http://liw.fi/obnam/
+# build-time
+BuildRequires: attr-devel
+#BuildRequires: cmdtest
+#BuildRequires: genbackupdata
+#BuildRequires: python-coverage-test-runner
+#BuildRequires: python-devel
+#BuildRequires: summain
+# build- and run-time dependencies
+BuildRequires: attr
+BuildRequires: python-cliapp
+BuildRequires: python-larch
+#BuildRequires: python-paramiko
+BuildRequires: python-tracing
+#BuildRequires: python-ttystatus
+Requires: attr
+Requires: python-cliapp
+Requires: python-larch
+Requires: python-paramiko
+Requires: python-tracing
+Requires: python-ttystatus
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Obnam is an easy, secure backup program. Backups can be stored on
+local hard disks, or online via the SSH SFTP protocol. The backup
+server, if used, does not require any special software, on top of SSH.
+
+Some features that may interest you:
+ - Snapshot backups. Every generation looks like a complete snapshot,
+ so you don't need to care about full versus incremental backups, or
+ rotate real or virtual tapes.
+ - Data de-duplication, across files, and backup generations. If the
+ backup repository already contains a particular chunk of data, it will
+ be re-used, even if it was in another file in an older backup
+ generation. This way, you don't need to worry about moving around
+ large files, or modifying them.
+ - Encrypted backups, using GnuPG.
+
+Obnam can do push or pull backups, depending on what you need. You can
+run Obnam on the client, and push backups to the server, or on the
+server, and pull from the client over SFTP. However, access to live
+data over SFTP is currently somewhat limited and fragile, so it is not
+recommended.
+
+%prep
+%setup -q
+
+%if %{without locktests}
+# lock-dependent tests currently fails; need to debug
+for t in test-locking crash-test; do
+ mv $t{,.off}
+ ln -s /bin/true $t
+done
+%endif
+
+%build
+# run tests before build. it alters build dir
+# (use different build dirs?)
+%if %{with tests}
+./check
+%endif
+
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+# internal tests
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/obnamlib/*_tests.py*
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%attr(755,root,root) %{_bindir}/obnam*
+%{_mandir}/man1/obnam*.1*
+%{py_sitedir}/obnam-%{version}-py*.egg-info
+%{py_sitedir}/obnamlib/*.py[co]
+%attr(755,root,root) %{py_sitedir}/obnamlib/_obnam.so
+%dir %{py_sitedir}/obnamlib/plugins
+%{py_sitedir}/obnamlib/plugins/__init__.py[co]
+%{py_sitedir}/obnamlib/plugins/*_plugin.py[co]
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/obnam.git/commitdiff/132030b1f31a158209e5b18d4e7e5b4f66f4268d
More information about the pld-cvs-commit
mailing list