507e485e30
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
71 lines
1.4 KiB
RPMSpec
71 lines
1.4 KiB
RPMSpec
Name: cjose
|
|
Version: 0.5.1
|
|
Release: 2%{?dist}
|
|
Summary: C library implementing the Javascript Object Signing and Encryption (JOSE)
|
|
|
|
License: MIT
|
|
URL: https://github.com/cisco/cjose
|
|
Source0: https://github.com/cisco/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: doxygen
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: jansson-devel
|
|
BuildRequires: check-devel
|
|
|
|
%description
|
|
Implementation of JOSE for C/C++
|
|
|
|
|
|
%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 -n %{name}-%{version}
|
|
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%check
|
|
make check
|
|
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc CHANGELOG.md README.md
|
|
%doc /usr/share/doc/cjose
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/cjose.pc
|
|
|
|
|
|
%changelog
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Fri Jan 26 2018 Patrick Uiterwijk <patrick@puiterwijk.org> - 0.5.1-1
|
|
- Initial packaging
|