459b472
Name:           cjose
89cfb59
Version:        0.6.1
337efef
Release:        2%{?dist}
459b472
Summary:        C library implementing the Javascript Object Signing and Encryption (JOSE)
459b472
459b472
License:        MIT
459b472
URL:            https://github.com/cisco/cjose
459b472
Source0:  	https://github.com/cisco/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
459b472
337efef
Patch1: concatkdf.patch
337efef
Igor Gnatenko 0729e8a
BuildRequires:  gcc
459b472
BuildRequires:  doxygen
459b472
BuildRequires:  openssl-devel
459b472
BuildRequires:  jansson-devel
459b472
BuildRequires:  check-devel
459b472
459b472
%description
459b472
Implementation of JOSE for C/C++
459b472
459b472
459b472
%package        devel
459b472
Summary:        Development files for %{name}
459b472
Requires:       %{name}%{?_isa} = %{version}-%{release}
459b472
459b472
%description    devel
459b472
The %{name}-devel package contains libraries and header files for
459b472
developing applications that use %{name}.
459b472
459b472
459b472
%prep
337efef
%autosetup -n %{name}-%{version} -p1
459b472
459b472
%build
459b472
%configure
459b472
%make_build
459b472
459b472
459b472
%install
459b472
%make_install
459b472
find %{buildroot} -name '*.a' -exec rm -f {} ';'
459b472
find %{buildroot} -name '*.la' -exec rm -f {} ';'
459b472
459b472
459b472
%post -p /sbin/ldconfig
459b472
459b472
%postun -p /sbin/ldconfig
459b472
459b472
459b472
%check
337efef
make check || (cat test/test-suite.log; exit 1)
459b472
459b472
%files
459b472
%license LICENSE
459b472
%doc CHANGELOG.md README.md
459b472
%doc /usr/share/doc/cjose
459b472
%{_libdir}/*.so.*
459b472
459b472
459b472
%files devel
459b472
%{_includedir}/*
459b472
%{_libdir}/*.so
459b472
%{_libdir}/pkgconfig/cjose.pc
459b472
459b472
459b472
%changelog
337efef
* Thu Aug  2 2018  <jdennis@redhat.com> - 0.6.1-2
337efef
- fix concatkdf big endian architecture problem.
337efef
  Upstream issue #77.
337efef
89cfb59
* Wed Aug  1 2018  <jdennis@redhat.com> - 0.6.1-1
89cfb59
- upgrade to latest upstream 0.6.1
89cfb59
4fcd89e
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
4fcd89e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4fcd89e
507e485
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
507e485
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
507e485
459b472
* Fri Jan 26 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.5.1-1
459b472
- Initial packaging