!1 Init package
From: @misaka00251 Reviewed-by: @laokz Signed-off-by: @laokz
This commit is contained in:
commit
065ae042c7
71
R-bit64.spec
Normal file
71
R-bit64.spec
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
%global packname bit64
|
||||||
|
%global packver 4.0.5
|
||||||
|
%global rlibdir %{_libdir}/R/library
|
||||||
|
|
||||||
|
Name: R-%{packname}
|
||||||
|
Version: 4.0.5
|
||||||
|
Release: 1
|
||||||
|
Summary: A S3 Class for Vectors of 64bit Integers
|
||||||
|
|
||||||
|
License: GPLv2 or GPLv3
|
||||||
|
URL: https://CRAN.R-project.org/package=%{packname}
|
||||||
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: R-devel
|
||||||
|
BuildRequires: tex(latex)
|
||||||
|
BuildRequires: R-bit >= 4.0.0
|
||||||
|
BuildRequires: R-utils
|
||||||
|
BuildRequires: R-methods
|
||||||
|
BuildRequires: R-stats
|
||||||
|
|
||||||
|
%description
|
||||||
|
Package 'bit64' provides serializable S3 atomic 64bit (signed) integers. These
|
||||||
|
are useful for handling database keys and exact counting in +-2^63. WARNING: do
|
||||||
|
not use them as replacement for 32bit integers, integer64 are not supported for
|
||||||
|
subscripting by R-core and they have different semantics when combined with
|
||||||
|
double, e.g. integer64 + double => integer64. Class integer64 can be used in
|
||||||
|
vectors, matrices, arrays and data.frames. Methods are available for coercion
|
||||||
|
from and to logicals, integers, doubles, characters and factors as well as many
|
||||||
|
elementwise and summary functions. Many fast algorithmic operations such as
|
||||||
|
'match' and 'order' support interactive data exploration and manipulation and
|
||||||
|
optionally leverage caching.
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
rm -r %{buildroot}%{rlibdir}/%{packname}/exec
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{_bindir}/R CMD check %{packname}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{rlibdir}/%{packname}
|
||||||
|
%doc %{rlibdir}/%{packname}/doc
|
||||||
|
%doc %{rlibdir}/%{packname}/html
|
||||||
|
%{rlibdir}/%{packname}/DESCRIPTION
|
||||||
|
%doc %{rlibdir}/%{packname}/NEWS
|
||||||
|
%{rlibdir}/%{packname}/INDEX
|
||||||
|
%{rlibdir}/%{packname}/NAMESPACE
|
||||||
|
%{rlibdir}/%{packname}/Meta
|
||||||
|
%{rlibdir}/%{packname}/R
|
||||||
|
%{rlibdir}/%{packname}/help
|
||||||
|
%{rlibdir}/%{packname}/data
|
||||||
|
%dir %{rlibdir}/%{packname}/libs
|
||||||
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jun 15 2022 misaka00251 <misaka00251@misakanet.cn> - 4.0.5-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
BIN
bit64_4.0.5.tar.gz
Normal file
BIN
bit64_4.0.5.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user