Summary: A collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard Name: liboauth Version: 1.0.3 Release: 2%{?_dist_release} Vendor: Project Vine Distribution: Vine Linux License: MIT URL: http://liboauth.sourceforge.net/ Source0: http://sourceforge.net/projects/liboauth/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: curl-devel BuildRequires: nss-devel %description liboauth is a collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard. liboauth provides functions to escape and encode parameters according to OAuth specification and offers high-level functionality to sign requests or verify OAuth signatures as well as perform HTTP requests. liboauth depends on either on the OpenSSL library or on NSS (Mozilla's Network Security Services), which are used for generating the hash/signature, and optionally libcurl for issuing HTTP requests. %package devel Summary: Development tools for liboauth Summary(ja): liboauth の開発環境 Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig Requires: curl-devel Requires: nss-devel %description devel Header files and libraries for building a extension library for the liboauth. %prep %setup -q %build %configure --disable-static --enable-nss make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %license COPYING %doc ChangeLog AUTHORS NEWS README %{_libdir}/*.so.* %{_mandir}/man3/oauth.3.gz %files devel %defattr(-, root, root) %{_includedir}/oauth.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO 1.0.3-2 - rebuilt with current environment. * Sun Oct 26 2014 Yoji TOYODA 1.0.3-1 - new upstream release * Sat Mar 29 2014 Yoji TOYODA 1.0.2-1 - new upstream release * Sat Jan 04 2014 Yoji TOYODA 1.0.1-2 - rebuild with VineSeed environment * Thu Apr 18 2013 Yoji TOYODA 1.0.1-1 - new upstream release * Sat Sep 29 2012 Yoji TOYODA 0.9.7-1 - new upstream release * Sun Apr 08 2012 Yoji TOYODA 0.9.6-1 - new upstream release * Mon Aug 15 2011 Yoji TOYODA 0.9.4-1 - initial build for Vine Linux