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

79 lines
2.1 KiB
RPMSpec
Raw Normal View History

2020-02-25 08:12:50 +00:00
%global packname gamlss.dist
2023-01-22 09:00:30 +00:00
%global packver 6.0-5
2019-02-16 02:23:53 +00:00
%global rlibdir %{_libdir}/R/library
2018-03-27 21:02:05 +00:00
Name: R-%{packname}
2023-01-22 09:00:30 +00:00
Version: 6.0.5
2023-01-22 07:29:04 +00:00
Release: %autorelease
2018-03-27 21:02:05 +00:00
Summary: Distributions for Generalized Additive Models for Location Scale and Shape
License: GPLv2 or GPLv3
2019-01-23 00:55:19 +00:00
URL: https://CRAN.R-project.org/package=%{packname}
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:
2019-03-20 22:02:49 +00:00
# Depends: R-MASS, R-graphics, R-stats, R-methods, R-grDevices
2018-03-27 21:02:05 +00:00
# Imports:
# Suggests:
# LinkingTo:
# Enhances:
2022-08-08 18:07:45 +00:00
BuildRequires: R-devel >= 3.5.0
2018-05-01 05:42:00 +00:00
BuildRequires: tex(latex)
BuildRequires: R-MASS
BuildRequires: R-graphics
BuildRequires: R-stats
BuildRequires: R-methods
2019-03-20 22:02:49 +00:00
BuildRequires: R-grDevices
2018-03-27 21:02:05 +00:00
%description
2019-10-06 01:19:13 +00:00
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.
2018-03-27 21:02:05 +00:00
%prep
%setup -q -c -n %{packname}
# Fix permissions.
2019-05-16 00:22:26 +00:00
chmod -x \
%{packname}/NAMESPACE %{packname}/R/*.R \
%{packname}/man/*.Rd %{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
2021-03-11 05:12:43 +00:00
%doc %{rlibdir}/%{packname}/Distributions-2010.pdf
2018-03-27 21:02:05 +00:00
%changelog
2023-01-22 07:29:04 +00:00
%autochangelog