Blame SPECS/libmicrohttpd.spec

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