summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2021-02-21 21:18:18 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2021-02-21 21:18:18 +0000
commit3f61af5994e1d23e52de5c4d0e9b4ed068db66af (patch)
treef2322f0ed7b9e15e92bf01a122914646613ce2e4
parentc88cb1f62fa73004d9688f12ed88feecfbe4226f (diff)
automatic import of R-CRAN-growthPheno
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-growthPheno.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..55253c2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/growthPheno_1.0-30.tar.gz
diff --git a/R-CRAN-growthPheno.spec b/R-CRAN-growthPheno.spec
new file mode 100644
index 0000000..40fdc24
--- /dev/null
+++ b/R-CRAN-growthPheno.spec
@@ -0,0 +1,79 @@
+%global packname growthPheno
+%global packver 1.0-30
+%global rlibdir /usr/local/lib/R/library
+
+Name: R-CRAN-%{packname}
+Version: 1.0.30
+Release: 1%{?dist}%{?buildtag}
+Summary: Plotting, Smoothing and Growth Trait Extraction for Longitudinal Data
+
+License: GPL (>= 2)
+URL: https://cran.r-project.org/package=%{packname}
+Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
+
+
+BuildRequires: R-devel >= 3.5.0
+Requires: R-core >= 3.5.0
+BuildArch: noarch
+BuildRequires: R-CRAN-dae
+BuildRequires: R-CRAN-ggplot2
+BuildRequires: R-stats
+BuildRequires: R-CRAN-stringi
+BuildRequires: R-CRAN-readxl
+BuildRequires: R-CRAN-Hmisc
+BuildRequires: R-CRAN-GGally
+BuildRequires: R-CRAN-RColorBrewer
+BuildRequires: R-CRAN-reshape
+BuildRequires: R-grid
+Requires: R-CRAN-dae
+Requires: R-CRAN-ggplot2
+Requires: R-stats
+Requires: R-CRAN-stringi
+Requires: R-CRAN-readxl
+Requires: R-CRAN-Hmisc
+Requires: R-CRAN-GGally
+Requires: R-CRAN-RColorBrewer
+Requires: R-CRAN-reshape
+Requires: R-grid
+
+%description
+Assists in producing longitudinal or profile plots of measured traits.
+These allow checks to be made for anomalous data and growth patterns in
+the data to be explored. Smoothing of growth trends for individual plants
+using smoothing splines is available for removing transient effects. There
+are tools for diagnosing the adequacy of trait smoothing, either using
+this package or other packages, such as those that fit nonlinear growth
+models. A range of per-unit (pot, plant, plot) growth traits can be
+extracted from longitudinal data, including single time-point smoothed
+trait values and their growth rates, interval growth rates and other
+growth statistics, such as maximum growth. The package is particularly
+suited to preparing data from high-throughput phenotyping facilities, such
+as imaging data from a Lemna-Tec Scananalyzer 3D (see
+<https://www.youtube.com/watch?v=MRAF_mAEa7E/> for more information). The
+package 'growthPheno' can also be installed from
+<http://chris.brien.name/rpackages/>.
+
+%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
+# 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}
diff --git a/sources b/sources
new file mode 100644
index 0000000..e275425
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3be866acc4bb98c0ca5d4b4779f2ff6b growthPheno_1.0-30.tar.gz