[packages/baculafs] new, version 0.1.7
glen
glen at pld-linux.org
Sun Aug 18 15:57:54 CEST 2013
commit 84b8608bf440a79ae86558e55552a1fceb69eb53
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 18 16:57:35 2013 +0300
new, version 0.1.7
baculafs.spec | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
---
diff --git a/baculafs.spec b/baculafs.spec
new file mode 100644
index 0000000..8b46f96
--- /dev/null
+++ b/baculafs.spec
@@ -0,0 +1,68 @@
+%define pypi_name BaculaFS
+Summary: Exposes the Bacula catalog and storage as a Filesystem in USErspace
+Name: baculafs
+Version: 0.1.7
+Release: 1
+License: GPL v3+
+Group: Networking/Utilities
+Source0: https://pypi.python.org/packages/source/B/BaculaFS/%{pypi_name}-%{version}.tar.gz
+# Source0-md5: 50dcca4d11eeaa98fe0382dfd58243db
+URL: https://code.google.com/p/baculafs/
+BuildRequires: python >= 1:2.6.6
+BuildRequires: python-fuse >= 0.2.1
+BuildRequires: python-pexpect >= 2.3
+Requires: attr >= 2.4.44
+Requires: bacula-sd
+Requires: libfuse >= 2.8.4
+Requires: python >= 1:2.6.6
+Requires: python-MySQLdb >= 1.2.2
+Requires: python-fuse >= 0.2.1
+Requires: python-pexpect >= 2.3-7
+Requires: python-psycopg2 >= 2.0.13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BaculaFS is a tool, developed independently of Bacula, that represents
+the Bacula catalog and backup storage media as a read-only filesystem
+in userspace.
+
+BaculaFS is specifically designed to cater for the following
+use-cases:
+- maintaining a remote snapshot of the files in the backup storage
+ using rsync or duplicity
+- auditing the contents of backup jobs, without resorting to SQL
+ queries
+- comparing backup jobs (using several mount points)
+
+Note that BaculaFS is a maintenance tool - its operation may interfere
+with the normal operation of a live Bacula setup.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+# Remove bundled egg-info
+%{__rm} -r %{pypi_name}.egg-info
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%attr(755,root,root) %{_bindir}/baculafs
+%dir %{py_sitescriptdir}/baculafs
+%{py_sitescriptdir}/baculafs/*.py[co]
+%{py_sitescriptdir}/BaculaFS-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/baculafs.git/commitdiff/84b8608bf440a79ae86558e55552a1fceb69eb53
More information about the pld-cvs-commit
mailing list