Initial import (#1560361).

This commit is contained in:
Elliott Sales de Andrade 2018-03-27 17:02:05 -04:00
parent f24405e830
commit 89e9862e05
4 changed files with 75 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/gamlss.dist_5.0-4.tar.gz

73
R-gamlss.dist.spec Normal file
View File

@ -0,0 +1,73 @@
%global packname gamlss.dist
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 5.0.4
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
Source0: https://cran.r-project.org/src/contrib/%{packname}_5.0-4.tar.gz
# Here's the R view of the dependencies world:
# Depends: R-MASS R-graphics R-stats R-methods
# Imports:
# Suggests:
# LinkingTo:
# Enhances:
Requires: R-MASS R-graphics R-stats R-methods
BuildRequires: R-devel tex(latex) R-MASS R-graphics R-stats R-methods
%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.
chmod -x %{packname}/src/ST3.c
%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
* Sun Mar 25 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 5.0.4-1
- initial package for Fedora

View File

@ -1,3 +0,0 @@
# R-gamlss.dist
The R-gamlss.dist package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (gamlss.dist_5.0-4.tar.gz) = 65961e89a0311cfbe7fdd0a9d78da15b6a8bc5f58eb2b6aed428dc23cb6fcc152c0eaec03efefdde563d9b446e4933f6e0387997c844a143fa089f794f565901