%bcond_without check %global packname discretization %global rlibdir %{_datadir}/R/library %global ver 1.0-1.1 Name: R-%{packname} Version: 1.0.1.1 Release: 6%{?dist} License: GPL-2.0-or-later URL: https://CRAN.R-project.org/package=%{packname} Source: %{url}&version=%{ver}#/%{packname}_%{ver}.tar.gz Summary: Data Preprocessing, Discretization for Classification BuildRequires: R-devel, tex(latex) BuildArch: noarch %description A collection of supervised discretization algorithms. It can also be grouped in terms of top-down or bottom-up, implementing the discretization algorithms. %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 %{with check} export LANG=C.UTF-8 %{_bindir}/R CMD check --ignore-vignettes %{packname} %endif %files %dir %{rlibdir}/%{packname} %doc %{rlibdir}/%{packname}/html %{rlibdir}/%{packname}/DESCRIPTION %{rlibdir}/%{packname}/INDEX %{rlibdir}/%{packname}/NAMESPACE %{rlibdir}/%{packname}/Meta %{rlibdir}/%{packname}/R %{rlibdir}/%{packname}/help %changelog * Thu Apr 25 2024 Iñaki Úcar - 1.0.1.1-6 - R-maint-sig mass rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Iñaki Úcar - 1.0.1.1-2 - R-maint-sig mass rebuild * Wed Apr 5 2023 Iztok Fister Jr. - 1.0.1.1-1 - Initial package