Commit 7803bb8f 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 shinyjs
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.9
Release: 1%{?dist}
Summary: Easily Improve the User Experience of Your Shiny Apps in Seconds
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-digest R-htmltools R-jsonlite R-miniUI R-shiny R-stats
# Suggests: R-knitr R-rmarkdown R-rstudioapi R-shinyAce R-testthat R-V8
# LinkingTo:
# Enhances:
Requires: R-digest R-htmltools R-jsonlite R-miniUI R-shiny
BuildRequires: R-devel tex(latex)
BuildRequires: R-digest R-htmltools R-jsonlite R-miniUI R-shiny
Perform common useful JavaScript operations in Shiny apps that will
greatly improve your apps without having to know any JavaScript. Examples
include: hiding an element, disabling an input, resetting an input back to
its original value, delaying code execution by a few seconds, and many
more useful functions for both the end user and the developer. 'shinyjs'
can also be used to easily call your own custom JavaScript functions from
%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}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/LICENSE
%doc %{rlibdir}/%{packname}/
%doc %{rlibdir}/%{packname}/examples
* Thu May 18 2017 Klaus Zimmermann <> 0.9-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