diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2025-08-25 12:54:01 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2025-08-25 12:54:01 +0000 |
commit | 263e38c35c085051ec4871c4cc20432ebc8b27af (patch) | |
tree | 0ec4fc46abce35967db7697d75b47f78aa0f33fb | |
parent | d11bd8ebe61c289de97f37e67da3f5df05e21496 (diff) |
automatic import of R-CRAN-elliplotf43
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | R-CRAN-elliplot.spec | 51 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 53 insertions, 0 deletions
@@ -0,0 +1 @@ +/elliplot_1.3.0.tar.gz diff --git a/R-CRAN-elliplot.spec b/R-CRAN-elliplot.spec new file mode 100644 index 0000000..cdb7ed6 --- /dev/null +++ b/R-CRAN-elliplot.spec @@ -0,0 +1,51 @@ +%global __brp_check_rpaths %{nil} +%global packname elliplot +%global packver 1.3.0 +%global rlibdir /usr/local/lib/R/library + +Name: R-CRAN-%{packname} +Version: 1.3.0 +Release: 1%{?dist}%{?buildtag} +Summary: Ellipse Summary Plot of Quantiles + +License: MIT + file LICENSE +URL: https://cran.r-project.org/package=%{packname} +Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz + + +BuildRequires: R-devel +Requires: R-core +BuildArch: noarch +BuildRequires: R-methods +Requires: R-methods + +%description +Correlation chart of two set (x and y) of data. Using Quantiles. +Visualize the effect of factor. + +%prep +%setup -q -c -n %{packname} + +# fix end of executable files +find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \; +# prevent binary stripping +[ -d %{packname}/src ] && find %{packname}/src -type f -exec \ + sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true +[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \ + sed -i 's@-g0@@g' {} \; || true +# don't allow local prefix in executable scripts +find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \; + +%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 +# remove buildroot from installed files +find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \; + +%files +%{rlibdir}/%{packname} @@ -0,0 +1 @@ +c5175a1e55906930d58068df4f58290e elliplot_1.3.0.tar.gz |