1 %define pypi_name BaculaFS
2 Summary: Exposes the Bacula catalog and storage as a Filesystem in USErspace
7 Group: Networking/Utilities
8 Source0: https://pypi.python.org/packages/source/B/BaculaFS/%{pypi_name}-%{version}.tar.gz
9 # Source0-md5: 50dcca4d11eeaa98fe0382dfd58243db
10 URL: https://code.google.com/p/baculafs/
11 BuildRequires: rpmbuild(macros) >= 1.710
12 BuildRequires: python >= 1:2.6.6
13 BuildRequires: python-fuse >= 0.2.1
14 BuildRequires: python-pexpect >= 2.3
15 Requires: attr >= 2.4.44
17 Requires: libfuse >= 2.8.4
18 Requires: python >= 1:2.6.6
19 Requires: python-MySQLdb >= 1.2.2
20 Requires: python-fuse >= 0.2.1
21 Requires: python-pexpect >= 2.3-7
22 Requires: python-psycopg2 >= 2.0.13
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 BaculaFS is a tool, developed independently of Bacula, that represents
28 the Bacula catalog and backup storage media as a read-only filesystem
31 BaculaFS is specifically designed to cater for the following
33 - maintaining a remote snapshot of the files in the backup storage
34 using rsync or duplicity
35 - auditing the contents of backup jobs, without resorting to SQL
37 - comparing backup jobs (using several mount points)
39 Note that BaculaFS is a maintenance tool - its operation may interfere
40 with the normal operation of a live Bacula setup.
43 %setup -q -n %{pypi_name}-%{version}
45 # Remove bundled egg-info
46 %{__rm} -r %{pypi_name}.egg-info
52 rm -rf $RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/baculafs
64 %dir %{py_sitescriptdir}/baculafs
65 %{py_sitescriptdir}/baculafs/*.py[co]
66 %{py_sitescriptdir}/BaculaFS-%{version}-py*.egg-info