Commit 32312aaf 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 ggplot2
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 2.2.1
Release: 1%{?dist}
Summary: Create Elegant Data Visualisations Using the Grammar of Graphics
Group: Applications/Engineering
License: GPLv2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends:
# Imports: R-digest R-grid R-gtable R-MASS R-plyr R-reshape2 R-scales R-stats R-tibble R-lazyeval
# Suggests: R-covr R-ggplot2movies R-hexbin R-Hmisc R-lattice R-mapproj R-maps R-maptools R-mgcv R-multcomp R-nlme R-testthat R-quantreg R-knitr R-rpart R-rmarkdown R-svglite
# LinkingTo:
# Enhances:
Requires: R-digest R-gtable R-plyr R-reshape2 R-scales R-tibble R-lazyeval
BuildRequires: R-devel tex(latex)
BuildRequires: R-digest R-gtable R-plyr R-reshape2 R-scales R-tibble R-lazyeval
BuildRequires: R-testthat
A system for 'declaratively' creating graphics, based on "The Grammar of
Graphics". You provide the data, tell 'ggplot2' how to map variables to
aesthetics, what graphical primitives to use, and it takes care of the
%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
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/CITATION
%doc %{rlibdir}/%{packname}/LICENSE
%doc %{rlibdir}/%{packname}/
* Thu May 18 2017 Klaus Zimmermann <> 2.2.1-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