Commit 85dccad1 authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Initial commit

dir = $(shell pwd)
pkg = $(notdir $(dir))
spec_file = $(pkg).spec
sources: $(spec_file)
spectool -g $^
%global packname futile.logger
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 1.4.3
Release: 1%{?dist}
Summary: A Logging Utility for R
Group: Applications/Engineering
License: LGPLv3
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-utils R-lambda.r R-futile.options
# Suggests: R-testthat R-jsonlite
# LinkingTo:
# Enhances:
BuildArch: noarch
Requires: R-core
Requires: R-lambda.r R-futile.options
BuildRequires: R-devel tex(latex)
BuildRequires: R-lambda.r R-futile.options
BuildRequires: R-testthat R-jsonlite
Provides a simple yet powerful logging utility. Based loosely on log4j,
futile.logger takes advantage of R idioms to make logging a convenient and
easy to use replacement for cat and print statements.
%setup -q -c -n %{packname}
rm -rf %{buildroot}
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}
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
* Wed May 17 2017 Klaus Zimmermann <> 1.4.3-1
- initial package for Fedora
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment