Blame R-gapminder.spec

c759e9
%global packname  gapminder
c759e9
%global rlibdir  %{_datadir}/R/library
c759e9
c759e9
Name:             R-%{packname}
c759e9
Version:          0.3.0
02b44d
Release:          3%{?dist}
c759e9
Summary:          Data from Gapminder
c759e9
c759e9
License:          CC0
c759e9
URL:              https://CRAN.R-project.org/package=%{packname}
c759e9
Source0:          https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
c759e9
c759e9
# Here's the R view of the dependencies world:
c759e9
# Depends:
c759e9
# Imports:   R-tibble
c759e9
# Suggests:  R-dplyr, R-ggplot2, R-testthat
c759e9
# LinkingTo:
c759e9
# Enhances:
c759e9
c759e9
BuildArch:        noarch
c759e9
BuildRequires:    R-devel
c759e9
BuildRequires:    tex(latex)
c759e9
BuildRequires:    R-tibble
c759e9
BuildRequires:    R-dplyr
c759e9
BuildRequires:    R-ggplot2
c759e9
BuildRequires:    R-testthat
c759e9
c759e9
%description
c759e9
An excerpt of the data available at Gapminder.org. For each of 142 countries,
c759e9
the package provides values for life expectancy, GDP per capita, and
c759e9
population, every five years, from 1952 to 2007.
c759e9
c759e9
c759e9
%prep
c759e9
%setup -q -c -n %{packname}
c759e9
c759e9
c759e9
%build
c759e9
c759e9
c759e9
%install
c759e9
mkdir -p %{buildroot}%{rlibdir}
c759e9
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
c759e9
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
c759e9
rm -f %{buildroot}%{rlibdir}/R.css
c759e9
c759e9
c759e9
%check
c759e9
%{_bindir}/R CMD check %{packname}
c759e9
c759e9
c759e9
%files
c759e9
%dir %{rlibdir}/%{packname}
c759e9
%doc %{rlibdir}/%{packname}/html
c759e9
%{rlibdir}/%{packname}/DESCRIPTION
c759e9
%doc %{rlibdir}/%{packname}/NEWS.md
c759e9
%{rlibdir}/%{packname}/INDEX
c759e9
%{rlibdir}/%{packname}/NAMESPACE
c759e9
%{rlibdir}/%{packname}/Meta
c759e9
%{rlibdir}/%{packname}/R
c759e9
%{rlibdir}/%{packname}/help
c759e9
%{rlibdir}/%{packname}/data
c759e9
%{rlibdir}/%{packname}/extdata
c759e9
c759e9
c759e9
%changelog
02b44d
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-3
02b44d
- Remove explicit dependencies provided by automatic dependency generator
02b44d
9f19c9
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
9f19c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9f19c9
c759e9
* Wed Mar 20 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-1
c759e9
- initial package for Fedora