12 Star 0 Fork 10

src-openEuler / ykpers

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ykpers.spec 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
sunguoshuai 提交于 2021-09-08 17:17 . Fix not striped and rpath problem
Name: ykpers
Version: 1.20.0
Release: 4
Summary: The YubiKey Personalization package contains a library and command line tool used to personalize
License: BSD
URL: https://developers.yubico.com/yubikey-personalization/
Source0: https://developers.yubico.com/yubikey-personalization/%{name}-%{version}.tar.gz
Patch0: ykpers-args-extern.patch
BuildRequires: libusb-devel gcc libyubikey-devel systemd-udev chrpath
%description
The YubiKey Personalization package contains a library and command line tool used to personalize
%package devel
Summary: devel pacakge for ykpers
Requires: %{name} = %{version}-%{release}
%description devel
The YubiKey Personalization package contains a library and command line tool used to personalize
%prep
%setup -q -n %{name}-%{version}/
%patch0 -p0
%build
%configure --enable-static=no --with-udevrulesdir=/usr/lib/udev/rules.d
%make_build
%install
%make_install
rm -rf %{buildroot}/%{_libdir}/*.la
chrpath -d %{buildroot}%{_bindir}/*
%pre
%preun
%post
%postun
%check
%files
%license COPYING
%doc README
%{_bindir}/*
%{_mandir}/*
%{_libdir}/libykpers-1.so.*
%{_udevrulesdir}/69-yubikey.rules
%files devel
%{_includedir}/*
%{_libdir}/libykpers-1.so
%{_libdir}/pkgconfig/*
%{_libdir}/libykpers-1.so
%changelog
* Wed Sep 08 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.20.0-4
- Fix not striped and rpath problem
* Fri 30 Jul 2021 zhangtao <zhangtao221@huawei.com> - 1.20.0-3
- fix gcc upgrade causes compilation failure
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.20.0-2
- Completing build dependencies to define %{_udevrulesdir} macros
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init
1
https://gitee.com/src-openeuler/ykpers.git
git@gitee.com:src-openeuler/ykpers.git
src-openeuler
ykpers
ykpers
openEuler-22.03-LTS

搜索帮助