70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
Name: libevhtp
|
|
Version: 1.2.10
|
|
Release: 1mamba
|
|
Summary: An API which manages threads and thread-pools in an event based manner
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/ellzey/libevhtp
|
|
## GITSOURCE https://github.com/ellzey/libevhtp.git 1.2.9
|
|
Source: https://github.com/ellzey/libevhtp.git/%{version}/libevhtp-%{version}.tar.bz2
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Libevhtp is an API which manages threads and thread-pools in an event based manner. This API requires libevent with threading support.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: An API which manages threads and thread-pools in an event based manner
|
|
|
|
%description devel
|
|
Libevhtp is an API which manages threads and thread-pools in an event based manner. This API requires libevent with threading support.
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DEVHTP_DISABLE_SSL=ON \
|
|
-DEVHTP_BUILD_SHARED=OFF
|
|
|
|
# See http://manual.seafile.com/build_seafile/server.html#libevhtp
|
|
|
|
# FIXME: shared needs soname patch
|
|
# -DEVHTP_BUILD_SHARED=OFF
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/evhtp-config.h
|
|
%{_includedir}/evhtp.h
|
|
%{_includedir}/evthr.h
|
|
%{_includedir}/htparse.h
|
|
#%{_includedir}/onigposix.h
|
|
%{_libdir}/libevhtp.a
|
|
%doc LICENSE
|
|
%doc ChangeLog README.markdown
|
|
|
|
%changelog
|
|
* Thu May 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
|
|
- update to 1.2.10
|
|
|
|
* Sat Aug 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-1mamba
|
|
- package created using the webbuild interface
|