unicode-ucd-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. # for other future directories from http://www.unicode.org/Public
  2. %global unicodedir %{_datadir}/unicode
  3. %global ucddir %{unicodedir}/ucd
  4. Summary: Unicode Character Database
  5. Name: unicode-ucd
  6. Version: 13.0.0
  7. Release: 3%{?_dist_release}
  8. Group: localization
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. # https://fedoraproject.org/wiki/Licensing/MIT#Modern_Style_without_sublicense_.28Unicode.29
  12. License: MIT
  13. URL: http://www.unicode.org/ucd/
  14. Source0: http://www.unicode.org/Public/zipped/%{version}/UCD.zip
  15. # http://www.unicode.org/terms_of_use.html referenced in ReadMe.txt redirects to:
  16. # curl http://www.unicode.org/copyright.html | dos2unix > copyright.html
  17. Source1: http://www.unicode.org/copyright.html
  18. Source2: http://www.unicode.org/Public/zipped/%{version}/Unihan.zip
  19. BuildArch: noarch
  20. %description
  21. The Unicode Character Database (UCD) consists of a number of data files listing
  22. Unicode character properties and related data. It also includes data files
  23. containing test data for conformance to several important Unicode algorithms.
  24. %package unihan
  25. Summary: Unicode Han Database
  26. # for the license and dirs
  27. Requires: %{name} = %{version}-%{release}
  28. %description unihan
  29. This package contains Unihan.zip which contains the data files for the Unified
  30. Han database of Hanzi/Kanji/Hanja Chinese characters.
  31. %prep
  32. %setup -q -c
  33. grep -q "%{version}" ReadMe.txt || (echo "zip file seems not %{version}" ; exit 1)
  34. %build
  35. %{nil}
  36. %install
  37. mkdir -p %{buildroot}%{ucddir}
  38. cp -ar . %{buildroot}%{ucddir}
  39. cp -p %{SOURCE2} %{buildroot}%{ucddir}
  40. cp -p %{SOURCE1} .
  41. %files
  42. %doc copyright.html
  43. %dir %{unicodedir}
  44. %{ucddir}
  45. %exclude %{ucddir}/Unihan.zip
  46. %files unihan
  47. %{ucddir}/Unihan.zip
  48. %changelog
  49. * Mon Aug 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 13.0.0-3
  50. - initial build for Vine Linux.
  51. * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.0-2
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  53. * Wed Mar 11 2020 Jens Petersen <petersen@redhat.com> - 13.0.0-1
  54. - update to Unicode 13
  55. - https://www.unicode.org/versions/Unicode13.0.0/
  56. * Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-3
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  58. * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  60. * Fri May 10 2019 fedora-toolbox <petersen@redhat.com> - 12.1.0-1
  61. - update to Unicode 12.1
  62. * Fri Mar 8 2019 Jens Petersen <petersen@redhat.com> - 12.0.0-1
  63. - update to Unicode 12
  64. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  66. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.0-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  68. * Thu Jun 21 2018 Jens Petersen <petersen@redhat.com> - 11.0.0-1
  69. - update to Unicode 11
  70. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-3
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  72. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  74. * Tue Jun 20 2017 Jens Petersen <petersen@redhat.com> - 10.0.0-1
  75. - update to Unicode 10 (#1463030)
  76. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  78. * Tue Jul 26 2016 Jens Petersen <petersen@redhat.com> - 9.0.0-2
  79. - add unihan subpackage (#1357769)
  80. * Tue Jun 21 2016 Jens Petersen <petersen@redhat.com> - 9.0.0-1
  81. - update to Unicode 9.0
  82. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  84. * Thu Jun 18 2015 Jens Petersen <petersen@redhat.com> - 8.0.0-1
  85. - version 8.0
  86. * Wed Jun 18 2014 Jens Petersen <petersen@redhat.com> - 7.0.0-1
  87. - update to 7.0
  88. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-3
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  90. * Fri Jan 24 2014 Jens Petersen <petersen@redhat.com> - 6.3.0-2
  91. - only install one copy of copyright.html
  92. - update to latest 2014 copyright.html from website
  93. * Tue Oct 1 2013 Jens Petersen <petersen@redhat.com>
  94. - add a version check to prevent packaging a version mismatch
  95. * Mon Sep 30 2013 Jens Petersen <petersen@redhat.com> - 6.3.0-1
  96. - update to 6.3
  97. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-5
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  99. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-4
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  101. * Wed Oct 24 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-3
  102. - do not use macro in comment
  103. * Wed Oct 24 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-2
  104. - update to latest copyright file from the website
  105. * Wed Sep 26 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-1
  106. - update to Unicode 6.2
  107. * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-2
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  109. * Fri Mar 2 2012 Jens Petersen <petersen@redhat.com> - 6.1.0-1
  110. - update to Unicode 6.1
  111. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.0-4
  112. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  113. * Wed Nov 30 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-3
  114. - do not duplicate ReadMe.txt in doc files
  115. * Tue Nov 29 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-2
  116. - fix duplicate copyright file (#757290)
  117. - drop superfluous BR on unzip
  118. * Sat Nov 26 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-1
  119. - package Unicode 6.0 UCD
  120. - MIT license