liboauth-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. %define package_version 1.0.3
  2. %define package_release 1%{?_dist_release}
  3. Name: liboauth
  4. Version: %{package_version}
  5. Release: %{package_release}
  6. Summary: A collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard
  7. Group: System Environment/Libraries
  8. License: MIT
  9. URL: http://liboauth.sourceforge.net/
  10. Source0: http://sourceforge.net/projects/liboauth/files/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: curl-devel
  13. BuildRequires: nss-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. liboauth is a collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard.
  19. liboauth provides functions to escape and encode parameters according to OAuth specification
  20. and offers high-level functionality to sign requests or verify OAuth signatures as well as
  21. perform HTTP requests.
  22. liboauth depends on either on the OpenSSL library or on NSS (Mozilla's Network Security Services),
  23. which are used for generating the hash/signature, and optionally libcurl for issuing HTTP requests.
  24. %package devel
  25. Summary: Development tools for liboauth
  26. Summary(ja): liboauth の開発環境
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. Requires: curl-devel
  31. Requires: nss-devel
  32. %description devel
  33. Header files and libraries for building a extension library for the
  34. liboauth.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-static --enable-nss
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make DESTDIR=$RPM_BUILD_ROOT install
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc ChangeLog AUTHORS COPYING NEWS README
  51. %{_libdir}/*.so.*
  52. %{_mandir}/man3/oauth.3.gz
  53. %files devel
  54. %defattr(-, root, root)
  55. %{_includedir}/oauth.h
  56. %{_libdir}/*.so
  57. %{_libdir}/pkgconfig/*.pc
  58. %changelog
  59. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1
  60. - new upstream release
  61. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  62. - new upstream release
  63. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
  64. - rebuild with VineSeed environment
  65. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  66. - new upstream release
  67. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.7-1
  68. - new upstream release
  69. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-1
  70. - new upstream release
  71. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
  72. - initial build for Vine Linux