libunistring-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # Basic Information
  2. Name: libunistring
  3. Version: 0.9.3
  4. Release: 2%{?_dist_release}
  5. License: GPLv3+
  6. Group: Development/Libraries
  7. URL: http://www.gnu.org/software/libunistring/
  8. Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: yasumichi
  13. Summary: library for manipulating Unicode strings
  14. Summary(ja): Unicode 文字列を処理するライブラリ
  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
  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. %files
  52. %defattr(-,root,root)
  53. %doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
  54. %{_libdir}/*.so.*
  55. %files devel
  56. %{_includedir}/uni*.h
  57. %{_includedir}/unistring
  58. %{_libdir}/libunistring.so
  59. %{_docdir}/libunistring
  60. %{_infodir}/libunistring.info.gz
  61. %changelog
  62. * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
  63. - add Requires: %{name} (devel package)
  64. * Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
  65. - initial build for Vine Linux