2011-02-05 15:46:34 +01:00
|
|
|
#
|
|
|
|
# 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
|
2011-02-11 01:03:36 +01:00
|
|
|
Version: 1.4.6_git201102080806
|
2011-02-05 15:46:34 +01:00
|
|
|
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
|
2011-02-05 19:43:16 +01:00
|
|
|
BuildRequires: pam-devel libgcrypt-devel gtk-doc pkgconfig gengetopt bison
|
2011-02-05 15:46:34 +01:00
|
|
|
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 \
|
2011-02-05 19:43:16 +01:00
|
|
|
--with-libgcrypt \
|
2011-02-05 15:46:34 +01:00
|
|
|
--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
|