]> git.pld-linux.org Git - packages/oath-toolkit.git/blame - oath-toolkit.spec
- updated to 2.2.0
[packages/oath-toolkit.git] / oath-toolkit.spec
CommitLineData
326db036
JB
1Summary: OATH Toolkit - easily build one-time password authentication systems
2Summary(pl.UTF-8): OATH Toolkit - łatwe tworzenie systemów uwierzytelniania z jednorazowymi hasłami
3Name: oath-toolkit
cbe1e938 4Version: 2.2.0
326db036
JB
5Release: 1
6License: LGPL v2.1+ (libraries), GPL v3+ (utilities and PAM module)
7Group: Libraries
8Source0: http://download.savannah.gnu.org/releases/oath-toolkit/%{name}-%{version}.tar.gz
cbe1e938 9# Source0-md5: 2afc64577936a1a79cff72b0718c9636
326db036
JB
10URL: http://www.nongnu.org/oath-toolkit/
11BuildRequires: gtk-doc >= 1.1
12BuildRequires: help2man
13BuildRequires: libxml2-devel >= 2
14BuildRequires: pam-devel
15BuildRequires: xmlsec1-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The OATH Toolkit makes it easy to build one-time password
20authentication systems. It contains shared libraries, command line
21tools and a PAM module. Supported technologies include the event-based
22HOTP algorithm (RFC4226) and the time-based TOTP algorithm (RFC6238).
23OATH stands for Open AuTHentication, which is the organization that
24specify the algorithms. For managing secret key files, the Portable
25Symmetric Key Container (PSKC) format described in RFC6030 is
26supported.
27
28%description -l pl.UTF-8
29OATH Toolkit ułatwia tworzenie systemów uwierzytelniania z
30jednorazowymi hasłami. Zawiera biblioteki współdzielone, narzędzia
31działające z linii poleceń oraz moduł PAM. Obsługiwane techniki
32obejmują oparty na zdarzeniach algorytm HOTP (RFC 4226) oraz oparty na
33czasie algorytm TOTP (RFC 6238). OATH to skrót od Open AuTHentication
34- nazwy organizacji opisującej algorytmy. W celu zarządzania kluczami
35obsługiwany jest format PSKC (Portable Symmetric Key Container),
36opisany w RFC 6030.
37
38%package devel
39Summary: Header files for OATH libraries
40Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OATH
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: libxml2-devel >= 2
44Requires: xmlsec1-devel
45
46%description devel
47Header files for OATH libraries.
48
49%description devel -l pl.UTF-8
50Pliki nagłówkowe bibliotek OATH.
51
52%package static
53Summary: Static OATH libraries
54Summary(pl.UTF-8): Statyczne biblioteki OATH
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static OATH libraries.
60
61%description static -l pl.UTF-8
62Statyczne biblioteki OATH.
63
64%package apidocs
65Summary: OATH API documentation
66Summary(pl.UTF-8): Dokumentacja API bibliotek OATH
67Group: Documentation
68
69%description apidocs
70API documentation for OATH libraries.
71
72%description apidocs -l pl.UTF-8
73Dokumentacja API bibliotek OATH.
74
75%prep
76%setup -q
77
78%build
79%configure \
80 --disable-silent-rules \
81 --with-html-dir=%{_gtkdocdir} \
82 --with-pam-dir=/%{_lib}/security
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
87
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
90
91# lib*.la kept - libpskc is missing .private dependencies
92
93%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_*.la
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101%files
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
112%{_datadir}/xml/pskc
113%{_mandir}/man1/oathtool.1*
114%{_mandir}/man1/pskctool.1*
115
116%files devel
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
123%{_includedir}/pskc
124%{_pkgconfigdir}/liboath.pc
125%{_pkgconfigdir}/libpskc.pc
126%{_mandir}/man3/oath_*.3*
127%{_mandir}/man3/pskc_*.3*
128
129%files static
130%defattr(644,root,root,755)
131%{_libdir}/liboath.a
132%{_libdir}/libpskc.a
133
134%files apidocs
135%defattr(644,root,root,755)
136%{_gtkdocdir}/liboath
137%{_gtkdocdir}/libpskc
This page took 0.090442 seconds and 4 git commands to generate.