Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
R-miniUI
Commits
df859c2e
Commit
df859c2e
authored
Sep 15, 2017
by
Klaus Zimmermann
Browse files
Initial commit
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
0 → 100644
View file @
df859c2e
dir
=
$(
shell
pwd
)
pkg
=
$(
notdir
$(dir)
)
spec_file
=
$(pkg)
.spec
sources
:
$(spec_file)
spectool
-g
$^
R-miniUI.spec
0 → 100644
View file @
df859c2e
%global packname miniUI
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 0.1.1
Release: 1%{?dist}
Summary: Shiny UI Widgets for Small Screens
Group: Applications/Engineering
License: GPLv3
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-shiny R-htmltools R-utils
# Suggests:
# LinkingTo:
# Enhances:
BuildArch: noarch
Requires: R-core
Requires: R-shiny R-htmltools
BuildRequires: R-devel tex(latex)
BuildRequires: R-shiny R-htmltools
%description
Provides UI widget and layout functions for writing Shiny apps that work
well on small screens.
%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
%{_bindir}/R CMD check %{packname}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/www/miniUI.css
%changelog
* Thu May 18 2017 Klaus Zimmermann <klaus.zimmermann@smhi.se> 0.1.1-1
- initial package for Fedora
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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