summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2020-02-29 22:41:10 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2020-02-29 22:41:10 +0000
commit49e41f8dfa91dee46a256a5b633d19f110aa92f5 (patch)
treeecbe69beee1ff115e73cef107bbc9a46196ba6e0
parent3792ed6363020e3b633cc1f93345d1dd98f06c87 (diff)
automatic import of R-CRAN-slouch
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-slouch.spec66
-rw-r--r--sources1
3 files changed, 68 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..cee96d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/slouch_2.1.4.tar.gz
diff --git a/R-CRAN-slouch.spec b/R-CRAN-slouch.spec
new file mode 100644
index 0000000..d4b53c7
--- /dev/null
+++ b/R-CRAN-slouch.spec
@@ -0,0 +1,66 @@
+%global packname slouch
+%global packver 2.1.4
+%global rlibdir /usr/local/lib/R/library
+
+Name: R-CRAN-%{packname}
+Version: 2.1.4
+Release: 1%{?dist}
+Summary: Stochastic Linear Ornstein-Uhlenbeck Comparative Hypotheses
+
+License: GPL-2
+URL: https://cran.r-project.org/package=%{packname}
+Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
+
+
+BuildRequires: R-devel >= 3.0.0
+Requires: R-core >= 3.0.0
+BuildArch: noarch
+BuildRequires: R-base
+BuildRequires: R-stats
+BuildRequires: R-CRAN-crayon
+BuildRequires: R-parallel
+BuildRequires: R-CRAN-ape
+BuildRequires: R-CRAN-memoise
+Requires: R-base
+Requires: R-stats
+Requires: R-CRAN-crayon
+Requires: R-parallel
+Requires: R-CRAN-ape
+Requires: R-CRAN-memoise
+
+%description
+An implementation of a phylogenetic comparative method. It can fit
+univariate among-species Ornstein-Uhlenbeck models of phenotypic trait
+evolution, where the trait evolves towards a primary optimum. The optimum
+can be modelled as a single parameter, as multiple discrete regimes on the
+phylogenetic tree, and/or with continuous covariates. See also Hansen
+(1997) <doi:10.2307/2411186>, Butler & King (2004) <doi:10.1086/426002>,
+Hansen et al. (2008) <doi:10.1111/j.1558-5646.2008.00412.x>.
+
+%prep
+%setup -q -c -n %{packname}
+
+find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
+
+%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
+
+%files
+%dir %{rlibdir}/%{packname}
+%doc %{rlibdir}/%{packname}/html
+%{rlibdir}/%{packname}/Meta
+%{rlibdir}/%{packname}/help
+%{rlibdir}/%{packname}/data
+%{rlibdir}/%{packname}/DESCRIPTION
+%{rlibdir}/%{packname}/NAMESPACE
+%doc %{rlibdir}/%{packname}/NEWS.md
+%{rlibdir}/%{packname}/R
+%doc %{rlibdir}/%{packname}/doc
+%{rlibdir}/%{packname}/INDEX
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ebd1e4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+35a7875860732c01e4f0799a09313015 slouch_2.1.4.tar.gz