%global __brp_check_rpaths %{nil} %global packname Plasmidprofiler %global packver 0.1.6 %global rlibdir /usr/local/lib/R/library Name: R-CRAN-%{packname} Version: 0.1.6 Release: 3%{?dist}%{?buildtag} Summary: Visualization of Plasmid Profile Results License: Apache License 2.0 URL: https://cran.r-project.org/package=%{packname} Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz Requires: pandoc BuildRequires: R-devel >= 3.1.2 Requires: R-core >= 3.1.2 BuildArch: noarch BuildRequires: R-CRAN-ape BuildRequires: R-CRAN-dplyr BuildRequires: R-CRAN-gdata BuildRequires: R-CRAN-ggdendro BuildRequires: R-CRAN-ggplot2 BuildRequires: R-grid BuildRequires: R-CRAN-gridExtra BuildRequires: R-CRAN-gtable BuildRequires: R-CRAN-htmlwidgets BuildRequires: R-CRAN-magrittr BuildRequires: R-CRAN-plotly BuildRequires: R-CRAN-plyr BuildRequires: R-CRAN-RColorBrewer BuildRequires: R-CRAN-reshape2 BuildRequires: R-CRAN-stringr Requires: R-CRAN-ape Requires: R-CRAN-dplyr Requires: R-CRAN-gdata Requires: R-CRAN-ggdendro Requires: R-CRAN-ggplot2 Requires: R-grid Requires: R-CRAN-gridExtra Requires: R-CRAN-gtable Requires: R-CRAN-htmlwidgets Requires: R-CRAN-magrittr Requires: R-CRAN-plotly Requires: R-CRAN-plyr Requires: R-CRAN-RColorBrewer Requires: R-CRAN-reshape2 Requires: R-CRAN-stringr %description Contains functions developed to combine the results of querying a plasmid database using short-read sequence typing with the results of a blast analysis against the query results. %prep %setup -q -c -n %{packname} %build %install 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 %files %{rlibdir}/%{packname}