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 | |
---|
8 | License: MIT |
---|
9 | URL: http://liboauth.sourceforge.net/ |
---|
10 | Source0: http://sourceforge.net/projects/liboauth/files/%{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: curl-devel |
---|
15 | BuildRequires: nss-devel |
---|
16 | |
---|
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 | |
---|
23 | liboauth depends on either on the OpenSSL library or on NSS (Mozilla's Network Security Services), |
---|
24 | which are used for generating the hash/signature, and optionally libcurl for issuing HTTP requests. |
---|
25 | |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development tools for liboauth |
---|
29 | Summary(ja): liboauth の開発環境 |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | Requires: pkgconfig |
---|
33 | Requires: curl-devel |
---|
34 | Requires: nss-devel |
---|
35 | |
---|
36 | %description devel |
---|
37 | Header files and libraries for building a extension library for the |
---|
38 | liboauth. |
---|
39 | |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | |
---|
45 | %build |
---|
46 | %configure --disable-static --enable-nss |
---|
47 | make %{?_smp_mflags} |
---|
48 | |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
53 | |
---|
54 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
55 | |
---|
56 | |
---|
57 | %clean |
---|
58 | rm -rf $RPM_BUILD_ROOT |
---|
59 | |
---|
60 | |
---|
61 | %post -p /sbin/ldconfig |
---|
62 | %postun -p /sbin/ldconfig |
---|
63 | |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %license COPYING |
---|
68 | %doc ChangeLog AUTHORS NEWS README |
---|
69 | %{_libdir}/*.so.* |
---|
70 | %{_mandir}/man3/oauth.3.gz |
---|
71 | |
---|
72 | %files devel |
---|
73 | %defattr(-, root, root) |
---|
74 | %{_includedir}/oauth.h |
---|
75 | %{_libdir}/*.so |
---|
76 | %{_libdir}/pkgconfig/*.pc |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-2 |
---|
81 | - rebuilt with current environment. |
---|
82 | |
---|
83 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1 |
---|
84 | - new upstream release |
---|
85 | |
---|
86 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2 |
---|
90 | - rebuild with VineSeed environment |
---|
91 | |
---|
92 | * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.7-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1 |
---|
102 | - initial build for Vine Linux |
---|
103 | |
---|