[packages/R-cran-deldir] Initial
arekm
arekm at pld-linux.org
Sun Apr 5 17:49:36 CEST 2026
commit e4a9ed48ed16535299d97bfe1114b77854a67907
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Apr 5 17:49:22 2026 +0200
Initial
R-cran-deldir.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
---
diff --git a/R-cran-deldir.spec b/R-cran-deldir.spec
new file mode 100644
index 0000000..0fcaaa3
--- /dev/null
+++ b/R-cran-deldir.spec
@@ -0,0 +1,44 @@
+%define fversion %(echo %{version} |tr r -)
+%define modulename deldir
+Summary: Delaunay Triangulation and Dirichlet (Voronoi) Tessellation
+Name: R-cran-%{modulename}
+Version: 2.0r4
+Release: 1
+License: GPL v2+
+Group: Applications/Math
+Source0: https://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: dba584ac3a3f26871618d7b2c0d2338a
+URL: https://cran.r-project.org/web/packages/deldir/index.html
+BuildRequires: R >= 3.5.0
+BuildRequires: gcc-fortran
+Requires(post,postun): R >= 3.5.0
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+Requires: R >= 3.5.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Calculates the Delaunay triangulation and the Dirichlet or Voronoi
+tessellation (with respect to the entire plane) of a planar point set.
+Plots triangulations and tessellations in various ways. Clips
+tessellations to sub-windows. Calculates perimeters of tessellations.
+Summarises information about the tiles of the tessellation.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/{DESCRIPTION,ChangeLog}
+%{_libdir}/R/library/%{modulename}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/R-cran-deldir.git/commitdiff/e4a9ed48ed16535299d97bfe1114b77854a67907
More information about the pld-cvs-commit
mailing list