Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
ykclient
> ykclient.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ykclient.spec of Package ykclient
# # 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: ykclient Version: 2.15 Release: 0 License: BSD Summary: Online validation of Yubikey OTPs Url: https://code.google.com/p/yubico-c-client/ Group: Productivity/Networking/Security Source: https://yubico-c-client.googlecode.com/files/ykclient-%{version}.tar.gz BuildRequires: curl-devel help2man Provides: yubico-c-client = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This project implements online validation of Yubikey OTPs. It is written in C and provides a shared library for use by other software. %package -n libykclient3 Summary: Online validation of Yubikey OTPs Group: Productivity/Networking/Security %description -n libykclient3 This project implements online validation of Yubikey OTPs. It is written in C and provides a shared library for use by other software. %package -n libykclient-devel Summary: Online validation of Yubikey OTPs Group: Productivity/Networking/Security Requires: libykclient3 = %{version} Requires: glibc-devel %description -n libykclient-devel This project implements online validation of Yubikey OTPs.ยท It is written in C and provides a shared library for use by other software. %prep %setup -q %build %configure --disable-static --with-pic make %{?_smp_mflags} %install %makeinstall rm -f %{buildroot}%{_libdir}/libykclient.la %clean rm -rf %{buildroot} %post -n libykclient3 -p /sbin/ldconfig %postun -n libykclient3 -p /sbin/ldconfig %files %defattr(-,root,root) %doc ChangeLog README COPYING %{_bindir}/ykclient /usr/share/man/man1/ykclient.1.gz %files -n libykclient3 %defattr(-,root,root) %{_libdir}/libykclient.so.* %files -n libykclient-devel %defattr(-,root,root) %{_includedir}/ykclient.h %{_includedir}/ykclient_server_response.h %{_libdir}/libykclient.so %{_includedir}/ykclient_errors.h %{_includedir}/ykclient_version.h %changelog