R-httpuv/R-httpuv.spec

228 lines
7.9 KiB
RPMSpec
Raw Normal View History

%bcond_without bootstrap
2020-05-31 07:42:26 +00:00
%global packname httpuv
2024-04-26 15:41:58 +00:00
%global packver 1.6.15
2017-11-09 22:50:05 +00:00
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: %{packver}
Release: 2.0.riscv64%{?dist}
2017-11-09 22:50:05 +00:00
Summary: HTTP and WebSocket Server Library
2018-04-30 09:01:58 +00:00
# Main: GPLv2+; http-parser: MIT; sha1: Public Domain
2023-02-14 17:42:35 +00:00
License: GPL-2.0-or-later AND MIT AND LicenseRef-Fedora-Public-Domain
2019-01-23 00:55:21 +00:00
URL: https://CRAN.R-project.org/package=%{packname}
2020-05-31 07:42:26 +00:00
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
2017-11-09 22:50:05 +00:00
# Here's the R view of the dependencies world:
2019-03-17 06:51:07 +00:00
# Depends:
# Imports: R-Rcpp >= 1.0.7, R-utils, R-R6, R-promises, R-later >= 0.8.0
2019-09-28 01:24:10 +00:00
# Suggests: R-testthat, R-callr, R-curl, R-websocket
2021-04-25 09:29:37 +00:00
# LinkingTo: R-Rcpp, R-later
2017-11-09 22:50:05 +00:00
# Enhances:
2018-04-30 08:50:24 +00:00
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-Rcpp-devel >= 1.0.7
2018-04-30 08:50:24 +00:00
BuildRequires: R-utils
2019-03-17 06:51:07 +00:00
BuildRequires: R-R6
2018-04-30 08:50:24 +00:00
BuildRequires: R-promises
2019-03-17 06:51:07 +00:00
BuildRequires: R-later-devel >= 0.8.0
%if %{without bootstrap}
2018-04-30 08:50:24 +00:00
BuildRequires: R-testthat
BuildRequires: R-callr
2019-03-17 06:51:07 +00:00
BuildRequires: R-curl
2019-09-28 01:24:10 +00:00
BuildRequires: R-websocket
%endif
2018-04-30 09:01:58 +00:00
# Hopefully will be removable in the later releases, but for now it includes
# some patches:
# https://github.com/rstudio/httpuv/pull/93#issuecomment-340802818
2018-04-30 08:50:24 +00:00
Provides: bundled(http-parser) = 2.7.1
2020-05-31 07:42:26 +00:00
BuildRequires: libuv-devel >= 1.37.0
2017-11-09 22:50:05 +00:00
%description
Provides low-level socket and protocol support for handling HTTP and
WebSocket requests directly from within R. It is primarily intended as a
building block for other packages, rather than making it particularly easy
to create complete web applications using httpuv alone. httpuv is built on
top of the libuv and http-parser C libraries, both of which were developed
by Joyent, Inc.
%prep
%setup -q -c -n %{packname}
%build
%install
mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
%check
%if %{without bootstrap}
2019-09-28 01:24:10 +00:00
export LANG=C.UTF-8
2017-11-09 22:50:05 +00:00
%{_bindir}/R CMD check %{packname}
%endif
2017-11-09 22:50:05 +00:00
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%license %{rlibdir}/%{packname}/LICENSE
2018-04-30 08:50:24 +00:00
%doc %{rlibdir}/%{packname}/NEWS.md
2017-11-09 22:50:05 +00:00
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/demo
2024-04-26 15:41:58 +00:00
%{rlibdir}/%{packname}/example-static-site
2018-04-30 08:50:24 +00:00
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
2017-11-09 22:50:05 +00:00
%changelog
* Thu Jul 25 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.6.15-2.0.riscv64
- Bootstrap (riscv64)
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
2024-04-26 15:41:58 +00:00
* Fri Apr 26 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.6.15-1
- Update to latest version
2024-04-25 11:46:44 +00:00
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.6.9-6
- R-maint-sig mass rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-04-21 11:38:27 +00:00
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.6.9-2
- R-maint-sig mass rebuild
2023-02-14 17:42:35 +00:00
* Tue Feb 14 2023 Tom Callaway <spot@fedoraproject.org> - 1.6.9-1
- update to 1.6.9
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-09-09 03:01:25 +00:00
* Thu Sep 8 2022 Tom Callaway <spot@fedoraproject.org> - 1.6.6-1
- update to 1.6.6
* Thu Sep 1 2022 Tom Callaway <spot@fedoraproject.org> - 1.6.5-1
- update to 1.6.5
- rebuild for R 4.2.1
- bootstrap on
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-17 20:48:12 +00:00
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 1.6.1-2
- bootstrap off
* Tue Jun 15 2021 Tom Callaway <spot@fedoraproject.org> - 1.6.1-1
- update to 1.6.1
- bootstrap
- Rebuilt for R 4.1.0
2021-04-25 09:29:37 +00:00
* Sun Apr 25 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.6.0-1
- Update to latest version (#1953099)
2021-02-23 07:00:46 +00:00
* Sun Feb 07 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.5-1
- Update to latest version (#1915692)
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Sep 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.4-3
- Fix websocket handshake on big-endian systems
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-06-07 20:32:12 +00:00
* Sun Jun 7 2020 Tom Callaway <spot@fedoraproject.org> - 1.5.4-1
- update to 1.5.4
- rebuild for R 4
2020-05-31 07:42:26 +00:00
* Sun May 31 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.3.1-1
- Update to latest version
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2019-09-28 01:24:10 +00:00
* Fri Sep 27 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.2-1
- Update to latest version
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.1-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-04-07 06:19:23 +00:00
* Sun Apr 07 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.1-1
- Update to latest version
2019-03-17 06:51:07 +00:00
* Sun Mar 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.0-1
- Update to latest version
2019-02-21 07:19:08 +00:00
* Thu Feb 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.5.1-1
- Update to latest version
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2018-07-22 21:18:54 +00:00
* Sun Jul 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.5-1
- Update to latest version
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-06-22 04:21:20 +00:00
* Fri Jun 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.4.1-1
- Update to latest version
2018-05-17 18:40:24 +00:00
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 1.4.3-2
- rebuild for R 3.5.0
2018-05-12 03:23:21 +00:00
* Fri May 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.3-1
- Update to latest version
2018-05-08 02:01:52 +00:00
* Mon May 07 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.2-1
- Update to latest version
2018-04-30 08:50:24 +00:00
* Mon Apr 30 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.1-1
- Update to latest version
2018-04-30 09:01:58 +00:00
- Unbundle libuv
2018-04-30 08:50:24 +00:00
* Fri Mar 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.6.2-2
- Fix license and changelog
* Fri Mar 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.6.2-1
2018-03-10 00:46:03 +00:00
- Update to latest version
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-03-10 00:46:03 +00:00
* Thu Nov 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.5-2
2017-11-09 22:50:05 +00:00
- Apply patch for CVE-2015-0278
2018-03-10 00:46:03 +00:00
* Tue Oct 31 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.5-1
2017-11-09 22:50:05 +00:00
- initial package for Fedora