Commit aa734712 authored by Klaus Zimmermann's avatar Klaus Zimmermann

Initial commit

dir = $(shell pwd)
pkg = $(notdir $(dir))
spec_file = $(pkg).spec
sources: $(spec_file)
spectool -g $^
%global packname crayon
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 1.3.2
Release: 1%{?dist}
Summary: Colored Terminal Output
Group: Applications/Engineering
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-grDevices R-methods R-utils
# Suggests: R-testthat
# LinkingTo:
# Enhances:
BuildArch: noarch
Requires: R-core
BuildRequires: R-devel tex(latex)
Colored terminal output on terminals that support 'ANSI' color and
highlight codes. It also works in 'Emacs' 'ESS'. 'ANSI' color support is
automatically detected. Colors and highlighting can be combined and
nested. New styles can also be created easily. This package was inspired
by the 'chalk' 'JavaScript' project.
%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
_R_CHECK_FORCE_SUGGESTS_=False %{_bindir}/R CMD check %{packname}
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/LICENSE
%doc %{rlibdir}/%{packname}/
%doc %{rlibdir}/%{packname}/README.markdown
%doc %{rlibdir}/%{packname}/ANSI-256-OSX.png
%doc %{rlibdir}/%{packname}/ANSI-8-OSX.png
%doc %{rlibdir}/%{packname}/logo.png
%doc %{rlibdir}/%{packname}/logo.svg.gz
* Tue May 16 2017 Klaus Zimmermann <> 1.3.2-1
- initial package for Fedora
Markdown is supported
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