File fuse-boxfs.spec of Package fuse-boxfs
Name: fuse-boxfs
Version: 0.6
Release: 0
Summary: FUSE-based Filesystem to access Files stored on a box.net Account
Source: http://boxfs.googlecode.com/files/boxfs-%{version}.tgz
Patch1: fuse-boxfs-makefile.patch
Patch2: fuse-boxfs-intptr_t.patch
Patch3: fuse-boxfs-fix_missing_return_in_nonvoid_function.patch
URL: http://code.google.com/p/boxfs/
Group: System/Filesystems
License: GPL-2.0
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: fuse-devel
BuildRequires: libxml2-devel
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1030
BuildRequires: curl-devel
%else
BuildRequires: libcurl-devel
%endif
BuildRequires: gcc make glibc-devel pkgconfig
%description
boxfs is a FUSE-based filesystem that lets you mount your box.net account to a
local directory.
Box.net is a web service that offers storage accessible with a web interface,
more info here http://www.box.net.
Authors:
--------
Domenico Rotiroti <pinguino@thesaguaros.com>
%prep
%setup -q -n "boxfs-%{version}"
%patch1
%patch2
%patch3
%build
make %{?_smp_mflags} \
CC="%__cc" \
OPTFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64" \
PREFIX="%{_prefix}"
%install
%makeinstall PREFIX="%{_prefix}"
%files
%defattr(-,root,root)
%doc COPYING README
%{_bindir}/boxfs
%changelog