Initial import (#1484738).

This commit is contained in:
Elliott Sales de Andrade 2017-08-30 20:22:21 -04:00
parent 18688f1fc4
commit 625f960c09
4 changed files with 69 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/png_0.1-7.tar.gz

67
R-png.spec Normal file
View File

@ -0,0 +1,67 @@
%global packname png
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.1.7
Release: 3%{?dist}
Summary: Read and write PNG images
License: GPLv2+
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_0.1-7.tar.gz
# Here's the R view of the dependencies world:
# Depends:
# Imports:
# Suggests:
# LinkingTo:
# Enhances:
BuildRequires: R-devel tex(latex)
BuildRequires: libpng-devel
%description
This package provides an easy and simple way to read, write and display
bitmap images stored in the PNG format. It can read and write both files
and in-memory raw vectors.
%prep
%setup -q -c -n %{packname}
%build
%install
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
%check
%{_bindir}/R CMD check %{packname}
%files
%dir %{rlibdir}/%{packname}
%dir %{rlibdir}/%{packname}/img
%{rlibdir}/%{packname}/img/Rlogo.png
%doc %{rlibdir}/%{packname}/html
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%changelog
* Tue Aug 29 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.1.7-3
- Add explicit directory listings.
* Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.1.7-2
- Fix license and use https links.
* Fri Feb 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.1.7-1
- initial package for Fedora

View File

@ -1,3 +0,0 @@
# R-png
The R-png package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (png_0.1-7.tar.gz) = 033a2a45e0fc55a9975257397162ceac0416afb47bbf266025e1ed00790ea1261d1254255aa09cd8828e034b0cd8006cc5e26c9f732ec996dcbec3c937e00f5f