liboauth-vl.spec 2.6 KB

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