Commit 6b8b989e 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 Cairo
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.5.9
Release: 1%{?dist}
Summary: R graphics device using cairo library for high-quality output
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-grDevices R-graphics
# Suggests: R-png
# LinkingTo:
# Enhances:
Requires: R-png
BuildRequires: R-devel tex(latex)
BuildRequires: R-png
Cairo graphics device that can be use to create high-quality vector (PDF,
PostScript and SVG) and bitmap output (PNG,JPEG,TIFF), and high-quality
rendering in displays (X11 and Win32). Since it uses the same back-end for
all output, copying across formats is WYSIWYG. Files are created without
the dependence on X11 or other external programs. This device supports
alpha channel (semi-transparent drawing) and resulting images can contain
transparent and semi-transparent regions. It is ideal for use in server
environments (file output) and as a replacement for other devices that
don't have Cairo's capabilities such as alpha support or anti-aliasing.
Backends are modular such that any subset of backends is supported.
%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
%{_bindir}/R CMD check %{packname}
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/NEWS
* Wed May 17 2017 Klaus Zimmermann <> 1.5.9-1
- initial package for Fedora
Markdown is supported
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