update to 1.2.10 [release 1.2.10-1mamba;Thu May 14 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 04:12:41 +01:00
parent 68926691f0
commit 2352ca0bde

View File

@ -1,5 +1,5 @@
Name: libevhtp
Version: 1.2.9
Version: 1.2.10
Release: 1mamba
Summary: An API which manages threads and thread-pools in an event based manner
Group: System/Libraries
@ -11,11 +11,7 @@ URL: https://github.com/ellzey/libevhtp
Source: https://github.com/ellzey/libevhtp.git/%{version}/libevhtp-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libevent-devel
## AUTOBUILDREQ-END
# seaf-server (as of 4.2.2) crashes if not using internal libonig and if libevhtp > 1.2.9
BuildConflicts: libonig-devel
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -25,7 +21,6 @@ Libevhtp is an API which manages threads and thread-pools in an event based mann
%package devel
Group: Development/Libraries
Summary: An API which manages threads and thread-pools in an event based manner
Requires: libevhtp = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libevhtp is an API which manages threads and thread-pools in an event based manner. This API requires libevent with threading support.
@ -39,7 +34,7 @@ This package contains libraries and header files for developing applications tha
%build
%cmake -d build \
-DEVHTP_DISABLE_SSL=ON \
-DEVHTP_BUILD_SHARED=ON
-DEVHTP_BUILD_SHARED=OFF
# See http://manual.seafile.com/build_seafile/server.html#libevhtp
@ -55,31 +50,18 @@ This package contains libraries and header files for developing applications tha
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#%files
#%defattr(-,root,root)
#%{_libdir}/libevhtp.so
#%doc LICENSE
%files
%defattr(-,root,root)
%{_libdir}/libevhtp.so
%files devel
%defattr(-,root,root)
%{_includedir}/evhtp-config.h
%{_includedir}/evhtp.h
%{_includedir}/evthr.h
%{_includedir}/htparse.h
%{_includedir}/onigposix.h
#%{_includedir}/onigposix.h
%{_libdir}/libevhtp.a
%doc LICENSE
%doc ChangeLog README.markdown
%changelog
* Sun May 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-1mamba
- update to 1.2.9
* Sun May 24 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
- rebuilt shared
* Thu May 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
- update to 1.2.10