Skip to content

Instantly share code, notes, and snippets.

@benlemasurier
Created January 31, 2012 20:41
Show Gist options
  • Save benlemasurier/1712776 to your computer and use it in GitHub Desktop.
Save benlemasurier/1712776 to your computer and use it in GitHub Desktop.
stormfs rpm spec
Name: stormfs
Version: 0.02
Release: 1%{?dist}
Summary: A FUSE abstraction layer for cloud storage
Group: System Environment/Kernel
License: GPL
URL: https://github.com/benlemasurier/stormfs
Source0: https://github.com/downloads/benlemasurier/stormfs/stormfs-0.02.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: autoconf, automake, glib2-devel, fuse-devel, libcurl-devel
Requires: fuse, fuse-libs, glib2
%description
STORMfs allows you to mount cloud storage as a local filesystem. Currently
supporting Amazon S3, Eucalyptus (Walrus S3), and Google Cloud Storage[1].
This is the first (alpha) release, primarily focused on users who whish to
contribute feedback and bug reports.
[1] Interoperable Access (non-native API)
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/stormfs
%doc %{_mandir}/man1/stormfs.1*
%config(noreplace) /etc/stormfs.conf
%post
%attr(640,root,root) %config /etc/stormfs.conf
%changelog
* Tue Jan 31 2012 BenLeMasurier - 0.02
- Intial release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment