packages: s3fs/s3fs.spec (NEW) - new package
jajcus
jajcus at pld-linux.org
Sun Mar 14 16:35:14 CET 2010
Author: jajcus Date: Sun Mar 14 15:35:14 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new package
---- Files affected:
packages/s3fs:
s3fs.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/s3fs/s3fs.spec
diff -u /dev/null packages/s3fs/s3fs.spec:1.1
--- /dev/null Sun Mar 14 16:35:14 2010
+++ packages/s3fs/s3fs.spec Sun Mar 14 16:35:09 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary: FUSE-based file system backed by Amazon S3
+Name: s3fs
+Version: r191
+Release: 1
+License: GPL v2
+Group: Applications/System
+Source0: http://s3fs.googlecode.com/files/%{name}-%{version}-source.tar.gz
+URL: http://code.google.com/p/s3fs/wiki/FuseOverAmazon
+BuildRequires: curl-devel
+BuildRequires: libfuse-devel
+BuildRequires: libxml2-devel
+BuildRequires: openssl-devel
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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=5G.
+
+s3fs is stable and is being used in number of production environments,
+e.g., rsync backup to s3.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__cxx} %{rpmcxxflags} %{rpmldflags} -Wall s3fs.cpp -o s3fs \
+ `pkg-config fuse --cflags --libs` `pkg-config libcurl --cflags --libs` \
+ `xml2-config --cflags --libs` -lcrypto
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install s3fs $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/03/14 15:35:09 jajcus
+- new package
+
================================================================
More information about the pld-cvs-commit
mailing list