R-ape/R-ape.spec

142 lines
4.7 KiB
RPMSpec
Raw Normal View History

2020-07-25 00:33:51 +00:00
%global packname ape
%global packver 5.4
2018-03-27 23:33:43 +00:00
%global rlibdir %{_libdir}/R/library
2020-06-06 03:57:14 +00:00
%bcond_with bootstrap
2018-03-27 23:33:43 +00:00
Name: R-%{packname}
2020-07-25 00:33:51 +00:00
Version: 5.4
Release: 2%{?dist}
2018-03-27 23:33:43 +00:00
Summary: Analyses of Phylogenetics and Evolution
License: GPLv2+
2019-01-23 00:55:15 +00:00
URL: https://CRAN.R-project.org/package=%{packname}
2020-07-25 00:33:51 +00:00
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
2018-03-27 23:33:43 +00:00
# Here's the R view of the dependencies world:
# Depends:
2019-01-23 02:19:44 +00:00
# Imports: R-nlme, R-lattice, R-graphics, R-methods, R-stats, R-tools, R-utils, R-parallel, R-Rcpp >= 0.12.0
# Suggests: R-gee, R-expm, R-igraph
2018-03-27 23:33:43 +00:00
# LinkingTo:
# Enhances:
2019-01-23 02:19:44 +00:00
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-nlme
BuildRequires: R-lattice
BuildRequires: R-graphics
BuildRequires: R-methods
BuildRequires: R-stats
BuildRequires: R-tools
BuildRequires: R-utils
BuildRequires: R-parallel
BuildRequires: R-Rcpp-devel >= 0.12.0
%if %{without bootstrap}
2019-01-23 02:19:44 +00:00
BuildRequires: R-gee
BuildRequires: R-expm
BuildRequires: R-igraph
%endif
2018-03-27 23:33:43 +00:00
%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
2020-07-25 00:33:51 +00:00
sequences as well as importing from BioConductor, and several tools such as
Mantel's test, generalized skyline plots, graphical exploration of
2018-03-27 23:33:43 +00:00
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
2020-07-25 00:33:51 +00:00
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.
2018-03-27 23:33:43 +00:00
%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 %{without bootstrap}
2018-03-27 23:33:43 +00:00
%{_bindir}/R CMD check %{packname}
%else
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples
%endif
2019-01-23 02:19:44 +00:00
2018-03-27 23:33:43 +00:00
%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
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-25 00:33:51 +00:00
* Tue Jul 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.4-1
- Update to latest version
2020-06-06 03:57:14 +00:00
* Fri Jun 5 2020 Tom Callaway <spot@fedoraproject.org> - 5.3-7
- rebuild for R 4
- turnoff bootstrap
* Sun Feb 23 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.3-6
- Add bootstrap setup to build without igraph
* Tue Feb 18 2020 Tom Callaway <spot@fedoraproject.org> - 5.3-5
- rebuild against R without libRlapack.so
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.3-3
- Remove explicit dependencies provided by automatic dependency generator
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-03-18 03:09:30 +00:00
* Sun Mar 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.3-1
- Update to latest version
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2019-01-23 02:19:44 +00:00
* Tue Jan 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.2-1
- Update to latest version
- Re-enable build checks
- Re-arrange to match latest template
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-05-17 15:07:29 +00:00
* Wed May 16 2018 Tom Callaway <spot@fedoraproject.org> - 5.1-1
- update to 5.1, rebuild for R 3.5.0
2018-03-27 23:33:43 +00:00
* Fri Mar 23 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.0-1
- initial package for Fedora