Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
ykpers
ykpers.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ykpers.spec of Package ykpers
# # spec file for package ykpers # # Copyright (c) 2015 SUSE LINUX 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/ # Name: ykpers Version: 1.17.2 Release: 0 Summary: Provides a reference implementation for configuration of YubiKeys License: BSD-2-Clause Group: Productivity/Networking/Security Url: https://developers.yubico.com/yubikey-personalization/ Source: https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz Source1: https://developers.yubico.com/yubikey-personalization/Releases/ykpers-%{version}.tar.gz.sig Source2: %name.keyring Provides: yubikey-personalization = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libyubikey-devel => 1.12 BuildRequires: pkg-config BuildRequires: pkgconfig(json-c) => 0.10 BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(udev) %description Yubico's YubiKey can be re-programmed. This project's purpose is to provide a reference implementation for configuration of YubiKey's. %package -n libykpers-1-1 Summary: Provides a reference implementation for configuration of YubiKeys Group: Productivity/Networking/Security %description -n libykpers-1-1 Yubico's YubiKey can be re-programmed. This project's purpose is to provide a reference implementation for configuration of YubiKey's %package -n libykpers-devel Summary: Provides a reference implementation for configuration of YubiKeys Group: Development/Languages/C and C++ Requires: glibc-devel Requires: libykpers-1-1 = %{version} %description -n libykpers-devel Yubico's YubiKey can be re-programmed. This project's purpose is to provide a reference implementation for configuration of YubiKey's.ยท %prep %setup -q # Add access for group "users" %{__sed} -i 's|--device=$env{DEVNAME}"|--device=$env{DEVNAME}" GROUP="users"|g' 70-yubikey.rules %build %configure --disable-static --with-pic \ --with-udevrulesdir=%{_udevrulesdir} \ --with-backend=libusb-1.0 --without-libusb-prefix sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} V=1 %install %makeinstall find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print %post %{?udev_rules_update:%udev_rules_update} %post -n libykpers-1-1 -p /sbin/ldconfig %postun -n libykpers-1-1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc ChangeLog README COPYING %{_bindir}/* %{_mandir}/man?/* %{_udevrulesdir}/*-yubikey.rules %files -n libykpers-1-1 %defattr(-,root,root) %{_libdir}/libykpers-1.so.* %files -n libykpers-devel %defattr(-,root,root) %dir %{_includedir}/ykpers-1 %{_includedir}/ykpers-1/*.h %{_libdir}/pkgconfig/ykpers-1.pc %{_libdir}/libykpers-1.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor