2020-02-25 08:28:35 +00:00
|
|
|
%global packname stringi
|
|
|
|
%global packver 1.4.6
|
2017-08-30 01:48:54 +00:00
|
|
|
%global rlibdir %{_libdir}/R/library
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
2020-06-04 18:54:44 +00:00
|
|
|
Version: %{packver}
|
2020-06-20 20:17:56 +00:00
|
|
|
Release: 4%{?dist}
|
2017-08-30 01:48:54 +00:00
|
|
|
Summary: Character String Processing Facilities
|
|
|
|
|
|
|
|
License: BSD
|
2019-01-23 00:55:29 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2020-02-25 08:28:35 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
2017-08-30 01:48:54 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
2018-04-26 02:50:13 +00:00
|
|
|
# Imports: R-tools, R-utils, R-stats
|
2017-08-30 01:48:54 +00:00
|
|
|
# Suggests:
|
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
2018-04-26 02:50:13 +00:00
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: R-tools
|
|
|
|
BuildRequires: R-utils
|
|
|
|
BuildRequires: R-stats
|
2017-11-18 21:48:40 +00:00
|
|
|
BuildRequires: libicu-devel >= 52
|
2017-08-30 01:48:54 +00:00
|
|
|
|
|
|
|
%description
|
2020-01-09 22:40:28 +00:00
|
|
|
Fast, correct, consistent, portable and convenient character string/text
|
|
|
|
processing in every locale and any native encoding. Owing to the use of the
|
|
|
|
'ICU' (International Components for Unicode) library, the package provides 'R'
|
|
|
|
users with platform-independent functions known to 'Java', 'Perl', 'Python',
|
|
|
|
'PHP' and 'Ruby' programmers. Available features include: pattern searching
|
|
|
|
(e.g., with 'Java'-like regular expressions or the 'Unicode' collation
|
|
|
|
algorithm), random string generation, case mapping, string transliteration,
|
|
|
|
concatenation, Unicode normalization, date-time formatting and parsing and many
|
|
|
|
more.
|
2017-08-30 01:48:54 +00:00
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2019-02-14 01:20:29 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%description devel
|
|
|
|
Development files for %{name}.
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
# Remove bundled code.
|
2019-02-14 01:20:29 +00:00
|
|
|
rm -r %{packname}/src/icu61/
|
|
|
|
sed -i -e '/src\/icu61\//d' %{packname}/MD5
|
2017-11-18 21:48:40 +00:00
|
|
|
|
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%build
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{rlibdir}
|
|
|
|
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname} \
|
|
|
|
--configure-args="--disable-icu-bundle"
|
|
|
|
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
|
|
|
rm -f %{buildroot}%{rlibdir}/R.css
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%check
|
|
|
|
%{_bindir}/R CMD check %{packname}
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%doc %{rlibdir}/%{packname}/AUTHORS
|
|
|
|
%doc %{rlibdir}/%{packname}/CITATION
|
|
|
|
%license %{rlibdir}/%{packname}/LICENSE
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
|
|
%doc %{rlibdir}/%{packname}/NEWS
|
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
2018-06-15 21:47:15 +00:00
|
|
|
%dir %{rlibdir}/%{packname}/libs
|
|
|
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
2017-08-30 01:48:54 +00:00
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%files devel
|
|
|
|
%{rlibdir}/%{packname}/include
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
%changelog
|
2020-06-20 20:17:56 +00:00
|
|
|
* Sat Jun 20 2020 Dennis Gilmore <dennis@ausil.us> - 1.4.6-4
|
|
|
|
- rebuild for R 4.0.1
|
|
|
|
|
2020-06-15 12:38:18 +00:00
|
|
|
* Mon Jun 15 2020 Pete Walter <pwalter@fedoraproject.org> - 1.4.6-3
|
|
|
|
- Rebuild for ICU 67
|
|
|
|
|
2020-06-04 18:54:44 +00:00
|
|
|
* Thu Jun 4 2020 Tom Callaway <spot@fedoraproject.org> - 1.4.6-2
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-02-25 08:28:35 +00:00
|
|
|
* Mon Feb 24 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.6-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-01-28 10:43:12 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-09 22:40:28 +00:00
|
|
|
* Thu Jan 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.4-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-11-01 16:05:43 +00:00
|
|
|
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 1.4.3-4
|
|
|
|
- Rebuild for ICU 65
|
|
|
|
|
2019-08-12 05:01:11 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.3-3
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 17:03:16 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-13 02:28:39 +00:00
|
|
|
* Tue Mar 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.3-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-02-14 01:20:29 +00:00
|
|
|
* Wed Feb 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.1-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-01-31 12:33:14 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-22 20:51:30 +00:00
|
|
|
* Sun Jul 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.4-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-07-12 19:42:22 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-10 21:01:37 +00:00
|
|
|
* Tue Jul 10 2018 Pete Walter <pwalter@fedoraproject.org> - 1.2.3-2
|
|
|
|
- Rebuild for ICU 62
|
|
|
|
|
2018-06-15 21:47:15 +00:00
|
|
|
* Fri Jun 15 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.3-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-05-16 15:03:21 +00:00
|
|
|
* Wed May 16 2018 Tom Callaway <spot@fedoraproject.org> - 1.2.2-1
|
|
|
|
- update to 1.2.2, rebuild for R 3.5.0
|
|
|
|
|
2018-04-30 19:41:06 +00:00
|
|
|
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 1.1.7-2
|
|
|
|
- Rebuild for ICU 61.1
|
|
|
|
|
2018-04-26 02:50:13 +00:00
|
|
|
* Wed Apr 25 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.7-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-02-07 01:24:21 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-30 20:48:14 +00:00
|
|
|
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 1.1.6-2
|
|
|
|
- Rebuild for ICU 60.1
|
|
|
|
|
2017-11-18 21:48:40 +00:00
|
|
|
* Sat Nov 18 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.1.6-1
|
|
|
|
- Update to latest release.
|
|
|
|
|
2017-08-30 01:48:54 +00:00
|
|
|
* Thu Aug 24 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.1.5-1
|
|
|
|
- initial package for Fedora
|