Add epoch to allow update higher release version
This commit is contained in:
parent
9d681f905c
commit
4940262749
@ -1,13 +1,15 @@
|
||||
Name: libmicrohttpd
|
||||
Version: 0.9.52
|
||||
Release: 2%{?dist}
|
||||
Summary: Lightweight library for embedding a webserver in applications
|
||||
Name: libmicrohttpd
|
||||
Version: 0.9.46
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://www.gnu.org/software/libmicrohttpd/
|
||||
Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
|
||||
#Patch0: gnutls-utilize-system-crypto-policy.patch
|
||||
Patch0: gnutls-utilize-system-crypto-policy.patch
|
||||
|
||||
BuildRequires: autoconf, automake, libtool, gettext-devel
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
%if 0%{?rhel} == 5
|
||||
BuildRequires: curl-devel
|
||||
%endif
|
||||
@ -15,7 +17,12 @@ BuildRequires: curl-devel
|
||||
BuildRequires: libcurl-devel
|
||||
%endif
|
||||
BuildRequires: gnutls-devel
|
||||
# for microspdy
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: doxygen
|
||||
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
|
||||
@ -36,7 +43,7 @@ Key features that distinguish libmicrohttpd from other projects are:
|
||||
%package devel
|
||||
Summary: Development files for libmicrohttpd
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for libmicrohttpd
|
||||
@ -44,7 +51,7 @@ Development files for libmicrohttpd
|
||||
%package doc
|
||||
Summary: Documentation for libmicrohttpd
|
||||
Group: Documentation
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
@ -52,6 +59,34 @@ BuildArch: noarch
|
||||
%description doc
|
||||
Doxygen documentation for libmicrohttpd and some example source code
|
||||
|
||||
%package -n libmicrospdy
|
||||
Summary: Lightweight library for embedding a webserver using the SPDY protocol
|
||||
Group: Development/Libraries
|
||||
|
||||
%description -n libmicrospdy
|
||||
GNU libmicrospdy is a small C library that is supposed to make it
|
||||
easy to run a SPDY server as part of another application.
|
||||
|
||||
The library is part of the libmicrohttpd project and source tree
|
||||
and shared its advantages of being fast aand small with a simple API.
|
||||
|
||||
%package -n libmicrospdy-devel
|
||||
Summary: Development files for libmicrospdy
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description -n libmicrospdy-devel
|
||||
Development files for libmicrospdy
|
||||
|
||||
%package -n microspdy2http
|
||||
Summary: Translates incoming SPDY requests to http server on localhost
|
||||
Group: Applications/Internet
|
||||
|
||||
%description -n microspdy2http
|
||||
Translates incoming SPDY requests to HTTP server on localhost.
|
||||
* Uses libcurl
|
||||
* No error handling for curl requests
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
@ -95,7 +130,7 @@ fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%license COPYING
|
||||
%doc COPYING
|
||||
%{_libdir}/libmicrohttpd.so.*
|
||||
|
||||
%files devel
|
||||
@ -113,20 +148,24 @@ fi
|
||||
%doc examples
|
||||
%doc html
|
||||
|
||||
%files -n libmicrospdy
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_libdir}/libmicrospdy.so.*
|
||||
|
||||
%files -n libmicrospdy-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/microspdy.h
|
||||
%{_libdir}/libmicrospdy.so
|
||||
%{_libdir}/pkgconfig/libmicrospdy.pc
|
||||
|
||||
%files -n microspdy2http
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/microspdy2http
|
||||
|
||||
%changelog
|
||||
* Thu Jan 26 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.52-2
|
||||
- Dropped gnutls-utilize-system-crypto-policy.patch
|
||||
|
||||
* Fri Jan 13 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.52-1
|
||||
- Update to 0.9.52
|
||||
- Dropped subpkg microspdy2http because it's dead
|
||||
- Adjust gnutls-utilize-system-crypto-policy.patch
|
||||
- Use %%make_build
|
||||
- Use %%make_install
|
||||
- Use %%license
|
||||
- Cleanup Specfile
|
||||
- Add BR gettext-devel
|
||||
* Fri Jan 27 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.46-3
|
||||
- Add epoch to allow update higher release version
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.46-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libmicrohttpd-0.9.52.tar.gz) = 2cb7fa6ed59ec5f48748cd2aedea8a68629f02ffcf8e86c6d5b57a6622bb5f0ffd7dabfd6c04cc99047ca81eb76efe2a79b34bd6e3de329261a319369232fcf4
|
||||
SHA512 (libmicrohttpd-0.9.46.tar.gz) = d45cd6e8ca1fb0e4d42110fa6ae5b49823d1b2ce66dd82d8b68757b79bf441e4103301af9437886b2c5d3296102ed8da17933a573da9649e7359305f8e678e46
|
||||
|
Loading…
Reference in New Issue
Block a user