libunicode-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # Basic Information
  2. Name: libunistring
  3. Summary: library for manipulating Unicode strings
  4. Summary(ja): Unicode 文字列を処理するライブラリ
  5. Version: 0.9.4
  6. Release: 1%{?_dist_release}
  7. License: GPLv3+
  8. Group: System Environment/Libraries
  9. URL: http://www.gnu.org/software/libunistring/
  10. Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: yasumichi
  15. # Dependency
  16. BuildRequires: texinfo
  17. BuildRequires: texlive
  18. BuildRequires: perl
  19. %description
  20. Text files are nowadays usually encoded in Unicode, and may consist of very
  21. different scripts – from Latin letters to Chinese Hanzi –, with many kinds
  22. of special characters – accents, right-to-left writing marks, hyphens,
  23. Roman numbers, and much more. But the POSIX platform APIs for text do not
  24. contain adequate functions for dealing with particular properties of many
  25. Unicode characters. In fact, the POSIX APIs for text have several
  26. assumptions at their base which don't hold for Unicode text.
  27. This library provides functions for manipulating Unicode strings and for
  28. manipulating C strings according to the Unicode standard.
  29. #%%description -l ja
  30. #%ここに日本語で詳細を記述してください。
  31. %package devel
  32. Summary: Development files and documentation for libunistring
  33. Summary(ja): libunistring の開発用ファイルとドキュメント
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. %description devel
  37. Development files and documentation for libunistring
  38. %prep
  39. %setup -q
  40. %build
  41. %configure --disable-static
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. #{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.a
  47. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la
  48. %{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root)
  55. %doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
  56. %{_libdir}/*.so.*
  57. %files devel
  58. %{_includedir}/uni*.h
  59. %{_includedir}/unistring
  60. %{_libdir}/libunistring.so
  61. %{_docdir}/libunistring
  62. %{_infodir}/libunistring.info.gz
  63. %changelog
  64. * Mon Oct 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
  65. - updated to 0.9.4
  66. - moved libunistring to System Environment/Libraries
  67. - added %%post and %%postun
  68. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
  69. - add Requires: %{name} (devel package)
  70. * Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
  71. - initial build for Vine Linux