Projects
Eulaceura:Mainline
zxcvbn-c
_service:obs_scm:zxcvbn-c.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:zxcvbn-c.spec of Package zxcvbn-c
%global _debugsource_template %{nil} Version: 2.5 %forgemeta Name: zxcvbn-c Release: 1 Summary: C/C++ version of the zxcvbn password strength estimator License: MIT URL: https://github.com/tsyrogit/zxcvbn-c Source0: https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/zxcvbn-c-2.5.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc-c++ %description This is a C/C++ implementation of the zxcvbn password strength estimation. The code is intended to be included as part of the source of a C/C++ program. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name} %prep %autosetup %build %make_build %install # Make install is currently broken #%%make_install %{__mkdir_p} %{buildroot}%{_libdir} %{__mkdir_p} %{buildroot}%{_bindir} %{__mkdir_p} %{buildroot}{%{_includedir},%{_datadir}}/zxcvbn install -p -m 0644 *.h %{buildroot}%{_includedir}/zxcvbn cp -a libzxcvbn.so* %{buildroot}%{_libdir} install -p -m 0755 dictgen %{buildroot}%{_bindir} install -p -m 0644 zxcvbn.dict %{buildroot}%{_datadir}/zxcvbn %check make test %files %doc README.md %license LICENSE.txt %{_bindir}/dictgen %{_libdir}/libzxcvbn.so.0* %{_datadir}/zxcvbn %files devel %{_includedir}/zxcvbn %{_libdir}/libzxcvbn.so %changelog %changelog * Mon Apr 8 2024 wyxaihjr <yuexiang.oerv@isrc.iscas.ac.cn> - 2.5-1 - init packages
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2