2016-09-21 19:57:32 +00:00
|
|
|
Name: jose
|
2017-09-29 17:59:40 +00:00
|
|
|
Version: 10
|
2020-07-28 12:59:31 +00:00
|
|
|
Release: 8%{?dist}
|
2016-09-21 19:57:32 +00:00
|
|
|
Summary: Tools for JSON Object Signing and Encryption (JOSE)
|
|
|
|
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://github.com/latchset/%{name}
|
|
|
|
Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
2018-07-09 17:06:46 +00:00
|
|
|
BuildRequires: gcc
|
2016-09-21 19:57:32 +00:00
|
|
|
BuildRequires: pkgconfig
|
2017-06-14 05:01:40 +00:00
|
|
|
BuildRequires: jansson-devel >= 2.10
|
2016-09-21 19:57:32 +00:00
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: zlib-devel
|
2020-12-19 01:07:41 +00:00
|
|
|
BuildRequires: make
|
2016-09-21 19:57:32 +00:00
|
|
|
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
José is a command line utility for performing various tasks on JSON
|
|
|
|
Object Signing and Encryption (JOSE) objects. José provides a full
|
|
|
|
crypto stack including key generation, signing and encryption.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
2017-01-18 18:33:11 +00:00
|
|
|
Summary: Library implementing JSON Object Signing and Encryption
|
2017-06-14 05:01:40 +00:00
|
|
|
Conflicts: jansson < 2.10
|
|
|
|
Provides: lib%{name}-openssl = %{version}-%{release}
|
|
|
|
Obsoletes: lib%{name}-openssl < %{version}-%{release}
|
|
|
|
Provides: lib%{name}-zlib = %{version}-%{release}
|
|
|
|
Obsoletes: lib%{name}-zlib < %{version}-%{release}
|
2016-09-21 19:57:32 +00:00
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains a C library for performing JOSE operations.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Summary: Development files for lib%{name}
|
|
|
|
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: jansson-devel
|
2017-06-14 05:01:40 +00:00
|
|
|
Provides: lib%{name}-openssl-devel = %{version}-%{release}
|
|
|
|
Obsoletes: lib%{name}-openssl-devel < %{version}-%{release}
|
|
|
|
Provides: lib%{name}-zlib-devel = %{version}-%{release}
|
|
|
|
Obsoletes: lib%{name}-zlib-devel < %{version}-%{release}
|
2016-09-21 19:57:32 +00:00
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains development files for lib%{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2016-10-17 20:48:02 +00:00
|
|
|
%if 0%{?rhel}
|
2017-06-14 05:01:40 +00:00
|
|
|
%__sed -i 's|libcrypto >= 1\.0\.2|libcrypto >= 1\.0\.1|' configure
|
2016-10-17 20:48:02 +00:00
|
|
|
%endif
|
2017-06-16 23:44:55 +00:00
|
|
|
%configure --disable-openmp
|
2020-07-28 12:59:31 +00:00
|
|
|
%make_build
|
2016-09-21 19:57:32 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%make_install
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/lib%{name}.la
|
|
|
|
|
|
|
|
%check
|
2020-07-28 12:59:31 +00:00
|
|
|
%make_build check
|
2016-09-21 19:57:32 +00:00
|
|
|
|
2019-01-22 17:39:21 +00:00
|
|
|
%ldconfig_scriptlets -n lib%{name}
|
2016-09-21 19:57:32 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/%{name}
|
2017-06-14 05:01:40 +00:00
|
|
|
%{_mandir}/man1/jose*.1*
|
2016-09-21 19:57:32 +00:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/lib%{name}.so.*
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%dir %{_includedir}/%{name}
|
2017-06-14 05:01:40 +00:00
|
|
|
%{_includedir}/%{name}/*.h
|
2016-09-21 19:57:32 +00:00
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2017-06-14 05:01:40 +00:00
|
|
|
%{_mandir}/man3/jose*.3*
|
2016-09-21 19:57:32 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-07-28 12:59:31 +00:00
|
|
|
* Tue Jul 28 2020 Tom Stellard <tstellar@redhat.com> - 10-8
|
|
|
|
- Use make macros
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
2020-07-28 02:28:43 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 06:18:50 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 10:40:11 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 04:37:38 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 06:33:52 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 19:04:28 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-29 17:59:40 +00:00
|
|
|
* Fri Sep 29 2017 Nathaniel McCallum <npmccallum@redhat.com> - 10-1
|
|
|
|
- New upstream release
|
|
|
|
|
2017-08-03 00:01:36 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 14:35:45 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-16 23:44:55 +00:00
|
|
|
* Fri Jun 16 2017 Nathaniel McCallum <npmccallum@redhat.com> - 9-1
|
|
|
|
- New upstream release
|
|
|
|
|
2017-06-14 05:01:40 +00:00
|
|
|
* Wed Jun 14 2017 Nathaniel McCallum <npmccallum@redhat.com> - 8-1
|
|
|
|
- New upstream release
|
|
|
|
|
2017-03-17 18:27:35 +00:00
|
|
|
* Fri Mar 17 2017 Nathaniel McCallum <npmccallum@redhat.com> - 7-1
|
|
|
|
- New upstream release
|
|
|
|
|
2017-02-10 17:20:22 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-18 18:33:11 +00:00
|
|
|
* Wed Jan 18 2017 Nathaniel McCallum <npmccallum@redhat.com> - 6-4
|
|
|
|
- Add a conflicts on old versions of jansson
|
|
|
|
|
2016-11-11 06:03:03 +00:00
|
|
|
* Fri Nov 11 2016 Nathaniel McCallum <npmccallum@redhat.com> - 6-3
|
|
|
|
- Fix build on big-endian platforms (fix already upstream)
|
|
|
|
|
2016-11-10 22:09:05 +00:00
|
|
|
* Thu Nov 10 2016 Nathaniel McCallum <npmccallum@redhat.com> - 6-2
|
|
|
|
- Rebuild to pick up new architectures
|
|
|
|
|
2016-10-25 18:59:13 +00:00
|
|
|
* Tue Oct 25 2016 Nathaniel McCallum <npmccallum@redhat.com> - 6-1
|
|
|
|
- New upstream release
|
|
|
|
|
2016-10-17 20:19:03 +00:00
|
|
|
* Fri Oct 14 2016 Nathaniel McCallum <npmccallum@redhat.com> - 5-1
|
|
|
|
- New upstream release
|
|
|
|
|
2016-09-23 21:56:39 +00:00
|
|
|
* Fri Sep 23 2016 Nathaniel McCallum <npmccallum@redhat.com> - 4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2016-09-21 19:57:32 +00:00
|
|
|
* Wed Sep 21 2016 Nathaniel McCallum <npmccallum@redhat.com> - 3-1
|
|
|
|
- Initial package
|