[packages/R-cran-jpeg] Initial

arekm arekm at pld-linux.org
Sun Apr 5 17:48:23 CEST 2026


commit 360a0298485ec9945641c2b3a1dffb82d15f4453
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Apr 5 17:48:10 2026 +0200

    Initial

 R-cran-jpeg.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/R-cran-jpeg.spec b/R-cran-jpeg.spec
new file mode 100644
index 0000000..772dc59
--- /dev/null
+++ b/R-cran-jpeg.spec
@@ -0,0 +1,42 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	jpeg
+Summary:	Read and write JPEG images
+Name:		R-cran-%{modulename}
+Version:	0.1r11
+Release:	1
+License:	GPL v2 | GPL v3
+Group:		Applications/Math
+Source0:	https://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	415c72850990d7889408dcfd29805613
+URL:		https://cran.r-project.org/web/packages/jpeg/index.html
+BuildRequires:	R >= 2.9.0
+BuildRequires:	libjpeg-devel
+Requires(post,postun):	R >= 2.9.0
+Requires(post,postun):	perl-base
+Requires(post,postun):	textutils
+Requires:	R >= 2.9.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides an easy and simple way to read, write and
+display bitmap images stored in the JPEG format. It can read and write
+both files and in-memory raw vectors.
+
+%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,NEWS}
+%{_libdir}/R/library/%{modulename}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/R-cran-jpeg.git/commitdiff/360a0298485ec9945641c2b3a1dffb82d15f4453



More information about the pld-cvs-commit mailing list