Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18505d631a |
3 changed files with 53 additions and 31 deletions
12
.gitignore
vendored
12
.gitignore
vendored
|
|
@ -1,15 +1,3 @@
|
|||
/utf8proc-v1.1.6.tar.gz
|
||||
/utf8proc-1.2.tar.gz
|
||||
/utf8proc-v1.3.tar.gz
|
||||
/utf8proc-v1.3.1.tar.gz
|
||||
/utf8proc-v2.0.1.tar.gz
|
||||
/utf8proc-v2.0.2.tar.gz
|
||||
/utf8proc-v2.1.0.tar.gz
|
||||
/utf8proc-v2.1.1.tar.gz
|
||||
/utf8proc-v2.3.0.tar.gz
|
||||
/utf8proc-v2.4.0.tar.gz
|
||||
/utf8proc-v2.6.1.tar.gz
|
||||
/utf8proc-v2.7.0.tar.gz
|
||||
/utf8proc-v2.9.0.tar.gz
|
||||
/utf8proc-v2.10.0.tar.gz
|
||||
/utf8proc-v2.11.3.tar.gz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (utf8proc-v2.11.3.tar.gz) = 148701fce506d076f03497b6d085f1993eff743debad4a2f6d3cbac91e19a5c22d9938245bdb460c1b22b51842c7416c42124db7416c684ee63d622490baac0e
|
||||
a6621dbb8a654bf5c0840c682f4c5f9e utf8proc-v1.3.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
Summary: Library for processing UTF-8 encoded Unicode strings
|
||||
Name: utf8proc
|
||||
Version: 2.11.3
|
||||
Release: %autorelease
|
||||
License: MIT AND Unicode-DFS-2015
|
||||
Version: 1.3
|
||||
Release: 1%{?dist}
|
||||
License: BSD
|
||||
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: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: perl-interpreter
|
||||
|
||||
%description
|
||||
utf8proc is a library for processing UTF-8 encoded Unicode strings.
|
||||
|
|
@ -18,10 +16,13 @@ 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.
|
||||
|
||||
The currently supported Unicode version is 5.0.0.
|
||||
|
||||
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
|
||||
|
|
@ -33,33 +34,66 @@ The documentation for the C library is found in the utf8proc.h header file.
|
|||
strings, unless you want to allocate memory yourself.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
# 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
|
||||
%setup -qn %{name}-%{version}
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%make_build
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
%check
|
||||
%set_build_flags
|
||||
make %{?_smp_mflags} check
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}" \
|
||||
test/normtest test/graphemetest test/printproperty \
|
||||
test/charwidth test/normtest test/graphemetest test/charwidth
|
||||
|
||||
%install
|
||||
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
|
||||
%{_libdir}/libutf8proc.so.3*
|
||||
%{_libdir}/libutf8proc.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/utf8proc.h
|
||||
%{_libdir}/libutf8proc.so
|
||||
%{_libdir}/pkgconfig/libutf8proc.pc
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Tue Aug 11 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.3-1
|
||||
- New upstream release.
|
||||
|
||||
* 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
|
||||
|
||||
* Sat Mar 28 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.2-1
|
||||
- New upstream release.
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* 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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue