curlpp.spec.in 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: cURLpp is a libcurl C++ wrapper
  2. Name: cURLpp
  3. Version: @RPM_VERSION@
  4. Release: 1
  5. License: MIT
  6. Group: Development/Libraries
  7. URL: http://rrette.com/curlpp.html
  8. Source0: curlpp-@VERSION@.tar.gz
  9. BuildRoot: %{_tmppath}/curlpp-@VERSION@-%{release}-buildroot
  10. Requires: curl >= 7.10.0
  11. %package devel
  12. Summary: The includes and libs to develop with cURLpp
  13. Group: Development/Libraries
  14. Requires: curl >= 7.10.0
  15. Provides: curlpp-devel
  16. %description
  17. cURLpp is a libcurl C++ wrapper. There is the libcurl description: "libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more!
  18. libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, Net/Free/Open BSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS and more... "
  19. %description devel
  20. This packages contains all the libs and headers to develop applications using cURLpp.
  21. %prep
  22. %setup -qn curlpp-@VERSION@
  23. %build
  24. %configure
  25. make
  26. %install
  27. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  28. make DESTDIR=%{buildroot} install
  29. %clean
  30. rm -rf %{buildroot}
  31. %post
  32. /sbin/ldconfig
  33. %postun
  34. /sbin/ldconfig
  35. %files
  36. %defattr(-,root,root)
  37. %{_libdir}/libcurlpp.so*
  38. %files devel
  39. %defattr(-,root,root)
  40. %attr(0755,root,root) %{_bindir}/curlpp-config
  41. %dir %{_includedir}/curlpp
  42. %{_includedir}/curlpp/*.hpp
  43. %{_includedir}/curlpp/*.inl
  44. %{_includedir}/curlpp/*.h
  45. %dir %{_includedir}/curlpp/utilspp
  46. %dir %{_includedir}/curlpp/utilspp/singleton
  47. %{_includedir}/curlpp/utilspp/singleton/*.hpp
  48. %{_includedir}/curlpp/utilspp/singleton/*.inl
  49. %dir %{_includedir}/utilspp
  50. %{_includedir}/utilspp/*.hpp
  51. %{_includedir}/utilspp/*.inl
  52. %dir %{_includedir}/utilspp/functor
  53. %{_includedir}/utilspp/functor/*.hpp
  54. %{_libdir}/libcurlpp.la
  55. %{_libdir}/libcurlpp.a
  56. %{_libdir}/pkgconfig/curlpp.pc
  57. %dir
  58. %changelog
  59. * Sun Jul 17 2005 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> - 0.5.1-1
  60. - removed {%name} use
  61. * Wed Jan 5 2005 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> - 0.3.2-rc1-1
  62. - Version depends now on configure script
  63. * Thu Sep 30 2004 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> 0.3.1-1
  64. - Removed any utilspp reference. (Not used anymore)
  65. * Thu Jun 17 2004 Jean-Philippe Barrette-LaPierre <jpbarrette@savoirfairelinux.net> 0.3.1-1
  66. - Removed the unusefull BuildRequires
  67. * Mon Oct 20 2003 Jean-Philippe Barrette-LaPierre <jpbarrette@savoirfairelinux.net> - 0.3.0-2
  68. - Added the devel package
  69. * Wed Oct 15 2003 Jean-Philippe Barrette-LaPierre <jpb@rrette.com> - 0.3.0-1
  70. - Initial build.