%global packname plogr %global packver 0.2.0 Name: R-%{packname} Version: %{packver} Release: 21%{?dist} Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}.tar.gz License: MIT URL: http://cran.r-project.org/web/packages/%{packname}/index.html Summary: C++ Logging Library for R BuildRequires: R-devel >= 3.0.0, tex(latex), R-Rcpp-devel BuildArch: noarch %description A simple header-only logging library for C++. Add 'LinkingTo: plogr' to 'DESCRIPTION', and '#include ' in your C++ modules to use it. %package devel Requires: %{name} = %{version}-%{release} Summary: Devel files for R-plogr %description devel Development files for R-plogr. %prep %setup -q -c -n %{packname} %build %install mkdir -p $RPM_BUILD_ROOT%{_datadir}/R/library %{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_datadir}/R/library %{packname} test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so) rm -rf $RPM_BUILD_ROOT%{_datadir}/R/library/R.css %check %{_bindir}/R CMD check %{packname} %files %dir %{_datadir}/R/library/%{packname} %doc %{_datadir}/R/library/%{packname}/html %license %{_datadir}/R/library/%{packname}/LICENSE %{_datadir}/R/library/%{packname}/DESCRIPTION %{_datadir}/R/library/%{packname}/INDEX %{_datadir}/R/library/%{packname}/NAMESPACE %{_datadir}/R/library/%{packname}/NEWS.md %{_datadir}/R/library/%{packname}/Meta %{_datadir}/R/library/%{packname}/help %{_datadir}/R/library/%{packname}/R %files devel %{_datadir}/R/library/%{packname}/include %changelog * Wed Jul 17 2024 Fedora Release Engineering - 0.2.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Iñaki Úcar - 0.2.0-20 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.2.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 0.2.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 0.2.0-16 - R-maint-sig mass rebuild * Wed Jan 18 2023 Fedora Release Engineering - 0.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 25 2022 Tom Callaway - 0.2.0-14 - rebuild for R 4.2.1 * Wed Jul 20 2022 Fedora Release Engineering - 0.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 0.2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 0.2.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jun 14 2021 Tom Callaway - 0.2.0-10 - Rebuilt for R 4.1.0 * Mon Jan 25 2021 Fedora Release Engineering - 0.2.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 5 2020 Tom Callaway - 0.2.0-7 - rebuild for R 4 * Tue Jan 28 2020 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 12 2019 Elliott Sales de Andrade - 0.2.0-5 - Remove explicit dependencies provided by automatic dependency generator * Wed Jul 24 2019 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 16 2018 Tom Callaway - 0.2.0-1 - update to 0.2.0 * Fri Mar 23 2018 Tom Callaway - 0.1.1-4 - rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 30 2017 Tom Callaway - 0.1.1-1 - initial package