X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=libs3-1.4%2Flibs3.spec;fp=libs3-1.4%2Flibs3.spec;h=52a45b21de06093eeced73a32259caecac062c56;hb=1d62668cef91cf8f93f078ff47b4f99dec0f1669;hp=0000000000000000000000000000000000000000;hpb=45a4f324927f8fe3b7e689dd0c9a28716d0d1e93;p=bluesky.git diff --git a/libs3-1.4/libs3.spec b/libs3-1.4/libs3.spec new file mode 100644 index 0000000..52a45b2 --- /dev/null +++ b/libs3-1.4/libs3.spec @@ -0,0 +1,81 @@ +Summary: C Library and Tools for Amazon S3 Access +Name: libs3 +Version: 1.4 +Release: 1 +License: GPL +Group: Networking/Utilities +URL: http://sourceforge.net/projects/reallibs3 +Source0: libs3-1.4.tar.gz +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +# Want to include curl dependencies, but older Fedora Core uses curl-devel, +# and newer Fedora Core uses libcurl-devel ... have to figure out how to +# handle this problem, but for now, just don't check for any curl libraries +# Buildrequires: curl-devel +Buildrequires: libxml2-devel +Buildrequires: openssl-devel +Buildrequires: make +# Requires: libcurl +Requires: libxml2 +Requires: openssl + +%define debug_package %{nil} + +%description +This package includes the libs3 shared object library, needed to run +applications compiled against libs3, and additionally contains the s3 +utility for accessing Amazon S3. + +%package devel +Summary: Headers and documentation for libs3 +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This library provides an API for using Amazon's S3 service (see +http://s3.amazonaws.com). Its design goals are: + + - To provide a simple and straightforward API for accessing all of S3's + functionality + - To not require the developer using libs3 to need to know anything about: + - HTTP + - XML + - SSL + In other words, this API is meant to stand on its own, without requiring + any implicit knowledge of how S3 services are accessed using HTTP + protocols. + - To be usable from multithreaded code + - To be usable by code which wants to process multiple S3 requests + simultaneously from a single thread + - To be usable in the simple, straightforward way using sequentialized + blocking requests + + +%prep +%setup -q + +%build +BUILD=$RPM_BUILD_ROOT/build make exported + +%install +BUILD=$RPM_BUILD_ROOT/build DESTDIR=$RPM_BUILD_ROOT/usr make install +rm -rf $RPM_BUILD_ROOT/build + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +/usr/bin/s3 +/usr/lib/libs3.so* + +%files devel +%defattr(-,root,root,-) +/usr/include/libs3.h +/usr/lib/libs3.a + +%changelog +* Sat Aug 09 2008 Bryan Ischo +- Split into regular and devel packages. + +* Tue Aug 05 2008 Bryan Ischo +- Initial build.