From 26ea86edbfc0580acc69e03f2698e34f9369e3cd Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 27 Mar 2018 19:33:43 -0400 Subject: [PATCH] Initial import (#1559738). --- .gitignore | 1 + R-ape.spec | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 3 -- sources | 1 + 4 files changed, 84 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 R-ape.spec delete mode 100644 README.md create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9e8aebc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/ape_5.0.tar.gz diff --git a/R-ape.spec b/R-ape.spec new file mode 100644 index 0000000..f03dc49 --- /dev/null +++ b/R-ape.spec @@ -0,0 +1,82 @@ +%global packname ape +%global rlibdir %{_libdir}/R/library + + +Name: R-%{packname} +Version: 5.0 +Release: 1%{?dist} +Summary: Analyses of Phylogenetics and Evolution + +License: GPLv2+ +URL: https://cran.r-project.org/web/packages/%{packname}/index.html +Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz + +# Here's the R view of the dependencies world: +# Depends: +# Imports: R-nlme R-lattice R-graphics R-methods R-stats R-tools R-utils R-parallel R-Rcpp +# Suggests: R-gee R-expm +# LinkingTo: +# Enhances: + +Requires: R-nlme R-lattice R-graphics R-methods R-stats R-tools R-utils R-parallel R-Rcpp +Suggests: R-gee R-expm +BuildRequires: R-devel tex(latex) +BuildRequires: R-nlme R-lattice R-graphics R-methods R-stats R-tools R-utils R-parallel R-Rcpp-devel +BuildRequires: R-gee R-expm + +%description +Functions for reading, writing, plotting, and manipulating phylogenetic +trees, analyses of comparative data in a phylogenetic framework, ancestral +character analyses, analyses of diversification and macroevolution, +computing distances from DNA sequences, reading and writing nucleotide +sequences as well as importing from BioConductor, and several tools such +as Mantel's test, generalized skyline plots, graphical exploration of +phylogenetic data (alex, trex, kronoviz), estimation of absolute +evolutionary rates and clock-like trees using mean path lengths and +penalized likelihood, dating trees with non-contemporaneous sequences, +translating DNA into AA sequences, and assessing sequence alignments. +Phylogeny estimation can be done with the NJ, BIONJ, ME, MVR, SDM, and +triangle methods, and several methods handling incomplete distance +matrices (NJ*, BIONJ*, MVR*, and the corresponding triangle method). Some +functions call external applications (PhyML, Clustal, T-Coffee, Muscle) +whose results are returned into R. + + +%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 +%{_bindir}/R CMD check %{packname} + + +%files +%dir %{rlibdir}/%{packname} +%doc %{rlibdir}/%{packname}/doc +%doc %{rlibdir}/%{packname}/html +%{rlibdir}/%{packname}/DESCRIPTION +%doc %{rlibdir}/%{packname}/CITATION +%doc %{rlibdir}/%{packname}/NEWS +%{rlibdir}/%{packname}/INDEX +%{rlibdir}/%{packname}/NAMESPACE +%{rlibdir}/%{packname}/Meta +%{rlibdir}/%{packname}/R +%{rlibdir}/%{packname}/help +%dir %{rlibdir}/%{packname}/libs +%{rlibdir}/%{packname}/libs/%{packname}.so +%{rlibdir}/%{packname}/data + + +%changelog +* Fri Mar 23 2018 Elliott Sales de Andrade - 5.0-1 +- initial package for Fedora diff --git a/README.md b/README.md deleted file mode 100644 index 891d566..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# R-ape - -The R-ape package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..cb0b670 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (ape_5.0.tar.gz) = ea67c3be6206e9efc17065bfa8db7afd98bf7d309cb952a9285377d425afee5d6a94bceabf10a29ad94fc74eb2b1210447b93ef41b957814b05056d806a65b60