Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Aug 26, 2024
1 parent 99f06a4 commit 511025a
Show file tree
Hide file tree
Showing 19 changed files with 103 additions and 510 deletions.
4 changes: 2 additions & 2 deletions specs/R-CRAN-GWalkR.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 GWalkR
%global packver 0.1.4
%global packver 0.1.5
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.4
Version: 0.1.5
Release: 1%{?dist}%{?buildtag}
Summary: Interactive Exploratory Data Analysis Tool

Expand Down
22 changes: 18 additions & 4 deletions specs/R-CRAN-RANN.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname RANN
%global packver 2.6.1
%global packver 2.6.2
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 2.6.1
Release: 3%{?dist}%{?buildtag}
Summary: Fast Nearest Neighbour Search (Wraps ANN Library) Using L2Metric
Version: 2.6.2
Release: 1%{?dist}%{?buildtag}
Summary: Fast Nearest Neighbour Search (Wraps ANN Library) Using L2 Metric

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

Expand All @@ -26,14 +28,26 @@ L1 (Manhattan, taxicab) metric.
%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}
4 changes: 2 additions & 2 deletions specs/R-CRAN-apache.sedona.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 apache.sedona
%global packver 1.6.0
%global packver 1.6.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.6.0
Version: 1.6.1
Release: 1%{?dist}%{?buildtag}
Summary: R Interface for Apache Sedona

Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-cpp11armadillo.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 cpp11armadillo
%global packver 0.2.8
%global packver 0.3.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.2.8
Version: 0.3.1
Release: 1%{?dist}%{?buildtag}
Summary: An 'Armadillo' Interface

Expand Down
116 changes: 0 additions & 116 deletions specs/R-CRAN-datelife.spec

This file was deleted.

28 changes: 20 additions & 8 deletions specs/R-CRAN-elhmc.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
%global __brp_check_rpaths %{nil}
%global __requires_exclude ^libmpi
%global packname elhmc
%global packver 1.1.0
%global packver 1.2.0
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 1.1.0
Release: 3%{?dist}%{?buildtag}
Summary: Sampling from a Empirical Likelihood Bayesian Posterior ofParameters Using Hamiltonian Monte Carlo
Version: 1.2.0
Release: 1%{?dist}%{?buildtag}
Summary: Sampling from a Empirical Likelihood Bayesian Posterior of Parameters Using Hamiltonian Monte Carlo

License: GPL-2
URL: https://cran.r-project.org/package=%{packname}
Expand All @@ -19,13 +20,13 @@ BuildArch: noarch
BuildRequires: R-CRAN-emplik
BuildRequires: R-CRAN-plyr
BuildRequires: R-stats
BuildRequires: R-MASS
BuildRequires: R-utils
BuildRequires: R-CRAN-MASS
BuildRequires: R-graphics
Requires: R-CRAN-emplik
Requires: R-CRAN-plyr
Requires: R-stats
Requires: R-MASS
Requires: R-utils
Requires: R-CRAN-MASS
Requires: R-graphics

%description
A tool to draw samples from a Empirical Likelihood Bayesian posterior of
Expand All @@ -34,6 +35,15 @@ parameters using Hamiltonian Monte Carlo.
%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

Expand All @@ -43,6 +53,8 @@ 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}
69 changes: 0 additions & 69 deletions specs/R-CRAN-fixedincome.spec

This file was deleted.

11 changes: 5 additions & 6 deletions specs/R-CRAN-governor.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 governor
%global packver 0.1.2
%global packver 0.1.3
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.2
Version: 0.1.3
Release: 1%{?dist}%{?buildtag}
Summary: Speed Limiter to Control Rate of Execution of Loops

Expand All @@ -18,10 +18,9 @@ BuildRequires: R-devel
Requires: R-core

%description
Speed limiter for controlling rate of execution of loops. It can be
necessary to limit the rate of execution of a loop or repeated function
call e.g. to show or gather data only at particular intervals. This
package includes two methods for limiting this execution rate; speed
It can be necessary to limit the rate of execution of a loop or repeated
function call e.g. to show or gather data only at particular intervals.
This package includes two methods for limiting this execution rate; speed
governors and timers. A speed governor will insert pauses during
execution to meet a user-specified loop time. Timers are alarm clocks
which will indicate whether a certain time has passed. These mechanisms
Expand Down
4 changes: 2 additions & 2 deletions specs/R-CRAN-holi.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 holi
%global packver 0.1.0
%global packver 0.1.1
%global rlibdir /usr/local/lib/R/library

Name: R-CRAN-%{packname}
Version: 0.1.0
Version: 0.1.1
Release: 1%{?dist}%{?buildtag}
Summary: Higher Order Likelihood Inference Web Applications

Expand Down
Loading

0 comments on commit 511025a

Please sign in to comment.