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