Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
baculafs
> baculafs.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File baculafs.spec of Package baculafs (Revision 2)
Currently displaying revision
2
,
show latest
# # spec file for package scout # # norootforbuild Name: baculafs Version: 0.1.4 Release: 1 Url: http://pypi.python.org/packages/source/B/BaculaFS/BaculaFS-%{version}.tar.gz License: GPL v2 or later Group: Development/Libraries/Python Summary: Bacula catalog and backup storage media as a read-only filesystem Source: BaculaFS-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-setuptools fuse-devel python-pexpect python-fuse Requires: python-mysql python-psycopg2 python-pexpect attr fuse Patch: BaculaFS.patch %py_requires %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} %endif %description BaculaFS is a tool, independent of Bacula, that represents the Bacula catalog and backup storage media as a read-only filesystem in userspace. %prep %setup -n BaculaFS-%{version} %patch -p1 %build export CFLAGS="%{optflags}" %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog # see baculafs.changes; `osc vc` can be used to edit the changelog.