R-gamlss.dist/R-gamlss.dist.spec

84 lines
2.3 KiB
RPMSpec
Raw Normal View History

2018-03-27 21:02:05 +00:00
%global packname gamlss.dist
2018-05-01 05:42:00 +00:00
%global packver 5.0-5
%global rlibdir %{_libdir}/R/library
2018-03-27 21:02:05 +00:00
Name: R-%{packname}
2018-05-01 05:42:00 +00:00
Version: 5.0.5
2018-03-27 21:02:05 +00:00
Release: 1%{?dist}
Summary: Distributions for Generalized Additive Models for Location Scale and Shape
License: GPLv2 or GPLv3
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
2018-05-01 05:42:00 +00:00
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
2018-03-27 21:02:05 +00:00
# Here's the R view of the dependencies world:
2018-05-01 05:42:00 +00:00
# Depends: R-MASS, R-graphics, R-stats, R-methods
2018-03-27 21:02:05 +00:00
# Imports:
# Suggests:
# LinkingTo:
# Enhances:
2018-05-01 05:42:00 +00:00
Requires: R-MASS
Requires: R-graphics
Requires: R-stats
Requires: R-methods
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-MASS
BuildRequires: R-graphics
BuildRequires: R-stats
BuildRequires: R-methods
2018-03-27 21:02:05 +00:00
%description
A set of distributions which can be used for modelling the response
variables in Generalized Additive Models for Location Scale and Shape,
Rigby and Stasinopoulos (2005), <doi:10.1111/j.1467-9876.2005.00510.x>.
The distributions can be continuous, discrete or mixed distributions.
Extra distributions can be created, by transforming, any continuous
distribution defined on the real line, to a distribution defined on
ranges 0 to infinity or 0 to 1, by using a "log" or a "logit"
transformation respectively.
%prep
%setup -q -c -n %{packname}
# Fix permissions.
2018-05-01 05:42:00 +00:00
chmod -x %{packname}/src/ST3.?
2018-03-27 21:02:05 +00:00
%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
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
%changelog
2018-05-01 05:42:00 +00:00
* Tue May 01 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.0.5-1
- Update to latest version
2018-03-27 21:02:05 +00:00
* Sun Mar 25 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.0.4-1
- initial package for Fedora