64 lines
2.3 KiB
RPMSpec
64 lines
2.3 KiB
RPMSpec
%global packname expm
|
|
%global packver 0.99
|
|
%global packrel 1.1
|
|
|
|
Name: R-%{packname}
|
|
Version: %{packver}.%{packrel}
|
|
Release: 4%{?dist}
|
|
Source0: ftp://cran.r-project.org/pub/R/contrib/main/%{packname}_%{packver}-%{packrel}.tar.gz
|
|
License: GPLv2+
|
|
URL: http://cran.r-project.org/web/packages/expm
|
|
Group: Applications/Engineering
|
|
Summary: Computation of the matrix exponential and related quantities
|
|
BuildRequires: R-devel >= 3.1.0-5, tetex-latex, R-Matrix
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Requires: R-core >= 3.1.0, R-Matrix
|
|
|
|
%description
|
|
Efficient calculation of the exponential of a matrix. The package
|
|
contains an R interface and a C API that package authors can use.
|
|
|
|
%prep
|
|
%setup -q -c -n %{packname}
|
|
|
|
%build
|
|
|
|
%install
|
|
# Specific installation procedure for R
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/R/library
|
|
%{_bindir}/R CMD INSTALL -l $RPM_BUILD_ROOT%{_libdir}/R/library %{packname}
|
|
|
|
%check
|
|
# Needs unpackaged 'RColorBrewer' 'sfsmisc'
|
|
# %%{_bindir}/R CMD check %%{packname}
|
|
|
|
%files
|
|
%dir %{_libdir}/R/library/%{packname}
|
|
%doc %{_libdir}/R/library/%{packname}/data
|
|
%doc %{_libdir}/R/library/%{packname}/doc
|
|
%doc %{_libdir}/R/library/%{packname}/html
|
|
%doc %{_libdir}/R/library/%{packname}/DESCRIPTION
|
|
%{_libdir}/R/library/%{packname}/INDEX
|
|
%{_libdir}/R/library/%{packname}/NAMESPACE
|
|
%{_libdir}/R/library/%{packname}/Meta
|
|
%{_libdir}/R/library/%{packname}/R
|
|
%{_libdir}/R/library/%{packname}/demo/
|
|
%{_libdir}/R/library/%{packname}/help
|
|
%dir %{_libdir}/R/library/%{packname}/po
|
|
%lang(fr) %{_libdir}/R/library/%{packname}/po/fr/
|
|
%{_libdir}/R/library/%{packname}/libs/%{packname}.so
|
|
%{_libdir}/R/library/%{packname}/test-tools.R
|
|
|
|
%changelog
|
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99.1.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Thu May 8 2014 Tom Callaway <spot@fedoraproject.org> - 0.99.1.1-1
|
|
- initial package
|