libunistring-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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: 0.9.10
  7. Release: 2%{?_dist_release}
  8. Vendor: Project Vine
  9. Group: System Environment/Libraries
  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. %prep
  63. %setup -q
  64. %build
  65. %configure --disable-static
  66. %{__make} %{?_smp_mflags}
  67. %install
  68. %{__rm} -rf ${RPM_BUILD_ROOT}
  69. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  70. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la
  71. %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir
  72. %clean
  73. %{__rm} -rf ${RPM_BUILD_ROOT}
  74. %post -p /sbin/ldconfig
  75. %postun -p /sbin/ldconfig
  76. %files
  77. %defattr(-,root,root)
  78. %license COPYING
  79. %doc AUTHORS ChangeLog HACKING NEWS README THANKS
  80. %{_libdir}/*.so.*
  81. %files devel
  82. %{_includedir}/uni*.h
  83. %{_includedir}/unistring
  84. %{_libdir}/libunistring.so
  85. %{_docdir}/libunistring
  86. %{_infodir}/libunistring.info.gz
  87. %if %{build_compat32}
  88. %files -n compat32-%{name}
  89. %defattr(-,root,root,-)
  90. %{_libdir}/*.so.*
  91. %files -n compat32-%{name}-devel
  92. %{_libdir}/libunistring.so
  93. %endif
  94. %changelog
  95. * Sun Apr 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-2
  96. - rebuilt with current environment.
  97. * Thu Nov 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.10-1
  98. - updated to 0.9.10.
  99. * Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.8-1
  100. - updated to 0.9.8.
  101. * Tue Jan 27 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-2
  102. - create compat32 packages
  103. * Mon Oct 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
  104. - updated to 0.9.4
  105. - moved libunistring to System Environment/Libraries
  106. - added %%post and %%postun
  107. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
  108. - add Requires: %{name} (devel package)
  109. * Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
  110. - initial build for Vine Linux