diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..49d4d4e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/s3fs-fuse-1.84.tar.gz diff --git a/passwd-s3fs b/passwd-s3fs new file mode 100644 index 0000000..0a047a5 --- /dev/null +++ b/passwd-s3fs @@ -0,0 +1,12 @@ +# This file can be used in two ways: +# 1) System-wide password file - Copy to /etc and make it readable only +# by root (chmod 0640 && chown root:root) +# 2) Copy to ~/.passwd-s3fs owned by you and with 0600 permissions for +# per-user mounts +# +# In both cases, you can specify a general access and secret, like this: +# accessKeyId:secretAccessKey +# +# or per-bucket credentials: +# bucketName:accessKeyId:secretAccessKey + diff --git a/s3fs-fuse.spec b/s3fs-fuse.spec new file mode 100644 index 0000000..0927330 --- /dev/null +++ b/s3fs-fuse.spec @@ -0,0 +1,105 @@ +%global _hardened_build 1 +%{!?make_build: %global make_build %{__make} %{?_smp_mflags}} + +Name: s3fs-fuse +Version: 1.84 + +Release: 2%{?dist} +Summary: FUSE-based file system backed by Amazon S3 + +License: GPLv2+ +URL: https://github.com/s3fs-fuse/s3fs-fuse +Source0: https://github.com/s3fs-fuse/s3fs-fuse/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: passwd-s3fs + +# s3fs-fuse requires at least fuse 2.8.4, which is not available for +# CentOS/RHEL6 +# See https://github.com/s3fs-fuse/s3fs-fuse/issues/42 +Requires: fuse-libs >= 2.8.4 +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: pkgconfig +BuildRequires: pkgconfig(fuse) >= 2.8.4 +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(openssl) +# fuse-s3fs has a binary s3fs too +Conflicts: fuse-s3fs + +%description +s3fs is a FUSE file system that allows you to mount an Amazon S3 bucket as a +local file system. 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 +%autosetup +cp -p %{SOURCE1} passwd-s3fs + +%build +./autogen.sh +%configure +%make_build + +%install +%make_install + +%files +%{_bindir}/s3fs +%{_mandir}/man1/s3fs.1* +%doc AUTHORS README.md ChangeLog passwd-s3fs +%{!?_licensedir:%global license %doc} +%license COPYING + +%changelog +* Sat Sep 22 2018 Julio Gonzalez Gil - 1.84-2 +- General cleanup to adapt to Fedora guidelines +- Build with PIE enabled (required by Fedora) +- Remove unneeded build requirement for mailcap + +* Sun Jul 8 2018 Julio Gonzalez Gil - 1.84-1 +- Initial build of 1.84 from https://github.com/s3fs-fuse/s3fs-fuse + +* Fri Jan 5 2018 William Anderson - 1.83-1 +- Initial build of 1.83 from https://github.com/s3fs-fuse/s3fs-fuse + +* Tue May 16 2017 Julio Gonzalez Gil - 1.82-1 +- Initial build of 1.82 from https://github.com/s3fs-fuse/s3fs-fuse + +* Tue May 16 2017 Julio Gonzalez Gil - 1.81-1 +- Initial build of 1.81 from https://github.com/s3fs-fuse/s3fs-fuse + +* Thu Jul 30 2015 Julio Gonzalez Gil - 1.80-1 +- Initial build of 1.80 from https://github.com/s3fs-fuse/s3fs-fuse + +* Thu Jul 30 2015 Julio Gonzalez Gil - 1.79-1 +- Initial build of 1.79 from https://github.com/s3fs-fuse/s3fs-fuse + +* Sat Apr 25 2015 Julio Gonzalez Gil - 1.78-1 +- Initial build of 1.78 from https://github.com/s3fs-fuse/s3fs-fuse + +* Mon Apr 28 2014 Julio Gonzalez Gil - 1.77-1 +- Initial build of 1.77 from https://github.com/s3fs-fuse/s3fs-fuse + +* Thu May 31 2012 Corey Gilmore - 1.61-1 +- Initial build of 1.61. Disabled generation of useless debug package. Using spec from https://bugzilla.redhat.com/show_bug.cgi?id=725292 + +* Mon Aug 15 2011 Jorge A Gallegos - 1.58-5 +- Minor mod to get rid of macro in changelog + +* Sun Jul 31 2011 Jorge A Gallegos - 1.58-4 +- Got rid of unnecessary buildroot cleaning + +* Sun Jul 31 2011 Jorge A Gallegos - 1.58-3 +- Moved passwd-s3fs to docs folder + +* Wed Jul 27 2011 Jorge A Gallegos - 1.58-2 +- Added docs to files section in spec +- Password file passwd-s3fs is installed as 0644 and changed in post + +* Sun Jul 24 2011 Jorge A Gallegos - 1.58-1 +- Initial build diff --git a/sources b/sources new file mode 100644 index 0000000..736377a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (s3fs-fuse-1.84.tar.gz) = b5eee0b8fbc51de65fb144fbfeebaddfb9b9e2a2af76b9c1f30e3a5c358bfcc3835db52299e89d2d83fff785cc0f33dafa4762c42b4f4184b82260e6c4fa7812