Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
R-crayon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
packaging
R-crayon
Commits
aa734712
Commit
aa734712
authored
Sep 15, 2017
by
Klaus Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
79 additions
and
0 deletions
+79
-0
Makefile
Makefile
+6
-0
R-crayon.spec
R-crayon.spec
+73
-0
No files found.
Makefile
0 → 100644
View file @
aa734712
dir
=
$(
shell
pwd
)
pkg
=
$(
notdir
$(dir)
)
spec_file
=
$(pkg)
.spec
sources
:
$(spec_file)
spectool
-g
$^
R-crayon.spec
0 → 100644
View file @
aa734712
%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
URL: http://cran.r-project.org/web/packages/%{packname}/index.html
Source0: http://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
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)
%description
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.
%prep
%setup -q -c -n %{packname}
%build
%install
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
%check
_R_CHECK_FORCE_SUGGESTS_=False %{_bindir}/R CMD check %{packname}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/LICENSE
%doc %{rlibdir}/%{packname}/NEWS.md
%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
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%changelog
* Tue May 16 2017 Klaus Zimmermann <klaus.zimmermann@smhi.se> 1.3.2-1
- initial package for Fedora
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment