Blame SPECS/cjose.spec

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