source: projects/specs/trunk/lib/libo/liboauth/liboauth-vl.spec @ 9073

Revision 9073, 2.6 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME 3.14.1

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