771eda
Name:           libmicrohttpd
771eda
Version:        0.9.72
771eda
Release:        4%{?dist}
771eda
Epoch:          1
771eda
Summary:        Lightweight library for embedding a webserver in applications
771eda
License:        LGPLv2+
771eda
URL:            http://www.gnu.org/software/libmicrohttpd/
771eda
Source0:        https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
771eda
Patch0:         gnutls-utilize-system-crypto-policy.patch
771eda
771eda
BuildRequires:  autoconf, automake, libtool, gettext-devel
771eda
BuildRequires:  texinfo
771eda
BuildRequires:  gnutls-devel
771eda
BuildRequires:  doxygen graphviz
771eda
BuildRequires: make
771eda
Requires(post): info
771eda
Requires(preun): info
771eda
771eda
%description
771eda
GNU libmicrohttpd is a small C library that is supposed to make it
771eda
easy to run an HTTP server as part of another application.
771eda
Key features that distinguish libmicrohttpd from other projects are:
771eda
771eda
* C library: fast and small
771eda
* API is simple, expressive and fully reentrant
771eda
* Implementation is http 1.1 compliant
771eda
* HTTP server can listen on multiple ports
771eda
* Support for IPv6
771eda
* Support for incremental processing of POST data
771eda
* Creates binary of only 25k (for now)
771eda
* Three different threading models
771eda
771eda
%package devel
771eda
Summary:        Development files for libmicrohttpd
771eda
Requires:       %{name} = %{epoch}:%{version}-%{release}
771eda
771eda
%description devel
771eda
Development files for libmicrohttpd
771eda
771eda
%package doc
771eda
Summary:        Documentation for libmicrohttpd
771eda
Requires:       %{name} = %{epoch}:%{version}-%{release}
771eda
BuildArch:      noarch
771eda
771eda
%description doc
771eda
Doxygen documentation for libmicrohttpd and some example source code
771eda
771eda
%prep
771eda
%autosetup -p1
771eda
771eda
%build
771eda
# Required because patches modify .am files
771eda
autoreconf --install --force
771eda
%configure --disable-static --with-gnutls --enable-https=yes
771eda
%make_build
771eda
make -C doc/doxygen full
771eda
771eda
# Disabled for now due to problems reported at
771eda
# https://gnunet.org/bugs/view.php?id=1619
771eda
771eda
%check
771eda
%ifnarch s390x
771eda
%make_build check
771eda
%endif
771eda
771eda
%install
771eda
%make_install
771eda
771eda
rm -f %{buildroot}%{_libdir}/*.la
771eda
rm -f %{buildroot}%{_infodir}/dir
771eda
rm -f %{buildroot}%{_bindir}/demo
771eda
771eda
# Install some examples in /usr/share/doc/libmicrohttpd-doc/examples
771eda
mkdir examples
771eda
install -m 644 src/examples/*.c examples
771eda
install -m 644 doc/examples/*.c examples
771eda
771eda
cp -R doc/doxygen/html html
771eda
771eda
%post doc
771eda
/sbin/install-info %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
771eda
/sbin/install-info %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
771eda
771eda
%preun doc
771eda
if [ $1 = 0 ] ; then
771eda
/sbin/install-info --delete %{_infodir}/libmicrohttpd.info.gz %{_infodir}/dir || :
771eda
/sbin/install-info --delete %{_infodir}/libmicrohttpd-tutorial.info.gz %{_infodir}/dir || :
771eda
fi
771eda
771eda
%files
771eda
%doc README
771eda
%license COPYING
771eda
%{_libdir}/libmicrohttpd.so.*
771eda
771eda
%files devel
771eda
%{_includedir}/microhttpd.h
771eda
%{_libdir}/libmicrohttpd.so
771eda
%{_libdir}/pkgconfig/libmicrohttpd.pc
771eda
771eda
%files doc
771eda
%{_mandir}/man3/libmicrohttpd.3.gz
771eda
%{_infodir}/libmicrohttpd.info.*
771eda
%{_infodir}/libmicrohttpd-tutorial.info.*
771eda
%{_infodir}/libmicrohttpd_performance_data.png.gz
771eda
%doc AUTHORS README ChangeLog
771eda
%doc examples
771eda
%doc html
771eda
771eda
%changelog
771eda
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.9.72-4
771eda
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
771eda
  Related: rhbz#1991688
771eda
771eda
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.9.72-3
771eda
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
771eda
771eda
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.72-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
771eda
771eda
* Tue Dec 29 2020 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.72-1
771eda
- Update to 1:0.9.72
771eda
771eda
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.71-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
771eda
771eda
* Mon Jun 29 2020 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.71-1
771eda
- Update to 1:0.9.71
771eda
771eda
* Sun Feb 09 2020 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.70-1
771eda
- Update to 1:0.9.70
771eda
771eda
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.69-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
771eda
771eda
* Mon Dec 16 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.69-1
771eda
- Update to 1:0.9.69
771eda
771eda
* Mon Oct 28 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.68-1
771eda
- Update to 1:0.9.68
771eda
771eda
* Fri Oct 18 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.67-1
771eda
- Update to 1:0.9.67
771eda
771eda
* Sat Aug 17 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.66-1
771eda
- Update to 1:0.9.66
771eda
771eda
* Fri Jul 05 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.65-1
771eda
- Update to 1:0.9.65
771eda
771eda
* Wed Apr 24 2019 Björn Esser <besser82@fedoraproject.org> - 1:0.9.64-1
771eda
- Update to 1:0.9.64
771eda
771eda
* Wed Apr 24 2019 Björn Esser <besser82@fedoraproject.org> - 1:0.9.63-2
771eda
- Remove hardcoded gzip suffix from GNU info pages
771eda
771eda
* Mon Feb 11 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.63-1
771eda
- Update to 1:0.9.63
771eda
771eda
* Thu Jan 24 2019 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.62-1
771eda
- Update to 1:0.9.62
771eda
771eda
* Fri Dec 07 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:0.9.61-1
771eda
- Update to latest version
771eda
- Drop obsolete scriptlets
771eda
771eda
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.59-3
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
771eda
771eda
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.59-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
771eda
771eda
* Fri Feb 02 2018 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.59-1
771eda
- Update to 0.9.59
771eda
771eda
* Fri Dec 08 2017 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.58-1
771eda
- Update to 0.9.58 (#1523429)
771eda
- Add BR graphviz
771eda
771eda
* Wed Dec 06 2017 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.57-2
771eda
- enable tests
771eda
771eda
* Mon Dec 04 2017 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.57-1
771eda
- Update to 0.9.57
771eda
- Dropped dependency on libgcrypt
771eda
- Dropped dependency on openssl
771eda
- Update tarball link to "https:"
771eda
- Add examples from doc/examples
771eda
771eda
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.55-3
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
771eda
771eda
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.55-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
771eda
771eda
* Mon May 29 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.55-1
771eda
- Add BR texinfo
771eda
- Update to 0.9.55 (#1456304)
771eda
771eda
* Wed May 03 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.54-1
771eda
- Update to 0.9.54 (#1447476)
771eda
771eda
* Sun Jan 29 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.53-1
771eda
- Update to 0.9.53 (#1288676)
771eda
- Adjust gnutls-utilize-system-crypto-policy.patch
771eda
771eda
* Sun Jan 29 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.52-3
771eda
- Enable HTTPS with --enable-https=yes
771eda
- Re-add gnutls-utilize-system-crypto-policy.patch
771eda
- Add epoch to allow update of higher release version
771eda
771eda
* Thu Jan 26 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.52-2
771eda
- Dropped gnutls-utilize-system-crypto-policy.patch
771eda
771eda
* Fri Jan 13 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.52-1
771eda
- Update to 0.9.52
771eda
- Dropped subpkg microspdy2http because it's dead
771eda
- Adjust gnutls-utilize-system-crypto-policy.patch
771eda
- Use %%make_build
771eda
- Use %%make_install
771eda
- Use %%license
771eda
- Cleanup Specfile
771eda
- Add BR gettext-devel
771eda
771eda
* Thu Jan 12 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.46-4
771eda
- roolback to release 0.9.46 again, because 0.9.52 does not work
771eda
771eda
* Wed Jan 11 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.46-3
771eda
- Add epoch to allow update of higher release version
771eda
771eda
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.46-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
771eda
771eda
* Tue Nov 10 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.9.46-1
771eda
- Update to 0.9.46 (#1279862)
771eda
771eda
* Sun Nov 01 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.9.45-1
771eda
- Update to 0.9.45 (#1276892)
771eda
771eda
* Fri Oct 02 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.9.44-1
771eda
- Update to 0.9.44 (#1209288)
771eda
771eda
* Wed Sep 16 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 0.9.42-1
771eda
- Update to 0.9.42 (#1209288)
771eda
771eda
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.39-3
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
771eda
771eda
* Fri Mar 13 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.9.39-2
771eda
- Utilize system crypto policy (#1179314)
771eda
771eda
* Mon Jan 05 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 0.9.39-1
771eda
- Update to latest upstream release 0.9.39 (#1094435)
771eda
771eda
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.34-4
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
771eda
771eda
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.34-3
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
771eda
771eda
* Thu Mar 13 2014 Tim Niemueller <tim@niemueller.de> - 0.9.34-2
771eda
- Add missing BR openssl-devel (required for libmicrospdy)
771eda
771eda
* Thu Mar 13 2014 Tim Niemueller <tim@niemueller.de> - 0.9.34-1
771eda
- Update to latest uptsream release 0.9.34
771eda
- Create sub-packages for libmicrospdy which is now enabled by default
771eda
771eda
* Thu Jan 02 2014 Václav Pavlín <vpavlin@redhat.com> - 0.9.33-1
771eda
- Update to latest upstream release 0.9.33
771eda
771eda
* Wed Dec 04 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.32-1
771eda
- Update to latest upstream release 0.9.32
771eda
771eda
* Mon Oct 21 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.31-1
771eda
- Update to latest upstream release 0.9.31
771eda
771eda
* Tue Sep 10 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.30-1
771eda
- Update to latest upstream release 0.9.30
771eda
771eda
* Tue Aug 06 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.28-3
771eda
- Correct comments about the doc location (#993819)
771eda
771eda
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.28-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
771eda
771eda
* Tue Jul 23 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.28-1
771eda
- Update to latest uptsream release 0.9.28
771eda
771eda
* Mon May 6 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.27-1
771eda
- Update to latest uptsream release 0.9.27
771eda
771eda
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.24-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
771eda
771eda
* Tue Jan 8 2013 Václav Pavlín <vpavlin@redhat.com> - 0.9.24-1
771eda
- Update to latest uptsream release 0.9.24
771eda
771eda
* Thu Sep 27 2012 Tim Niemueller <tim@niemueller.de> - 0.9.22-1
771eda
- Update to latest uptsream release 0.9.22
771eda
771eda
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-3
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
771eda
771eda
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
771eda
771eda
* Sun Feb 27 2011 Tim Niemueller <tim@niemueller.de> - 0.9.7-1
771eda
- Update to new upstream release 0.9.7
771eda
- Remove upstreamed patches
771eda
771eda
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
771eda
771eda
* Wed Jan 26 2011 Tim Niemueller <tim@niemueller.de> - 0.9.6-1
771eda
- Update to new upstream release 0.9.6
771eda
771eda
* Mon Jan 24 2011 Tim Niemueller <tim@niemueller.de> - 0.9.5-1
771eda
- Update to new upstream release 0.9.5
771eda
771eda
* Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-3
771eda
- Add missing BR gnutls-devel and libgcrypt-devel
771eda
- Added patch to fix test apps (NSS instead of GnuTLS/OpenSSL curl,
771eda
  implicit DSO linking)
771eda
- Disable test cases for now due to false errors, reported upstream
771eda
771eda
* Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-2
771eda
- Re-enable HTTPS, configure flags had unexpected result
771eda
771eda
* Sun Nov 7 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-1
771eda
- Update to 0.9.2
771eda
771eda
* Fri Jun 4 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.6-1
771eda
- Update to 0.4.6
771eda
771eda
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
771eda
771eda
* Tue Jul 21 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.2-1
771eda
- Update to version 0.4.2
771eda
- Drop upstreamed patch
771eda
771eda
* Fri Feb 27 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0a-1
771eda
- Update to version 0.4.0a
771eda
- Drop upstreamed patch
771eda
- Added a new patch to fix a 64bit issue
771eda
- The -devel package now contains a pkgconfig file
771eda
- The configure script is now run with '--enable-messages --enable-https'
771eda
- Made the -doc subpackage noarch (F11+)
771eda
771eda
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
771eda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
771eda
771eda
* Sat Feb 14 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0-1
771eda
- Update to version 0.4.0
771eda
- This version introduces a API bump (which is required for
771eda
  supporting large files on 32bit environments)
771eda
- The license issues we had with version 0.3.1 of this package (as
771eda
  discussed in #457924) are resolved in this version. The license
771eda
  of this package is now changed to LGPLv2+
771eda
- Added a patch to fix two testcases on 64bit environments (upstream bug #1454)
771eda
771eda
* Sat Sep 6 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-3
771eda
- Changed license to GPLv3+ and added some comments
771eda
  regarding the license issues with this package
771eda
771eda
* Sun Aug 10 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-2
771eda
- Changed license to LGPLv2+
771eda
- Moved the COPYING file to the main package
771eda
771eda
* Tue Aug 5 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-1
771eda
- Initial release
771eda