Add epoch to allow update higher release version
This commit is contained in:
parent
9d681f905c
commit
4940262749
@ -1,21 +1,28 @@
|
|||||||
Name: libmicrohttpd
|
|
||||||
Version: 0.9.52
|
|
||||||
Release: 2%{?dist}
|
|
||||||
Summary: Lightweight library for embedding a webserver in applications
|
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+
|
License: LGPLv2+
|
||||||
URL: http://www.gnu.org/software/libmicrohttpd/
|
URL: http://www.gnu.org/software/libmicrohttpd/
|
||||||
Source0: ftp://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
|
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
|
%if 0%{?rhel} == 5
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gnutls-devel
|
BuildRequires: gnutls-devel
|
||||||
|
# for microspdy
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: libgcrypt-devel
|
||||||
|
BuildRequires: graphviz
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun): info
|
Requires(preun): info
|
||||||
|
|
||||||
@ -36,7 +43,7 @@ Key features that distinguish libmicrohttpd from other projects are:
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libmicrohttpd
|
Summary: Development files for libmicrohttpd
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for libmicrohttpd
|
Development files for libmicrohttpd
|
||||||
@ -44,7 +51,7 @@ Development files for libmicrohttpd
|
|||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation for libmicrohttpd
|
Summary: Documentation for libmicrohttpd
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
@ -52,6 +59,34 @@ BuildArch: noarch
|
|||||||
%description doc
|
%description doc
|
||||||
Doxygen documentation for libmicrohttpd and some example source code
|
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
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
@ -95,7 +130,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%license COPYING
|
%doc COPYING
|
||||||
%{_libdir}/libmicrohttpd.so.*
|
%{_libdir}/libmicrohttpd.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -113,20 +148,24 @@ fi
|
|||||||
%doc examples
|
%doc examples
|
||||||
%doc html
|
%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
|
%changelog
|
||||||
* Thu Jan 26 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.52-2
|
* Fri Jan 27 2017 Martin Gansser <martinkg@fedoraproject.org> - 0.9.46-3
|
||||||
- Dropped gnutls-utilize-system-crypto-policy.patch
|
- Add epoch to allow update higher release version
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.46-2
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.46-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- 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