]> git.pld-linux.org Git - packages/baculafs.git/blame - baculafs.spec
- release 2 (by relup.sh)
[packages/baculafs.git] / baculafs.spec
CommitLineData
84b8608b
ER
1%define pypi_name BaculaFS
2Summary: Exposes the Bacula catalog and storage as a Filesystem in USErspace
3Name: baculafs
4Version: 0.1.7
694827b6 5Release: 2
84b8608b
ER
6License: GPL v3+
7Group: Networking/Utilities
8Source0: https://pypi.python.org/packages/source/B/BaculaFS/%{pypi_name}-%{version}.tar.gz
9# Source0-md5: 50dcca4d11eeaa98fe0382dfd58243db
10URL: https://code.google.com/p/baculafs/
49efd102 11BuildRequires: rpmbuild(macros) >= 1.710
84b8608b
ER
12BuildRequires: python >= 1:2.6.6
13BuildRequires: python-fuse >= 0.2.1
14BuildRequires: python-pexpect >= 2.3
15Requires: attr >= 2.4.44
16Requires: bacula-sd
17Requires: libfuse >= 2.8.4
18Requires: python >= 1:2.6.6
19Requires: python-MySQLdb >= 1.2.2
20Requires: python-fuse >= 0.2.1
21Requires: python-pexpect >= 2.3-7
22Requires: python-psycopg2 >= 2.0.13
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27BaculaFS is a tool, developed independently of Bacula, that represents
28the Bacula catalog and backup storage media as a read-only filesystem
29in userspace.
30
31BaculaFS is specifically designed to cater for the following
32use-cases:
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
36 queries
37- comparing backup jobs (using several mount points)
38
39Note that BaculaFS is a maintenance tool - its operation may interfere
40with the normal operation of a live Bacula setup.
41
42%prep
43%setup -q -n %{pypi_name}-%{version}
44
45# Remove bundled egg-info
46%{__rm} -r %{pypi_name}.egg-info
47
48%build
5866406f 49%py_build
84b8608b
ER
50
51%install
52rm -rf $RPM_BUILD_ROOT
5866406f 53%py_install
84b8608b
ER
54
55%py_postclean
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
62%doc README.rst
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
This page took 0.062505 seconds and 4 git commands to generate.