utf8proc-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. Summary: Library for processing UTF-8 encoded Unicode strings
  2. Name: utf8proc
  3. Version: 2.6.1
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: Unicode and MIT
  9. URL: http://julialang.org/utf8proc/
  10. Source: https://github.com/JuliaLang/utf8proc/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz
  11. BuildRequires: gcc
  12. BuildRequires: perl
  13. %description
  14. utf8proc is a library for processing UTF-8 encoded Unicode strings.
  15. Some features are Unicode normalization, stripping of default ignorable
  16. characters, case folding and detection of grapheme cluster boundaries.
  17. A special character mapping is available, which converts for example
  18. the characters “Hyphen” (U+2010), “Minus” (U+2212) and “Hyphen-Minus
  19. (U+002D, ASCII Minus) all into the ASCII minus sign, to make them
  20. equal for comparisons.
  21. This package only contains the C library.
  22. %package devel
  23. Summary: Header files, libraries and development documentation for %{name}
  24. Group: programming
  25. Requires: %{name}%{?_isa} = %{version}-%{release}
  26. %description devel
  27. Contains header files for developing applications that use the %{name}
  28. library.
  29. The documentation for the C library is found in the utf8proc.h header file.
  30. "utf8proc_map" is most likely the function you will be using for mapping UTF-8
  31. strings, unless you want to allocate memory yourself.
  32. %debug_package
  33. %prep
  34. %setup -qn %{name}-%{version}
  35. # Disable slow tests and tests which require network access
  36. sed -i '/-C bench/d;/\ttest.* data/d' Makefile
  37. touch data/NormalizationTest.txt data/GraphemeBreakTest.txt
  38. %build
  39. %set_build_flags
  40. make %{?_smp_mflags}
  41. %install
  42. make install DESTDIR=%{buildroot} prefix=%{_prefix} includedir=%{_includedir} libdir=%{_libdir}
  43. rm -f %{buildroot}%{_libdir}/libutf8proc.a
  44. %if 0
  45. %check
  46. make %{?_smp_mflags} check ||:
  47. %endif
  48. %files
  49. %license LICENSE.md
  50. %doc NEWS.md README.md
  51. %{_libdir}/libutf8proc.so.*
  52. %files devel
  53. %{_includedir}/utf8proc.h
  54. %{_libdir}/libutf8proc.so
  55. %{_libdir}/pkgconfig/libutf8proc.pc
  56. %changelog
  57. * Thu Mar 18 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.6.1-1
  58. - new upstream release.
  59. - dropped scriptlets.
  60. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.4.0-2
  61. - initial build for Vine Linux.
  62. * Thu May 16 2019 Milan Bouchet-Valat <nalimilan@club.fr> - 2.4.0-1
  63. - New upstream release.
  64. * Sun Apr 21 2019 Milan Bouchet-Valat <nalimilan@club.fr> - 2.3.0-1
  65. - New upstream release.
  66. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-5
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  68. * Mon Jul 23 2018 Joe Orton <jorton@redhat.com> - 2.1.1-4
  69. - update License tag to Unicode and MIT
  70. - BR gcc (#1606627)
  71. - run minimal tests
  72. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  74. * Mon Apr 30 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1-2
  75. - Fix missing build flags (RHBZ #1573115).
  76. * Fri Apr 27 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.1-1
  77. - New upstream release.
  78. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  80. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  82. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  84. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  86. * Sat Jan 7 2017 Milan Bouchet-Valat <nalimilan@club.fr> - 2.1.0
  87. - New upstream release.
  88. * Thu Sep 15 2016 Milan Bouchet-Valat <nalimilan@club.fr> - 2.0.2-1
  89. - New upstream release.
  90. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  92. * Tue Nov 03 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.3.1-1
  93. - New upstream release.
  94. * Tue Aug 11 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.3-1
  95. - New upstream release.
  96. * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  98. * Sat Mar 28 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 1.2-1
  99. - New upstream release.
  100. * Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-5
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  102. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-4
  103. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  104. * Sun May 4 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 1.1.6-3
  105. - Add downstream SONAME version 0.1 since upstream does not set one.
  106. * Fri Feb 14 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 1.1.6-2
  107. - Fix package Group.
  108. - Do not remove build root on install phase.
  109. * Sun Jan 26 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 1.1.6-1
  110. - Adapt package to Fedora.
  111. - Updated to release 1.1.6.
  112. * Sat Aug 29 2009 Dries Verachtert <dries@ulyssis.org> - 1.1.4-1 - 7981/dag
  113. - Updated to release 1.1.4.
  114. * Sun Jul 29 2007 Dries Verachtert <dries@ulyssis.org> - 1.1.2-1
  115. - Updated to release 1.1.2.
  116. * Mon Jul 23 2007 Dries Verachtert <dries@ulyssis.org> - 1.1.1-1
  117. - Updated to release 1.1.1.
  118. * Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 1.0.3-1
  119. - Initial package.