Commit 0564236f 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 raster
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 2.5.8
Release: 1%{?dist}
Summary: Geographic Data Analysis and Modeling
Group: Applications/Engineering
License: GPLv3+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends: R-methods R-sp
# Imports: R-Rcpp
# Suggests: R-rgdal R-rgeos R-ncdf4 R-igraph R-tcltk R-parallel R-rasterVis
# LinkingTo:
# Enhances:
Requires: R-sp
Requires: R-Rcpp
BuildRequires: R-devel tex(latex) R-sp
BuildRequires: R-Rcpp
Reading, writing, manipulating, analyzing and modeling of gridded spatial
data. The package implements basic and high-level functions. Processing of
very large files 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
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
* Wed May 17 2017 Klaus Zimmermann <> 2.5.8-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