Blob Blame History Raw
%global packname  quadprog
%global packvers  1.5-5
%global rlibdir  %{_libdir}/R/library

Name:             R-%{packname}
Version:          1.5.5
Release:          2%{?dist}
Summary:          Functions to solve Quadratic Programming Problems

License:          GPLv2+
URL:    {packname}/index.html
Patch0001:        Fix-FSF-address.patch

# Here's the R view of the dependencies world:
# Depends:
# Imports:
# Suggests:
# LinkingTo:
# Enhances:

BuildRequires:    R-devel
BuildRequires:    tex(latex)

This package contains routines and documentation for solving quadratic
programming problems.

%setup -q -c -n %{packname}

pushd %{packname}
%patch0001 -p1


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

%{_bindir}/R CMD check %{packname}

%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%dir %{rlibdir}/%{packname}/libs

* Wed May 30 2018 Elliott Sales de Andrade <> - 1.5.5-2
- Rebuild for R 3.5.0

* Sun May 06 2018 Elliott Sales de Andrade <> - 1.5.5-1
- initial package for Fedora