libunistring-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. # Basic Information
  3. Name: libunistring
  4. Summary: library for manipulating Unicode strings
  5. Summary(ja): Unicode 文字列を処理するライブラリ
  6. Version: 1.0
  7. Release: 1%{?_dist_release}
  8. Vendor: Project Vine
  9. Group: system
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. License: GPLv3+
  13. URL: https://www.gnu.org/software/libunistring/
  14. Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. # Dependency
  17. BuildRequires: texinfo
  18. BuildRequires: texlive
  19. BuildRequires: perl
  20. %description
  21. Text files are nowadays usually encoded in Unicode, and may consist of very
  22. different scripts – from Latin letters to Chinese Hanzi –, with many kinds
  23. of special characters – accents, right-to-left writing marks, hyphens,
  24. Roman numbers, and much more. But the POSIX platform APIs for text do not
  25. contain adequate functions for dealing with particular properties of many
  26. Unicode characters. In fact, the POSIX APIs for text have several
  27. assumptions at their base which don't hold for Unicode text.
  28. This library provides functions for manipulating Unicode strings and for
  29. manipulating C strings according to the Unicode standard.
  30. #%%description -l ja
  31. #%ここに日本語で詳細を記述してください。
  32. %package devel
  33. Summary: Development files and documentation for libunistring
  34. Summary(ja): libunistring の開発用ファイルとドキュメント
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. %description devel
  38. Development files and documentation for libunistring
  39. %package -n compat32-%{name}
  40. Summary: library for manipulating Unicode strings
  41. Summary(ja): Unicode 文字列を処理するライブラリ
  42. Group: Development/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. %description -n compat32-%{name}
  45. Text files are nowadays usually encoded in Unicode, and may consist of very
  46. different scripts – from Latin letters to Chinese Hanzi –, with many kinds
  47. of special characters – accents, right-to-left writing marks, hyphens,
  48. Roman numbers, and much more. But the POSIX platform APIs for text do not
  49. contain adequate functions for dealing with particular properties of many
  50. Unicode characters. In fact, the POSIX APIs for text have several
  51. assumptions at their base which don't hold for Unicode text.
  52. This library provides functions for manipulating Unicode strings and for
  53. manipulating C strings according to the Unicode standard.
  54. %package -n compat32-%{name}-devel
  55. Summary: Development files and documentation for libunistring
  56. Summary(ja): libunistring の開発用ファイルとドキュメント
  57. Group: Development/Libraries
  58. Requires: compat32-%{name} = %{version}-%{release}
  59. Requires: %{name}-devel = %{version}-%{release}
  60. %description -n compat32-%{name}-devel
  61. Development files and documentation for libunistring
  62. %debug_package
  63. %prep
  64. %setup -q
  65. %build
  66. %configure --disable-static
  67. %{__make} %{?_smp_mflags}
  68. %install
  69. %{__rm} -rf ${RPM_BUILD_ROOT}
  70. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  71. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la
  72. %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir
  73. %clean
  74. %{__rm} -rf ${RPM_BUILD_ROOT}
  75. %files
  76. %defattr(-,root,root)
  77. %license COPYING
  78. %doc AUTHORS ChangeLog HACKING NEWS README THANKS
  79. %{_libdir}/*.so.*
  80. %files devel
  81. %{_includedir}/uni*.h
  82. %{_includedir}/unistring
  83. %{_libdir}/libunistring.so
  84. %{_docdir}/libunistring
  85. %{_infodir}/libunistring.info.gz
  86. %if %{build_compat32}
  87. %files -n compat32-%{name}
  88. %defattr(-,root,root,-)
  89. %{_libdir}/*.so.*
  90. %files -n compat32-%{name}-devel
  91. %{_libdir}/libunistring.so
  92. %endif
  93. %changelog
  94. * Fri Jan 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0-1
  95. - new upstream release.
  96. * Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-2
  97. - rebuilt with current environment.
  98. * Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-1
  99. - updated to 0.9.10.
  100. * Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.8-1
  101. - updated to 0.9.8.
  102. * Tue Jan 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-2
  103. - create compat32 packages
  104. * Mon Oct 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
  105. - updated to 0.9.4
  106. - moved libunistring to System Environment/Libraries
  107. - added %%post and %%postun
  108. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
  109. - add Requires: %{name} (devel package)
  110. * Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
  111. - initial build for Vine Linux