Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
packaging
R-sp
Commits
3c7ec0c0
Commit
3c7ec0c0
authored
Sep 15, 2017
by
Klaus Zimmermann
Browse files
Initial commit
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
0 → 100644
View file @
3c7ec0c0
dir
=
$(
shell
pwd
)
pkg
=
$(
notdir
$(dir)
)
spec_file
=
$(pkg)
.spec
sources
:
$(spec_file)
spectool
-g
$^
R-sp.spec
0 → 100644
View file @
3c7ec0c0
%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+
URL: http://cran.r-project.org/web/packages/%{packname}/index.html
Source0: http://cran.r-project.org/src/contrib/%{packname}_1.2-4.tar.gz
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)
%description
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,
%prep
%setup -q -c -n %{packname}
%build
%install
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
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/CITATION
%doc %{rlibdir}/%{packname}/NEWS.Rd
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/data
%doc %{rlibdir}/%{packname}/demo
%{rlibdir}/%{packname}/external
%{rlibdir}/%{packname}/include/sp.h
%{rlibdir}/%{packname}/include/sp_xports.c
%{rlibdir}/%{packname}/libs/sp.so
%changelog
* Tue May 16 2017 Klaus Zimmermann <klaus.zimmermann@smhi.se> 1.2.4-1
- initial package for Fedora
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment