%define modulename cairoDevice %define realver 2.19 %define r_library %{_libdir}/R/library %define _requires_exceptions libR.so Summary: A cairo antialiased graphics device driver for R Name: R-cran-%{modulename} Version: %realver Release: %mkrel 2 License: GPLv2+ Group: Sciences/Mathematics Url: http://cran.r-project.org/web/packages/%{modulename}/index.html Source0: http://cran.r-project.org/src/contrib/%{modulename}_%{realver}.tar.gz BuildRequires: R-base BuildRequires: gtk2-devel Requires: R-base Suggests: R-cran-RGtk2 %description Cairo/GTK graphics device driver with output to screen, file (png, svg, pdf, and ps) or memory (GdkDrawable). The screen device may be embedded into RGtk2 interfaces. Supports all interactive features of other graphics devices, including getGraphicsEvent(). %prep %setup -q -c %build R CMD build %{modulename} %install mkdir -p %{buildroot}/%{r_library} # (tpg) install R CMD INSTALL %{modulename} --library=%{buildroot}/%{r_library} --no-test-load # (tpg) provided by R-base rm -rf %{buildroot}%{_libdir}/R/library/R.css %files %{_libdir}/R/library/%{modulename} %changelog * Fri Jan 11 2013 umeabot <umeabot> 2.19-2.mga3 + Revision: 345080 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jul 26 2012 sander85 <sander85> 2.19-1.mga3 + Revision: 274498 - New version: 2.19 * Thu Jun 16 2011 ahmad <ahmad> 2.15-1.mga2 + Revision: 108326 - Update to 2.15 - Use --no-test-load since we don't have X running the chroot - imported package R-cran-cairoDevice