1 Summary: OATH Toolkit - easily build one-time password authentication systems
2 Summary(pl.UTF-8): OATH Toolkit - łatwe tworzenie systemów uwierzytelniania z jednorazowymi hasłami
6 License: LGPL v2.1+ (libraries), GPL v3+ (utilities and PAM module)
8 Source0: http://download.savannah.gnu.org/releases/oath-toolkit/%{name}-%{version}.tar.gz
9 # Source0-md5: 35232dfcaf0e77377f926d561fe5086d
10 URL: http://www.nongnu.org/oath-toolkit/
11 BuildRequires: gtk-doc >= 1.1
12 BuildRequires: help2man
13 BuildRequires: libxml2-devel >= 2
14 BuildRequires: pam-devel
15 BuildRequires: xmlsec1-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The OATH Toolkit makes it easy to build one-time password
20 authentication systems. It contains shared libraries, command line
21 tools and a PAM module. Supported technologies include the event-based
22 HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
23 OATH stands for Open AuTHentication, which is the organization that
24 specify the algorithms. For managing secret key files, the Portable
25 Symmetric Key Container (PSKC) format described in RFC6030 is
28 %description -l pl.UTF-8
29 OATH Toolkit ułatwia tworzenie systemów uwierzytelniania z
30 jednorazowymi hasłami. Zawiera biblioteki współdzielone, narzędzia
31 działające z linii poleceń oraz moduł PAM. Obsługiwane techniki
32 obejmują oparty na zdarzeniach algorytm HOTP (RFC 4226) oraz oparty na
33 czasie algorytm TOTP (RFC 6238). OATH to skrót od Open AuTHentication
34 - nazwy organizacji opisującej algorytmy. W celu zarządzania kluczami
35 obsługiwany jest format PSKC (Portable Symmetric Key Container),
39 Summary: Header files for OATH libraries
40 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OATH
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: libxml2-devel >= 2
44 Requires: xmlsec1-devel
47 Header files for OATH libraries.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe bibliotek OATH.
53 Summary: Static OATH libraries
54 Summary(pl.UTF-8): Statyczne biblioteki OATH
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{version}-%{release}
59 Static OATH libraries.
61 %description static -l pl.UTF-8
62 Statyczne biblioteki OATH.
65 Summary: OATH API documentation
66 Summary(pl.UTF-8): Dokumentacja API bibliotek OATH
70 API documentation for OATH libraries.
72 %description apidocs -l pl.UTF-8
73 Dokumentacja API bibliotek OATH.
80 --disable-silent-rules \
81 --with-html-dir=%{_gtkdocdir} \
82 --with-pam-dir=/%{_lib}/security
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
91 # lib*.la kept - libpskc is missing .private dependencies
93 %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_*.la
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 # COPYING contains just licensing notes
104 %doc AUTHORS COPYING ChangeLog NEWS README
105 %attr(755,root,root) %{_bindir}/oathtool
106 %attr(755,root,root) %{_bindir}/pskctool
107 %attr(755,root,root) %{_libdir}/liboath.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/liboath.so.0
109 %attr(755,root,root) %{_libdir}/libpskc.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libpskc.so.0
111 %attr(755,root,root) /%{_lib}/security/pam_oath.so
113 %{_mandir}/man1/oathtool.1*
114 %{_mandir}/man1/pskctool.1*
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/liboath.so
119 %attr(755,root,root) %{_libdir}/libpskc.so
120 %{_libdir}/liboath.la
121 %{_libdir}/libpskc.la
122 %{_includedir}/liboath
124 %{_pkgconfigdir}/liboath.pc
125 %{_pkgconfigdir}/libpskc.pc
126 %{_mandir}/man3/oath_*.3*
127 %{_mandir}/man3/pskc_*.3*
130 %defattr(644,root,root,755)
135 %defattr(644,root,root,755)
136 %{_gtkdocdir}/liboath
137 %{_gtkdocdir}/libpskc