Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Oct 29, 2024
1 parent 4045db3 commit 326f46f
Show file tree
Hide file tree
Showing 45 changed files with 923 additions and 96 deletions.
4 changes: 2 additions & 2 deletions specs/R-CRAN-AdverseEvents.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname AdverseEvents
%global packver 0.0.1
%global packver 0.0.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.0.1
Version: 0.0.2
Release: 1%{?dist}%{?buildtag}
Summary: 'shiny' Application for Adverse Event Analysis of 'OnCore' Data

Expand Down
10 changes: 8 additions & 2 deletions specs/R-CRAN-EL.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname EL
%global packver 1.2
%global packver 1.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.2
Version: 1.3
Release: 1%{?dist}%{?buildtag}
Summary: Two-Sample Empirical Likelihood

Expand All @@ -16,6 +16,12 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz

BuildRequires: R-devel
Requires: R-core
BuildRequires: R-stats
BuildRequires: R-CRAN-nleqslv
BuildRequires: R-CRAN-ggplot2
Requires: R-stats
Requires: R-CRAN-nleqslv
Requires: R-CRAN-ggplot2

%description
Empirical likelihood (EL) inference for two-sample problems. The following
Expand Down
8 changes: 4 additions & 4 deletions specs/R-CRAN-Hmisc.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname Hmisc
%global packver 5.1-3
%global packver 5.2-0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 5.1.3
Version: 5.2.0
Release: 1%{?dist}%{?buildtag}
Summary: Harrell Miscellaneous

Expand All @@ -14,8 +14,8 @@ URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel >= 4.1.0
Requires: R-core >= 4.1.0
BuildRequires: R-devel >= 4.2.0
Requires: R-core >= 4.2.0
BuildRequires: R-CRAN-htmlTable >= 1.11.0
BuildRequires: R-methods
BuildRequires: R-CRAN-ggplot2
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-MRG.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname MRG
%global packver 0.2.14
%global packver 0.3.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.2.14
Version: 0.3.1
Release: 1%{?dist}%{?buildtag}
Summary: Create Non-Confidential Multi-Resolution Grids

Expand Down
5 changes: 3 additions & 2 deletions specs/R-CRAN-MomTrunc.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname MomTrunc
%global packver 6.0
%global packver 6.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 6.0
Version: 6.1
Release: 1%{?dist}%{?buildtag}
Summary: Moments of Folded and Doubly Truncated Multivariate Distributions

Expand Down
57 changes: 57 additions & 0 deletions specs/R-CRAN-ProTrackR2.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ProTrackR2
%global packver 0.0.4
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.0.4
Release: 1%{?dist}%{?buildtag}
Summary: Manipulate and Play 'ProTracker' Modules

License: GPL (>= 3)
URL: https://cran.r-project.org/package=%{packname}
Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz


BuildRequires: R-devel
Requires: R-core
BuildRequires: R-CRAN-audio
BuildRequires: R-CRAN-cpp11
Requires: R-CRAN-audio

%description
'ProTracker' is a popular music tracker to sequence music on a Commodore
Amiga machine. This package offers the opportunity to import, export,
manipulate and play 'ProTracker' module files. Even though the file format
could be considered archaic, it still remains popular to this date. This
package intends to contribute to this popularity and therewith keeping the
legacy of 'ProTracker' and the Commodore Amiga alive. This package is the
successor of 'ProTrackR' providing better performance.

%prep
%setup -q -c -n %{packname}

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%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
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
6 changes: 4 additions & 2 deletions specs/R-CRAN-Rdiagnosislist.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname Rdiagnosislist
%global packver 1.2
%global packver 1.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.2
Version: 1.3
Release: 1%{?dist}%{?buildtag}
Summary: Manipulate SNOMED CT Diagnosis Lists

Expand All @@ -17,9 +17,11 @@ Source0: %{url}&version=%{packver}#/%{packname}_%{packver}.tar.gz
BuildRequires: R-devel >= 3.5.0
Requires: R-core >= 3.5.0
BuildArch: noarch
BuildRequires: R-CRAN-readxl
BuildRequires: R-CRAN-data.table
BuildRequires: R-CRAN-bit64
BuildRequires: R-methods
Requires: R-CRAN-readxl
Requires: R-CRAN-data.table
Requires: R-CRAN-bit64
Requires: R-methods
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-SNPassoc.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname SNPassoc
%global packver 2.1-0
%global packver 2.1-2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.1.0
Version: 2.1.2
Release: 1%{?dist}%{?buildtag}
Summary: SNPs-Based Whole Genome Association Studies

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-SVDNF.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname SVDNF
%global packver 0.1.10
%global packver 0.1.11
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.10
Version: 0.1.11
Release: 1%{?dist}%{?buildtag}
Summary: Discrete Nonlinear Filtering for Stochastic Volatility Models

Expand Down
56 changes: 56 additions & 0 deletions specs/R-CRAN-ShinyWizard.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname ShinyWizard
%global packver 1.1.3.11
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.1.3.11
Release: 1%{?dist}%{?buildtag}
Summary: An Interactive Wizard to Design, Build, and Deploy R Packages Demo Presentation

License: GPL (>= 3)
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-base
BuildRequires: R-CRAN-rstudioapi
Requires: R-base
Requires: R-CRAN-rstudioapi

%description
Design, build, and deploy R packages demo presentations by an interactive
wizard. Set up unique title, logo and themes. Add personalized tabs
exposing applicability. And deploy as a part of a package or an
independent app.

%prep
%setup -q -c -n %{packname}

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%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
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
8 changes: 6 additions & 2 deletions specs/R-CRAN-XDNUTS.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname XDNUTS
%global packver 1.2
%global packver 1.5
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.2
Version: 1.5
Release: 1%{?dist}%{?buildtag}
Summary: Discontinuous Hamiltonian Monte Carlo with Varying Trajectory Length

Expand All @@ -19,8 +19,10 @@ Requires: R-core >= 2.10
BuildRequires: R-CRAN-Rcpp >= 1.0.12
BuildRequires: R-base
BuildRequires: R-CRAN-coda
BuildRequires: R-CRAN-ggplot2
BuildRequires: R-graphics
BuildRequires: R-grDevices
BuildRequires: R-CRAN-gridExtra
BuildRequires: R-parallel
BuildRequires: R-CRAN-purrr
BuildRequires: R-CRAN-Rdpack
Expand All @@ -29,8 +31,10 @@ BuildRequires: R-CRAN-RcppArmadillo
Requires: R-CRAN-Rcpp >= 1.0.12
Requires: R-base
Requires: R-CRAN-coda
Requires: R-CRAN-ggplot2
Requires: R-graphics
Requires: R-grDevices
Requires: R-CRAN-gridExtra
Requires: R-parallel
Requires: R-CRAN-purrr
Requires: R-CRAN-Rdpack
Expand Down
54 changes: 54 additions & 0 deletions specs/R-CRAN-bfpwr.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname bfpwr
%global packver 0.1.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.3
Release: 1%{?dist}%{?buildtag}
Summary: Power and Sample Size Calculations for Bayes Factor Analysis

License: GPL-3
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-lamW
Requires: R-CRAN-lamW

%description
Implements z-test, t-test, and normal moment prior Bayes factors based on
summary statistics, along with functionality to perform corresponding
power and sample size calculations as described in Pawel and Held (2024)
<doi:10.48550/arXiv.2406.19940>.

%prep
%setup -q -c -n %{packname}

# fix end of executable files
find -type f -executable -exec grep -Iq . {} \; -exec sed -i -e '$a\' {} \;
# prevent binary stripping
[ -d %{packname}/src ] && find %{packname}/src -type f -exec \
sed -i 's@/usr/bin/strip@/usr/bin/true@g' {} \; || true
[ -d %{packname}/src ] && find %{packname}/src/Make* -type f -exec \
sed -i 's@-g0@@g' {} \; || true
# don't allow local prefix in executable scripts
find -type f -executable -exec sed -Ei 's@#!( )*/usr/local/bin@#!/usr/bin@g' {} \;

%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
# remove buildroot from installed files
find %{buildroot}%{rlibdir} -type f -exec sed -i "s@%{buildroot}@@g" {} \;

%files
%{rlibdir}/%{packname}
Loading

0 comments on commit 326f46f

Please sign in to comment.