%define package_version 1.0.3 %define package_release 1%{?_dist_release} Name: liboauth Version: %{package_version} Release: %{package_release} Summary: A collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard Group: System Environment/Libraries 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 Vendor: Project Vine Distribution: Vine Linux Packager: Takemikaduchi %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,-) %doc ChangeLog AUTHORS COPYING NEWS README %{_libdir}/*.so.* %{_mandir}/man3/oauth.3.gz %files devel %defattr(-, root, root) %{_includedir}/oauth.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * 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