|
|
|
@ -1,14 +1,12 @@
|
|
|
|
|
Summary: Library for processing UTF-8 encoded Unicode strings
|
|
|
|
|
Name: utf8proc
|
|
|
|
|
Version: 2.6.1
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 2.1.1
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
License: Unicode and MIT
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://julialang.org/utf8proc/
|
|
|
|
|
Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
utf8proc is a library for processing UTF-8 encoded Unicode strings.
|
|
|
|
@ -40,7 +38,7 @@ strings, unless you want to allocate memory yourself.
|
|
|
|
|
%setup -qn %{name}-%{version}
|
|
|
|
|
# Disable slow tests and tests which require network access
|
|
|
|
|
sed -i '/-C bench/d;/\ttest.* data/d' Makefile
|
|
|
|
|
touch data/NormalizationTest.txt data/GraphemeBreakTest.txt data/Lowercase.txt data/Uppercase.txt
|
|
|
|
|
touch data/NormalizationTest.txt data/GraphemeBreakTest.txt
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
@ -53,7 +51,8 @@ make %{?_smp_mflags} check
|
|
|
|
|
make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
|
|
|
|
|
rm %{buildroot}%{_libdir}/libutf8proc.a
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc LICENSE.md NEWS.md README.md
|
|
|
|
@ -62,19 +61,8 @@ rm %{buildroot}%{_libdir}/libutf8proc.a
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/utf8proc.h
|
|
|
|
|
%{_libdir}/libutf8proc.so
|
|
|
|
|
%{_libdir}/pkgconfig/libutf8proc.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 30 2022 Richard Lescak <rlescak@redhat.com> - 2.6.1-3
|
|
|
|
|
- added Build requirements (make, perl)
|
|
|
|
|
- old scriptlets replaced with ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
* Thu Jun 30 2022 Richard Lescak <rlescak@redhat.com> - 2.6.1-2
|
|
|
|
|
- changed tarball in sources
|
|
|
|
|
|
|
|
|
|
* Tue Jun 21 2022 Richard Lescak <rlescak@redhat.com> - 2.6.1-1
|
|
|
|
|
- rebase to version 2.6.1 (#2097237) (#2078557)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 05 2019 Lubos Uhliarik <luhliari@redhat.com> - 2.1.1-5
|
|
|
|
|
- Resolves: #1695587 - Ensure modular RPM upgrade path
|
|
|
|
|
|
|
|
|
|