# # spec file for package # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: oath-toolkit Version: 1.4.5.12_git201101302220 Release: 0 License: GPLv3 Summary: Makes it possible to build one-time password authentication systems Url: http://www.nongnu.org/oath-toolkit/ Group: Productivity/Networking/Security Source: http://download.savannah.nongnu.org/releases/oath-toolkit/oath-toolkit-%{version}.tar.bz2 BuildRequires: pam-devel libgcrypt-devel gtk-doc pkgconfig gengetopt bison BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Makes it possible to build one-time password authentication systems· %package -n pam_oath Summary: Makes it possible to build one-time password authentication systems Group: Productivity/Networking/Security %description -n pam_oath Makes it possible to build one-time password authentication systems· %package -n liboath0 Summary: Makes it possible to build one-time password authentication systems Group: Productivity/Networking/Security %description -n liboath0 Makes it possible to build one-time password authentication systems %package -n liboath-devel Summary: Makes it possible to build one-time password authentication systems Group: Productivity/Networking/Security Requires: liboath0 = %{version} Requires: glibc-devel %description -n liboath-devel Makes it possible to build one-time password authentication systems %prep %setup -q %build autoreconf -fiv %configure --with-pam-dir=/%{_lib}/security \ --with-libgcrypt \ --disable-silent-rules \ --with-pic \ --disable-static make %{?_smp_mflags} %install %makeinstall find %{buildroot} -type f -name "*.la" -print -delete %clean %__rm -rf %{buildroot} %post -n liboath0 -p /sbin/ldconfig %postun -n liboath0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc ChangeLog README COPYING %{_bindir}/oathtool %{_mandir}/man1/oathtool.*.* %files -n pam_oath %defattr(-,root,root) /%{_lib}/security/pam_oath.so %files -n liboath0 %defattr(-,root,root) %{_libdir}/liboath.so.* %files -n liboath-devel %defattr(-,root,root) %{_libdir}/liboath.so %dir %{_includedir}/liboath %{_includedir}/liboath/oath.h %{_libdir}/pkgconfig/liboath.pc %changelog