e95655da |
Name: c-rest-engine
Summary: minimal http(s) server library |
67c94d1f |
Version: 1.0.5 |
f36af574 |
Release: 2%{?dist} |
e95655da |
Group: Applications/System
Vendor: VMware, Inc.
License: Apache 2.0
URL: http://www.github.com/vmware/c-rest-engine
Requires: openssl >= 1.0.1
BuildRequires: coreutils >= 8.22
BuildRequires: openssl-devel >= 1.0.1
Source0: %{name}-%{version}.tar.gz |
67c94d1f |
%define sha1 c-rest-engine=f846acf51e5d8b31d73d78c3d55c14e887208064 |
f36af574 |
Patch0: c-rest-engine-aarch64.patch |
e95655da |
%description
c-rest-engine is a minimal embedded http(s) server written in C.
Its primary intent is to enable REST(Representational State Transfer)
API support for C daemons.
%package devel
Summary: c-rest-engine dev files
Requires: openssl-devel >= 1.0.1
Requires: %{name} = %{version}-%{release}
%description devel
development libs and header files for c-rest-engine
%prep
%setup -q |
f36af574 |
%patch0 -p1 |
e95655da |
%build
cd build
autoreconf -mif ..
../configure \ |
f36af574 |
--host=%{_host} --build=%{_build} \ |
e95655da |
--prefix=%{_prefix} \
--with-ssl=/usr \
--enable-debug=%{_enable_debug} \
--disable-static
make
%install
[ %{buildroot} != "/" ] && rm -rf %{buildroot}/*
cd build && make install DESTDIR=$RPM_BUILD_ROOT
find %{buildroot} -name '*.la' -delete
%post -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%exclude %{_sbindir}/vmrestd
%files devel
%{_includedir}/vmrest.h
%{_libdir}/*.so
# %doc ChangeLog README COPYING
%changelog |
f36af574 |
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0.5-2
- Aarch64 support |
67c94d1f |
* Thu Nov 02 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.5-1
- Adding version, 1.0.5, get peer info API. |
7f9d2e12 |
* Mon Sep 18 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0.4-3
- Remove coreutils runtime dependency. |
72013d41 |
* Tue Sep 12 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.4-2
- Making default log level as ERROR. |
a4e1d8fd |
* Mon Sep 11 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.4-1
- Updating to version 1.0.4. |
2791ac0b |
* Tue Aug 22 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.3-2
- Upstream version 1.0.4 patch for 1.0.3. |
648263a1 |
* Fri Jul 21 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.3-1
- Updating version to 1.0.3, API for setting SSL info. |
1bd4e83c |
* Tue Jun 20 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.2-1
- Updating version to 1.0.2 |
72013d41 |
* Thu May 18 2017 Kumar Kaushik <kaushikk@vmware.com> 1.0.1-1 |
50304392 |
- Updating version to 1.0.1 |
e95655da |
* Thu May 04 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.0-1
- Initial build. First version |