summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2025-04-20 21:32:27 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2025-04-20 21:32:27 +0000
commit70c21f749302ddd4756109492600fbf7dfb40f74 (patch)
tree429b4bf1dfd63ef11e2b6d6b291b8aaa8885d510
parentd109f44a9edffabaf6ba29de67cc8af348c03529 (diff)
automatic import of R-CRAN-DataLoaderf42
-rw-r--r--.gitignore1
-rw-r--r--R-CRAN-DataLoader.spec48
-rw-r--r--sources1
3 files changed, 50 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ea3651e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/DataLoader_1.3.tar.gz
diff --git a/R-CRAN-DataLoader.spec b/R-CRAN-DataLoader.spec
new file mode 100644
index 0000000..baaa85c
--- /dev/null
+++ b/R-CRAN-DataLoader.spec
@@ -0,0 +1,48 @@
+%global __brp_check_rpaths %{nil}
+%global packname DataLoader
+%global packver 1.3
+%global rlibdir /usr/local/lib/R/library
+
+Name: R-CRAN-%{packname}
+Version: 1.3
+Release: 3%{?dist}%{?buildtag}
+Summary: Import Multiple File Types
+
+License: GPL (>= 2)
+URL: https://cran.r-project.org/package=%{packname}
+Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
+
+
+BuildRequires: R-devel
+Requires: R-core
+BuildArch: noarch
+BuildRequires: R-CRAN-readxl
+BuildRequires: R-CRAN-plyr
+BuildRequires: R-tools
+BuildRequires: R-CRAN-xlsx
+BuildRequires: R-CRAN-rChoiceDialogs
+Requires: R-CRAN-readxl
+Requires: R-CRAN-plyr
+Requires: R-tools
+Requires: R-CRAN-xlsx
+Requires: R-CRAN-rChoiceDialogs
+
+%description
+Functions to import multiple files of multiple data file types ('.xlsx',
+'.xls', '.csv', '.txt') from a given directory into R data frames.
+
+%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
+
+%files
+%{rlibdir}/%{packname}
diff --git a/sources b/sources
new file mode 100644
index 0000000..1e2d791
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d19a6bfb24d98ec8f4a05b550ab569a5 DataLoader_1.3.tar.gz