]> git.pld-linux.org Git - SPECS.git/blob - liboauth.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / liboauth.spec
1 Summary:        OAuth library functions
2 Summary(pl.UTF-8):      Biblioteka Funkcji OAuth
3 Name:           liboauth
4 Version:        1.0.3
5 Release:        2
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/liboauth/%{name}-%{version}.tar.gz
9 # Source0-md5:  689b46c2b3ab1a39735ac33f714c4f7f
10 URL:            http://liboauth.sourceforge.net/
11 BuildRequires:  curl-devel
12 BuildRequires:  nss-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 liboauth is a collection of POSIX-C functions implementing the OAuth
17 Core RFC 5849 standard. liboauth provides functions to escape and
18 encode parameters according to OAuth specification and offers
19 high-level functionality to sign requests or verify OAuth signatures
20 as well as perform HTTP requests.
21
22 %description
23 liboauth to zbiór funkcji POSIX-C implementujących standard OAuth Core
24 wg RFC 5849. liboauth udostępnia funkcje zabezpieczające i kodujące
25 parametry zgodnie ze specyfikacją OAuth. Oferuje także funkcje
26 wyższego poziomu do podpisywania żądań oraz kontroli podpisów OAuth, a
27 także wykonywania żądań HTTP
28
29 %package devel
30 Summary:        Development files for liboauth
31 Summary(pl.UTF-8):      Pliki programistyczne biblioteki liboauth
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       curl-devel
35 Requires:       nss-devel
36
37 %description devel
38 This package contains the header files for developing applications
39 that use liboauth.
40
41 %description devel -l pl.UTF-8
42 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
43 wykorzystujących liboauth.
44
45 %package static
46 Summary:        Static liboauth library
47 Summary(pl.UTF-8):      Statyczna biblioteka liboauth
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50
51 %description static
52 Static liboauth library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka liboauth.
56
57 %prep
58 %setup -q
59
60 %build
61 %configure \
62         --enable-nss
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 # obsoleted by pkg-config
71 %{__rm} $RPM_BUILD_ROOT%{_libdir}/liboauth.la
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS COPYING.MIT ChangeLog README
83 %attr(755,root,root) %{_libdir}/liboauth.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/liboauth.so.0
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/liboauth.so
89 %{_includedir}/oauth.h
90 %{_pkgconfigdir}/oauth.pc
91 %{_mandir}/man3/oauth.3*
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/liboauth.a
This page took 0.197359 seconds and 3 git commands to generate.