2014-05-29 09:32:37 +00:00
|
|
|
Summary: Library for processing UTF-8 encoded Unicode strings
|
|
|
|
Name: utf8proc
|
2018-04-27 14:46:50 +00:00
|
|
|
Version: 2.1.1
|
2018-04-30 08:43:17 +00:00
|
|
|
Release: 2%{?dist}
|
2014-05-29 09:32:37 +00:00
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Libraries
|
2015-03-28 14:22:58 +00:00
|
|
|
URL: http://julialang.org/utf8proc/
|
2015-06-24 11:43:39 +00:00
|
|
|
Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
2014-05-29 09:32:37 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
utf8proc is a library for processing UTF-8 encoded Unicode strings.
|
|
|
|
Some features are Unicode normalization, stripping of default ignorable
|
|
|
|
characters, case folding and detection of grapheme cluster boundaries.
|
|
|
|
A special character mapping is available, which converts for example
|
|
|
|
the characters “Hyphen” (U+2010), “Minus” (U+2212) and “Hyphen-Minus
|
|
|
|
(U+002D, ASCII Minus) all into the ASCII minus sign, to make them
|
|
|
|
equal for comparisons.
|
|
|
|
|
2016-09-20 15:38:25 +00:00
|
|
|
The currently supported Unicode version is 9.0.0.
|
2014-05-29 09:32:37 +00:00
|
|
|
|
|
|
|
This package only contains the C library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files, libraries and development documentation for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Contains header files for developing applications that use the %{name}
|
|
|
|
library.
|
|
|
|
|
|
|
|
The documentation for the C library is found in the utf8proc.h header file.
|
|
|
|
"utf8proc_map" is most likely the function you will be using for mapping UTF-8
|
|
|
|
strings, unless you want to allocate memory yourself.
|
|
|
|
|
|
|
|
%prep
|
2015-06-24 11:43:39 +00:00
|
|
|
%setup -qn %{name}-%{version}
|
2014-05-29 09:32:37 +00:00
|
|
|
|
|
|
|
%build
|
2018-04-30 08:43:17 +00:00
|
|
|
%set_build_flags
|
|
|
|
make %{?_smp_mflags}
|
2015-03-28 14:22:58 +00:00
|
|
|
|
|
|
|
%check
|
2018-04-30 08:43:17 +00:00
|
|
|
make %{?_smp_mflags} \
|
2015-03-28 14:22:58 +00:00
|
|
|
test/normtest test/graphemetest test/printproperty \
|
|
|
|
test/charwidth test/normtest test/graphemetest test/charwidth
|
2014-05-29 09:32:37 +00:00
|
|
|
|
|
|
|
%install
|
2015-03-28 14:22:58 +00:00
|
|
|
make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
|
|
|
|
rm %{buildroot}%{_libdir}/libutf8proc.a
|
2014-05-29 09:32:37 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2015-03-28 14:22:58 +00:00
|
|
|
%doc LICENSE.md NEWS.md README.md
|
2014-05-29 09:32:37 +00:00
|
|
|
%{_libdir}/libutf8proc.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/utf8proc.h
|
|
|
|
%{_libdir}/libutf8proc.so
|
|
|
|
|
|
|
|
%changelog
|
2018-04-30 08:43:17 +00:00
|
|
|
* Mon Apr 30 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1-2
|
|
|
|
- Fix missing build flags (RHBZ #1573115).
|
|
|
|
|
|
|
|
* Fri Apr 27 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1-1
|
2018-04-27 14:46:50 +00:00
|
|
|
- New upstream release.
|
|
|
|
|
2018-02-09 20:13:04 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 09:55:21 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 21:06:44 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 16:51:44 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-07 11:06:15 +00:00
|
|
|
* Sat Jan 7 2017 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.0
|
|
|
|
- New upstream release.
|
|
|
|
|
2016-09-15 07:29:56 +00:00
|
|
|
* Thu Sep 15 2016 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.2-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2016-02-05 02:28:49 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-03 18:44:50 +00:00
|
|
|
* Tue Nov 03 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.3.1-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2015-06-24 11:43:39 +00:00
|
|
|
* Tue Aug 11 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.3-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2015-06-19 01:43:43 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-28 14:22:58 +00:00
|
|
|
* Sat Mar 28 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.2-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2014-08-18 07:18:58 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 03:07:23 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-29 09:32:37 +00:00
|
|
|
* Sun May 4 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 1.1.6-3
|
|
|
|
- Add downstream SONAME version 0.1 since upstream does not set one.
|
|
|
|
|
|
|
|
* Fri Feb 14 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 1.1.6-2
|
|
|
|
- Fix package Group.
|
|
|
|
- Do not remove build root on install phase.
|
|
|
|
|
|
|
|
* Sun Jan 26 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 1.1.6-1
|
|
|
|
- Adapt package to Fedora.
|
|
|
|
- Updated to release 1.1.6.
|
|
|
|
|
|
|
|
* Sat Aug 29 2009 Dries Verachtert <dries@ulyssis.org> - 1.1.4-1 - 7981/dag
|
|
|
|
- Updated to release 1.1.4.
|
|
|
|
|
|
|
|
* Sun Jul 29 2007 Dries Verachtert <dries@ulyssis.org> - 1.1.2-1
|
|
|
|
- Updated to release 1.1.2.
|
|
|
|
|
|
|
|
* Mon Jul 23 2007 Dries Verachtert <dries@ulyssis.org> - 1.1.1-1
|
|
|
|
- Updated to release 1.1.1.
|
|
|
|
|
|
|
|
* Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 1.0.3-1
|
|
|
|
- Initial package.
|