2024-01-06 05:03:27 +01:00
|
|
|
Name: libmicrohttpd
|
2024-01-06 05:03:28 +01:00
|
|
|
Version: 0.9.58
|
2024-01-06 05:03:27 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library embedding HTTP server functionality
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: http://www.gnu.org/software/libmicrohttpd/
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgnutls-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libgmp-devel
|
|
|
|
BuildRequires: libtasn1-devel
|
|
|
|
BuildRequires: p11-kit-devel
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: doxygen
|
|
|
|
Requires(post): %{__install_info}
|
|
|
|
Requires(preun): %{__install_info}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application.
|
|
|
|
Key features that distinguish libmicrohttpd from other projects are:
|
|
|
|
* C library: fast and small
|
|
|
|
* API is simple, expressive and fully reentrant
|
|
|
|
* Implementation is http 1.1 compliant
|
|
|
|
* HTTP server can listen on multiple ports
|
|
|
|
* Support for IPv6
|
|
|
|
* Support for incremental processing of POST data
|
|
|
|
* Creates binary of only 25k (for now)
|
|
|
|
* Three different threading models
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#sed -i "s|/home/grothoff/svn/libmicrohttpd|.|" doc/Doxyfile
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --with-gnutls
|
|
|
|
%make
|
|
|
|
|
|
|
|
#doxygen doc/Doxyfile
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
# Install some examples
|
|
|
|
mkdir examples
|
|
|
|
install -m 644 src/examples/*.c examples
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/demo
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
%install_info %{name}.info
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
%uninstall_info %{name}.info
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:03:28 +01:00
|
|
|
#%{_bindir}/microspdy2http
|
2024-01-06 05:03:27 +01:00
|
|
|
%{_libdir}/libmicrohttpd.so.*
|
2024-01-06 05:03:28 +01:00
|
|
|
#%{_libdir}/libmicrospdy.so.*
|
2024-01-06 05:03:27 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/microhttpd.h
|
2024-01-06 05:03:28 +01:00
|
|
|
#%{_includedir}/microspdy.h
|
2024-01-06 05:03:27 +01:00
|
|
|
%{_libdir}/libmicrohttpd.la
|
|
|
|
%{_libdir}/libmicrohttpd.so
|
2024-01-06 05:03:28 +01:00
|
|
|
#%{_libdir}/libmicrospdy.la
|
|
|
|
#%{_libdir}/libmicrospdy.so
|
2024-01-06 05:03:27 +01:00
|
|
|
%{_libdir}/pkgconfig/libmicrohttpd.pc
|
2024-01-06 05:03:28 +01:00
|
|
|
#%{_libdir}/pkgconfig/libmicrospdy.pc
|
2024-01-06 05:03:27 +01:00
|
|
|
%{_mandir}/man3/libmicrohttpd.*
|
|
|
|
%{_infodir}/libmicrohttpd.info.*
|
|
|
|
%{_infodir}/libmicrohttpd-tutorial.info.*
|
2024-01-06 05:03:28 +01:00
|
|
|
%{_infodir}/libmicrohttpd_performance_data.png.gz
|
2024-01-06 05:03:27 +01:00
|
|
|
%doc NEWS README
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
#%files apidocs
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%doc examples
|
2024-01-06 05:03:27 +01:00
|
|
|
#%doc doc/doxygen/html
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:03:28 +01:00
|
|
|
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 0.9.58-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 0.9.55-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Wed Apr 12 2017 Automatic Build System <autodist@mambasoft.it> 0.9.53-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Wed Nov 16 2016 Automatic Build System <autodist@mambasoft.it> 0.9.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 0.9.51-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Tue Jul 12 2016 Automatic Build System <autodist@mambasoft.it> 0.9.50-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Fri Apr 29 2016 Automatic Build System <autodist@mambasoft.it> 0.9.49-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:28 +01:00
|
|
|
* Mon Feb 15 2016 Automatic Build System <autodist@mambasoft.it> 0.9.48-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Sat Oct 10 2015 Automatic Build System <autodist@mambasoft.it> 0.9.44-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Sun May 17 2015 Automatic Build System <autodist@mambasoft.it> 0.9.42-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 0.9.40-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Wed Jan 14 2015 Automatic Build System <autodist@mambasoft.it> 0.9.39-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Sat Oct 11 2014 Automatic Build System <autodist@mambasoft.it> 0.9.38-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Thu Jun 05 2014 Automatic Build System <autodist@mambasoft.it> 0.9.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:03:27 +01:00
|
|
|
* Sun May 11 2014 Automatic Build System <autodist@mambasoft.it> 0.9.35-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 09 2014 Automatic Build System <autodist@mambasoft.it> 0.9.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 22 2014 Automatic Build System <autodist@mambasoft.it> 0.9.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Dec 10 2013 Automatic Build System <autodist@mambasoft.it> 0.9.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 10 2013 Automatic Build System <autodist@mambasoft.it> 0.9.30-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 01 2013 Automatic Build System <autodist@mambasoft.it> 0.9.29-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 27 2013 Automatic Build System <autodist@mambasoft.it> 0.9.28-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon May 06 2013 Automatic Build System <autodist@mambasoft.it> 0.9.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 01 2013 Automatic Build System <autodist@mambasoft.it> 0.9.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.9.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 17 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.9.25-1mamba
|
|
|
|
- package created by autospec
|