-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpp-httplib.spec
More file actions
183 lines (138 loc) · 5.58 KB
/
Copy pathcpp-httplib.spec
File metadata and controls
183 lines (138 loc) · 5.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
Name: cpp-httplib
Version: 0.53.1
Release: 1
Summary: A C++ header-only HTTP/HTTPS server and client library
License: MIT
URL: https://github.com/yhirose/cpp-httplib
Source0: https://github.com/yhirose/cpp-httplib/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(libbrotlicommon)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libbrotlienc)
BuildRequires: pkgconfig(openssl) >= 3.0.0
BuildRequires: pkgconfig(zlib)
BuildRequires: /usr/bin/openssl
BuildRequires: /usr/bin/python3
%description
A C++11 single-file header-only cross platform HTTP/HTTPS library.
It's extremely easy to setup. Just include httplib.h file in your code!
%package devel
Summary: A C++11 single-file header-only cross platform HTTP/HTTPS library
Requires: %{name}%{?_isa} = %{version}-%{release}
Conflicts: %{name} < 0.18.0
%description devel
A C++11 single-file header-only cross platform HTTP/HTTPS library.
It's extremely easy to setup. Just include the httplib.h file in your code!
NOTE: This is a multi-threaded 'blocking' HTTP library.
If you are looking for a 'non-blocking' library, this is not the one that you want.
Development files only.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%cmake -DBUILD_SHARED_LIBS=ON -DHTTPLIB_COMPILE=ON -DHTTPLIB_TEST=ON
%cmake_build
%install
%cmake_install
rm -r $RPM_BUILD_ROOT%{_docdir}/httplib
rm -r $RPM_BUILD_ROOT%{_licensedir}/httplib
%check
%ctest --parallel 1 --exclude-regex '_Online$'
%files
%license LICENSE
%{_libdir}/lib%{name}.so.*
%files devel
%doc README.md example
%{_includedir}/httplib.h
%{_libdir}/lib%{name}.so
%{_libdir}/cmake/httplib
%changelog
* Sun Aug 16 2026 Funda Wang <fundawang@yeah.net> - 0.53.1-1
- update to 0.53.1
* Tue Aug 11 2026 Funda Wang <fundawang@yeah.net> - 0.53.0-1
- update to 0.53.0
* Sun Aug 09 2026 Funda Wang <fundawang@yeah.net> - 0.52.0-1
- update to 0.52.0
* Wed Jul 29 2026 Funda Wang <fundawang@yeah.net> - 0.51.0-1
- update to 0.51.0
* Mon Jul 20 2026 Funda Wang <fundawang@yeah.net> - 0.50.1-1
- update to 0.50.1
* Tue Jul 07 2026 Funda Wang <fundawang@yeah.net> - 0.49.0-1
- update to 0.49.0
* Thu Jun 25 2026 xiejing <xiejing@kylinos.cn> - 0.48.0-1
- update to 0.48.0
* Wed Jun 17 2026 xiejing <xiejing@kylinos.cn> - 0.47.0-1
- update to 0.47.0
* Sat May 30 2026 Funda Wang <fundawang@yeah.net> - 0.46.0-1
- update to 0.46.0
* Fri Apr 03 2026 yaoxin <1024769339@qq.com> - 0.40.0-1
- Update to 0.40.0 for fix CVE-2026-33745 and CVE-2026-34441
* Mon Mar 16 2026 yaoxin <1024769339@qq.com> - 0.38.0-1
- Update to 0.38.0 for fix CVE-2026-32627
* Thu Mar 12 2026 Funda Wang <fundawang@yeah.net> - 0.37.1-1
- update to 0.37.1
* Sun Mar 08 2026 Funda Wang <fundawang@yeah.net> - 0.37.0-1
- update to 0.37.0
* Thu Mar 05 2026 yaoxin <1024769339@qq.com> - 0.36.0-1
- Update to 0.36.0 for fix CVE-2026-28434 and CVE-2026-28435
* Tue Jan 13 2026 yaoxin <1024769339@qq.com> - 0.30.1-1
- Update to 0.30.1 for fix CVE-2026-22776
* Fri Jan 02 2026 Funda Wang <fundawang@yeah.net> - 0.30.0-1
- update to 0.30.0
* Fri Nov 14 2025 shaojiansong <shaojiansong@kylinos.cn> - 0.27.0-1
- Update package to version 0.27.0
* SSL Error Reporting Improvements #2251
* SSL Client Certificate Authentication #2250
* IPv6 Host Header Support #2237
* Memory Safety Fix #2232
* EventDispatcher Stability #2257
* Threading Issues #2255, #2256
* Fri Oct 10 2025 Ge Wang <wang__ge@126.com> - 0.26.0-1
- Update package to version 0.26.0
* Addressed an unspecified issue
* handle EAI_ALLDONE from gai_suspend in getaddrinfo_with_timeout
* Resolved issue as discussed in #2224
* Fix inconsistent use of macro TARGET_OS_OSX on macOS
* Mon Aug 25 2025 openeuler_bot <infra@openeuler.sh> - 0.24.0-1
- update cpp-httplib to 0.24.0
* Fri Aug 22 2025 openeuler_bot <infra@openeuler.sh> - 0.23.1-1
- update cpp-httplib to 0.23.1
* Thu Jul 10 2025 openeuler_bot <infra@openeuler.sh> - 0.23.0-1
- update cpp-httplib to 0.23.0
* Tue Jul 01 2025 yaoxin <1024769339@qq.com> - 0.22.0-1
- Update to 0.22.0 for fix CVE-2025-52887
* Wed May 07 2025 yaoxin <1024769339@qq.com> - 0.20.1-1
- Update to 0.20.1 for fix CVE-2025-46728
* Wed Feb 05 2025 yaoxin <1024769339@qq.com> - 0.18.3-2
- Fix CVE-2025-0825
* Thu Jan 16 2025 yaoxin <1024769339@qq.com> - 0.18.3-1
- Update to 0.18.3:
* Regression: Client keep-alive subsequent requests very slow #1997
* 304 Not Modified response stalls until timeout #1998
* Fix the problem that CreateFile2 in mmap::open fails to … #1973
* Default Accept-Encoding header for the client #1975
* SSLClientReconnection fails on Windows #1980
* delay in keep_alive due to sleep #1969
* missing query pararm in httplib::Client::send #1985
* Sun Nov 17 2024 Funda Wang <fundawang@yeah.net> - 0.18.1-1
- update to 0.18.1
* Thu Sep 19 2024 Funda Wang <fundawang@yeah.net> - 0.18.0-1
- update to 0.18.0
* Mon Mar 11 2024 xu_ping <707078654@qq.com> - 0.15.3-1
- Upgrade version to 0.15.3
* Wed Sep 27 2023 Chenxi Mao <chenxi.mao@suse.com> - 0.14.0-2
- Add openssl to build require list to fix build error
* Thu Sep 14 2023 liyanan <thistleslyn@163.com> - 0.14.0-1
- update to 0.14.0
* Tue Jun 13 2023 yaoxin <yao_xin001@hoperun.com> - 0.12.4-1
- Update to 0.12.4 for fix CVE-2023-26130
* Tue Aug 16 2022 jinzhiguang <jinzhiguang@kylinos.cn> - 0.11.1-1
- update to 0.11.1
* Wed Mar 03 2021 Liu Gang <liuganga@uniontech.com>
- cp httplib.h to doc dir for make example
* Mon Oct 12 2020 liqingqing_1229 <liqingqing3@huawei.com>
- update source0's url
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init