libs3.spec 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Summary: C Library and Tools for Amazon S3 Access
  2. Name: libs3
  3. Version: trunk
  4. Release: 1
  5. License: LGPL
  6. Group: Networking/Utilities
  7. URL: http://sourceforge.net/projects/reallibs3
  8. Source0: libs3-trunk.tar.gz
  9. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. # Want to include curl dependencies, but older Fedora Core uses curl-devel,
  11. # and newer Fedora Core uses libcurl-devel ... have to figure out how to
  12. # handle this problem, but for now, just don't check for any curl libraries
  13. # Buildrequires: curl-devel
  14. Buildrequires: libxml2-devel
  15. Buildrequires: openssl-devel
  16. Buildrequires: make
  17. # Requires: libcurl
  18. Requires: libxml2
  19. Requires: openssl
  20. %define debug_package %{nil}
  21. %description
  22. This package includes the libs3 shared object library, needed to run
  23. applications compiled against libs3, and additionally contains the s3
  24. utility for accessing Amazon S3.
  25. %package devel
  26. Summary: Headers and documentation for libs3
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. %description devel
  30. This library provides an API for using Amazon's S3 service (see
  31. http://s3.amazonaws.com). Its design goals are:
  32. - To provide a simple and straightforward API for accessing all of S3's
  33. functionality
  34. - To not require the developer using libs3 to need to know anything about:
  35. - HTTP
  36. - XML
  37. - SSL
  38. In other words, this API is meant to stand on its own, without requiring
  39. any implicit knowledge of how S3 services are accessed using HTTP
  40. protocols.
  41. - To be usable from multithreaded code
  42. - To be usable by code which wants to process multiple S3 requests
  43. simultaneously from a single thread
  44. - To be usable in the simple, straightforward way using sequentialized
  45. blocking requests
  46. %prep
  47. %setup -q
  48. %build
  49. BUILD=$RPM_BUILD_ROOT/build make exported
  50. %install
  51. BUILD=$RPM_BUILD_ROOT/build DESTDIR=$RPM_BUILD_ROOT/usr make install
  52. rm -rf $RPM_BUILD_ROOT/build
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files
  56. %defattr(-,root,root,-)
  57. /usr/bin/s3
  58. /usr/lib/libs3.so*
  59. %files devel
  60. %defattr(-,root,root,-)
  61. /usr/include/libs3.h
  62. /usr/lib/libs3.a
  63. %changelog
  64. * Sat Aug 09 2008 <bryan@ischo,com> Bryan Ischo
  65. - Split into regular and devel packages.
  66. * Tue Aug 05 2008 <bryan@ischo,com> Bryan Ischo
  67. - Initial build.