2018-07-02 15:12:11 +00:00
|
|
|
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} > 28 || 0%{?rhel} > 7
|
|
|
|
%global scons scons-3
|
|
|
|
%global scons_pkg python3-scons
|
|
|
|
%else
|
|
|
|
%global scons scons-2
|
|
|
|
%global scons_pkg python2-scons
|
|
|
|
%endif
|
|
|
|
|
2013-06-16 03:12:05 +00:00
|
|
|
Name: libserf
|
2016-09-02 06:19:49 +00:00
|
|
|
Version: 1.3.9
|
2022-07-21 18:59:34 +00:00
|
|
|
Release: 24%{?dist}
|
2013-06-16 03:12:05 +00:00
|
|
|
Summary: High-Performance Asynchronous HTTP Client Library
|
|
|
|
License: ASL 2.0
|
2015-09-18 07:59:39 +00:00
|
|
|
URL: http://serf.apache.org/
|
|
|
|
Source0: https://archive.apache.org/dist/serf/serf-%{version}.tar.bz2
|
2018-07-02 15:12:11 +00:00
|
|
|
BuildRequires: gcc, %{scons_pkg}, pkgconfig
|
2018-03-07 15:12:27 +00:00
|
|
|
BuildRequires: apr-devel, apr-util-devel, krb5-devel, openssl-devel
|
2016-04-09 13:29:45 +00:00
|
|
|
BuildRequires: zlib-devel
|
2016-09-02 06:19:49 +00:00
|
|
|
Patch0: %{name}-norpath.patch
|
2018-07-02 15:46:52 +00:00
|
|
|
Patch1: %{name}-python3.patch
|
2021-09-20 12:09:17 +00:00
|
|
|
Patch2: %{name}-1.3.9-bio-ctrl.patch
|
2021-10-04 07:09:08 +00:00
|
|
|
Patch3: %{name}-1.3.9-errgetfunc.patch
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The serf library is a C-based HTTP client library built upon the Apache
|
|
|
|
Portable Runtime (APR) library. It multiplexes connections, running the
|
|
|
|
read/write communication asynchronously. Memory copies and transformations are
|
|
|
|
kept to a minimum to provide high performance operation.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2013-06-16 17:06:33 +00:00
|
|
|
Requires: apr-devel%{?_isa}
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%description devel
|
2014-02-23 15:05:40 +00:00
|
|
|
This package contains libraries and header files for
|
2013-06-16 03:12:05 +00:00
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2016-09-02 06:19:49 +00:00
|
|
|
%autosetup -n serf-%{version} -p1
|
2013-11-06 11:05:20 +00:00
|
|
|
|
|
|
|
# Shared library versioning support in scons is worse than awful...
|
|
|
|
# minimally, here fix the soname to match serf-1.2.x. Minor version
|
|
|
|
# handling should be fixed too; really requires better upstream support:
|
|
|
|
# http://scons.tigris.org/issues/show_bug.cgi?id=2869
|
|
|
|
sed -i '/SHLIBVERSION/s/MAJOR/0/' SConstruct
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%build
|
2018-07-02 15:12:11 +00:00
|
|
|
%{scons} \
|
2013-11-06 11:05:20 +00:00
|
|
|
CFLAGS="%{optflags}" \
|
2016-04-09 13:32:26 +00:00
|
|
|
LINKFLAGS="%{__global_ldflags}" \
|
2013-11-06 11:05:20 +00:00
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
GSSAPI=%{_prefix} \
|
|
|
|
%{?_smp_mflags}
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%install
|
2018-07-02 15:12:11 +00:00
|
|
|
%{scons} install --install-sandbox=%{buildroot}
|
2014-08-12 02:43:11 +00:00
|
|
|
|
2016-04-09 13:46:00 +00:00
|
|
|
find %{buildroot}%{_libdir} -type f -name '*.*a' -delete -print
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%check
|
2016-04-09 13:46:00 +00:00
|
|
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
2018-07-02 15:12:11 +00:00
|
|
|
%{scons} %{?_smp_mflags} check || true
|
2013-06-16 03:12:05 +00:00
|
|
|
|
2018-07-02 15:25:58 +00:00
|
|
|
%ldconfig_scriptlets
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%files
|
2015-09-18 07:59:39 +00:00
|
|
|
%license LICENSE NOTICE
|
2013-06-16 03:12:05 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
2014-02-23 15:05:40 +00:00
|
|
|
%doc CHANGES README design-guide.txt
|
|
|
|
%{_includedir}/serf-1/
|
2013-06-16 03:12:05 +00:00
|
|
|
%{_libdir}/*.so
|
2014-02-23 15:05:40 +00:00
|
|
|
%{_libdir}/pkgconfig/serf*.pc
|
2013-06-16 03:12:05 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-07-21 18:59:34 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 17:15:02 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-10-04 07:09:08 +00:00
|
|
|
* Mon Oct 4 2021 Joe Orton <jorton@redhat.com> - 1.3.9-22
|
|
|
|
- fix build with OpenSSL 3.0
|
|
|
|
|
2021-09-20 12:09:17 +00:00
|
|
|
* Mon Sep 20 2021 Tomas Korbar <tkorbar@redhat.com> - 1.3.9-21
|
|
|
|
- Fix internal BIO control function
|
|
|
|
|
2021-09-14 17:06:42 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.3.9-20
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-22 12:22:15 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 17:59:56 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-08-01 04:09:16 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-17
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 05:34:38 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 10:21:27 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-11-14 10:45:12 +00:00
|
|
|
* Thu Nov 14 2019 Joe Orton <jorton@redhat.com> - 1.3.9-14
|
|
|
|
- revert broken IPv6 workaround
|
|
|
|
|
2019-07-25 14:21:59 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-16 10:39:37 +00:00
|
|
|
* Tue Apr 16 2019 Joe Orton <jorton@redhat.com> - 1.3.9-12
|
|
|
|
- fix IPv6 fallback behaviour (#1130328)
|
|
|
|
- use Python3 in tests
|
|
|
|
|
2019-02-01 08:12:36 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 08:49:22 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-02 15:25:58 +00:00
|
|
|
* Mon Jul 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.9-9
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2018-07-02 15:12:11 +00:00
|
|
|
* Mon Jul 02 2018 Nils Philippsen <nils@redhat.com> - 1.3.9-8
|
|
|
|
- use the Python 3 version of scons from Fedora 29 on
|
|
|
|
|
2018-03-07 15:12:27 +00:00
|
|
|
* Wed Mar 7 2018 Joe Orton <jorton@redhat.com> - 1.3.9-7
|
|
|
|
- add gcc to BR
|
|
|
|
|
2018-02-07 23:19:35 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 02:15:44 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:42:19 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 19:26:39 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-14 14:32:41 +00:00
|
|
|
* Mon Nov 14 2016 Joe Orton <jorton@redhat.com> - 1.3.9-2
|
|
|
|
- rebuild for OpenSSL 1.1.0
|
|
|
|
|
2016-09-02 06:19:49 +00:00
|
|
|
* Fri Sep 02 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.3.9-1
|
|
|
|
- Update to 1.3.9 (RHBZ #1372506)
|
|
|
|
|
2016-04-09 13:32:26 +00:00
|
|
|
* Sat Apr 09 2016 Igor Gnatenko <ignatenko@redhat.com> - 1.3.8-3
|
|
|
|
- Add LDFLAGS provided by RPM
|
|
|
|
|
2016-02-04 03:54:25 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-23 08:38:06 +00:00
|
|
|
* Tue Jun 23 2015 Joe Orton <jorton@redhat.com> - 1.3.8-1
|
|
|
|
- update to 1.3.8 (#1155115, #1155392)
|
|
|
|
- remove RPATHs (#1154690)
|
|
|
|
|
2015-06-17 17:15:28 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-17 05:57:20 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-12 02:43:11 +00:00
|
|
|
* Tue Aug 12 2014 Christopher Meng <rpm@cicku.me> - 1.3.7-1
|
|
|
|
- Update to 1.3.7
|
|
|
|
|
2014-06-18 04:42:16 +00:00
|
|
|
* Tue Jun 17 2014 Christopher Meng <rpm@cicku.me> - 1.3.6-1
|
|
|
|
- Update to 1.3.6
|
|
|
|
|
2014-06-07 05:25:03 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-30 02:37:03 +00:00
|
|
|
* Wed Apr 30 2014 Christopher Meng <rpm@cicku.me> - 1.3.5-1
|
2014-06-18 04:42:16 +00:00
|
|
|
- Update to 1.3.5
|
2014-04-30 02:37:03 +00:00
|
|
|
|
2014-02-17 08:33:16 +00:00
|
|
|
* Mon Feb 17 2014 Joe Orton <jorton@redhat.com> - 1.3.4-1
|
2014-06-18 04:42:16 +00:00
|
|
|
- Update to 1.3.4
|
2014-02-17 08:33:16 +00:00
|
|
|
|
2013-12-10 16:44:38 +00:00
|
|
|
* Tue Dec 10 2013 Joe Orton <jorton@redhat.com> - 1.3.3-1
|
2014-06-18 04:42:16 +00:00
|
|
|
- Update to 1.3.3
|
2013-12-10 16:44:38 +00:00
|
|
|
|
2013-11-06 11:05:20 +00:00
|
|
|
* Wed Nov 6 2013 Joe Orton <jorton@redhat.com> - 1.3.2-1
|
2014-06-18 04:42:16 +00:00
|
|
|
- Update to 1.3.2
|
|
|
|
- Require krb5-devel for libgssapi (#1027011)
|
2013-11-06 11:05:20 +00:00
|
|
|
|
2013-08-03 06:58:21 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-16 17:06:33 +00:00
|
|
|
* Mon Jun 17 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-3
|
|
|
|
- SPEC cleanup.
|
|
|
|
|
2013-06-16 03:12:05 +00:00
|
|
|
* Thu Jun 13 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-2
|
|
|
|
- Fix the permission of the library.
|
|
|
|
|
|
|
|
* Sun Jun 09 2013 Christopher Meng <rpm@cicku.me> - 1.2.1-1
|
|
|
|
- Initial Package.
|