代码拉取完成,页面将自动刷新
Name: jose
Version: 14
Release: 1
Summary: José is a command line utility for performing various tasks on JSON objects
License: ASL 2.0
URL: https://github.com/latchset/%{name}
Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig, gcc, openssl-devel, zlib-devel, meson, ninja-build, asciidoc
BuildRequires: jansson-devel >= 2.10
Provides: lib%{name}
Provides: lib%{name}-openssl
Provides: lib%{name}-zlib
Obsoletes: lib%{name}
%description
José is a C-language implementation of the Javascript Object
Signing and Encryption standards. José provides a command-line
utility which encompasses most of the JOSE features. This allows
for easy integration into your project and one-off scripts.
%package devel
Summary: Development libraries and files for lib%{name}
Requires: pkgconfig, jansson-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: lib%{name}-devel
Provides: lib%{name}-openssl-devel
Provides: lib%{name}-zlib-devel
Obsoletes: lib%{name}-devel
%description devel
The package contains lib and header files for developing application
that use %{name}
%package help
Summary: Documents files for %{name}
Requires: man, info
%description help
Man pages and other related documents for %{name}
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
rm -rf %{buildroot}
%meson_install
rm -rf %{buildroot}/%{_libdir}/lib%{name}.la
%check
%meson_test
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.*
%license COPYING
%files devel
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%files help
%{_mandir}/man1/jose*.1*
%{_mandir}/man3/jose*.3*
%changelog
* Wed Jul 24 2024 dillon chen<dillon.chen@gmail.com> - 14-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: update version to 14
* Sun Apr 7 2024 licihua<licihua@huawei.com> - 11-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: fix CVE-2023-50967
* Mon Aug 9 2021 zoulin<zoulin13@huawei.com> - 11-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: update version to 11
* Sat Sep 21 2019 caomeng<caomeng5@huawei.com> - 10-5
- Type:other
- ID:NA
- SUG:NA
- DESC: move libjose into primary package
* Wed Sep 4 2019 caomeng<caomeng5@huawei.com> - 10-4
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。