Update to 0.9.57

Dropped dependency on libgcrypt
Dropped dependency on openssl
Update tarball link to "https:"
Add examples from doc/examples
This commit is contained in:
Martin Gansser 2017-12-05 11:00:12 +01:00
parent 4e23852c54
commit 2ff206d039
3 changed files with 13 additions and 15 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/libmicrohttpd-0.9.53.tar.gz
/libmicrohttpd-0.9.54.tar.gz
/libmicrohttpd-0.9.55.tar.gz
/libmicrohttpd-0.9.57.tar.gz

View File

@ -1,24 +1,16 @@
Name: libmicrohttpd
Version: 0.9.55
Release: 3%{?dist}
Version: 0.9.57
Release: 1%{?dist}
Epoch: 1
Summary: Lightweight library for embedding a webserver in applications
License: LGPLv2+
URL: http://www.gnu.org/software/libmicrohttpd/
Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
Patch0: gnutls-utilize-system-crypto-policy.patch
BuildRequires: autoconf, automake, libtool, gettext-devel
BuildRequires: texinfo
%if 0%{?rhel} == 5
BuildRequires: curl-devel
%endif
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
BuildRequires: libcurl-devel
%endif
BuildRequires: gnutls-devel
BuildRequires: openssl-devel
BuildRequires: libgcrypt-devel
BuildRequires: doxygen
Requires(post): info
Requires(preun): info
@ -49,9 +41,7 @@ Development files for libmicrohttpd
Summary: Documentation for libmicrohttpd
Group: Documentation
Requires: %{name} = %{epoch}:%{version}-%{release}
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
BuildArch: noarch
%endif
%description doc
Doxygen documentation for libmicrohttpd and some example source code
@ -81,6 +71,7 @@ rm -f %{buildroot}%{_bindir}/demo
# Install some examples in /usr/share/doc/libmicrohttpd-doc/examples
mkdir examples
install -m 644 src/examples/*.c examples
install -m 644 doc/examples/*.c examples
cp -R doc/doxygen/html html
@ -115,8 +106,14 @@ fi
%doc examples
%doc html
%changelog
* Mon Dec 04 2017 Martin Gansser <martinkg@fedoraproject.org> - 1:0.9.57-1
- Update to 0.9.57
- Dropped dependency on libgcrypt
- Dropped dependency on openssl
- Update tarball link to "https:"
- Add examples from doc/examples
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.55-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libmicrohttpd-0.9.55.tar.gz) = b410e7253d7c98c40b5e8b8dcd1f93bcbb05c88717190e8dae73073d36465e8e5cfa53c6c5098de60051a5ec64dc423fd94f4b06537d8146b744aa99f5a0b173
SHA512 (libmicrohttpd-0.9.57.tar.gz) = 996a59b1bc950320f21df095d3e24e1e6a6e4204095eb84e7dc5e5ed296b1dbe553459b227ba6cc93f60721f1975f778ece8c7c1c10e9168d030fba46675eed3