Created
July 25, 2011 02:52
-
-
Save thekad/1103466 to your computer and use it in GitHub Desktop.
s3fs.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: s3fs | |
Version: 1.58 | |
Release: 1%{?dist} | |
Summary: FUSE-based file system backed by Amazon S3 | |
License: GPLv2 | |
URL: http://code.google.com/p/s3fs | |
Source0: http://s3fs.googlecode.com/files/%{name}-%{version}.tar.gz | |
Source1: passwd-s3fs | |
BuildRequires: fuse-devel, libcurl-devel, libxml2-devel, openssl-devel | |
Conflicts: fuse-s3fs | |
%description | |
s3fs is a FUSE filesystem that allows you to mount an Amazon S3 bucket as a | |
local filesystem. It stores files natively and transparently in S3 (i.e., | |
you can use other programs to access the same files). Maximum file size=64GB | |
(limited by s3fs, not Amazon). | |
. | |
s3fs is stable and is being used in number of production environments, e.g., | |
rsync backup to s3. | |
%prep | |
%setup -q | |
%build | |
%configure | |
make %{?_smp_mflags} | |
%install | |
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} | |
rm -rf %{buildroot} | |
make install DESTDIR=%{buildroot} | |
mkdir -p %{buildroot}%{_sysconfdir} | |
install -p -m 0640 %{SOURCE1} %{buildroot}%{_sysconfdir}/passwd-s3fs | |
%files | |
%{_bindir}/%{name} | |
%{_mandir}/man1/%{name}.1* | |
%config(noreplace) %{_sysconfdir}/passwd-s3fs | |
%changelog | |
* Sun Jul 24 2011 Jorge A Gallegos <kad@blegh.net> - 1.58-1 | |
- Initial build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment