Commit 3c7ec0c0 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 sp
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.2.4
Release: 1%{?dist}
Summary: Classes and Methods for Spatial Data
Group: Applications/Engineering
License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends: R-methods
# Imports: R-utils R-stats R-graphics R-grDevices R-lattice R-grid
# Suggests: R-RColorBrewer R-rgdal R-rgeos R-gstat R-maptools R-deldir
# LinkingTo:
# Enhances:
BuildRequires: R-devel tex(latex)
Classes and methods for spatial data; the classes document where the
spatial location information resides, for 2D or 3D data. Utility functions
are provided, e.g. for plotting data as maps, spatial selection, as well
as methods for retrieving coordinates, for subsetting, print, summary,
%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}/NEWS.Rd
%doc %{rlibdir}/%{packname}/demo
* Tue May 16 2017 Klaus Zimmermann <> 1.2.4-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