libjconv-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: Japanese Code Conversion Library
  2. Summary(ja): 日本語コード変換ライブラリ
  3. Name: libjconv
  4. Version: 2.8
  5. Release: 3%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. Source: %{name}-%{version}.tar.gz
  9. Buildroot: %{_tmppath}/%{name}-%{version}-root
  10. Requires: glibc >= 2.1.0
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. %description
  14. This package provide Japanese Code Conversion capability based on iconv.
  15. %description -l ja
  16. このパッケージは iconv に基づいた日本語コード変換機能を提供します。
  17. %prep
  18. %setup -q
  19. %build
  20. %ifarch x86_64
  21. make CC=gcc CFLAGS="$RPM_OPT_FLAGS -fPIC"
  22. %else
  23. make CC=gcc CFLAGS="$RPM_OPT_FLAGS"
  24. %endif
  25. %install
  26. for I in %{_libdir} %{_includedir} %{_bindir} %{_sysconfdir}/libjconv ; do
  27. install -d $RPM_BUILD_ROOT/$I
  28. done
  29. install -m 755 jconv $RPM_BUILD_ROOT/%{_bindir}
  30. install -m 755 libjconv.so $RPM_BUILD_ROOT/%{_libdir}
  31. install -m 644 libjconv.a $RPM_BUILD_ROOT/%{_libdir}
  32. install -m 644 jconv.h $RPM_BUILD_ROOT/%{_includedir}
  33. install -m 644 default.conf $RPM_BUILD_ROOT/%{_sysconfdir}/libjconv
  34. %post -p /sbin/ldconfig
  35. %postun -p /sbin/ldconfig
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-, root, root)
  40. %doc README COPYING
  41. %config %{_sysconfdir}/libjconv
  42. %{_libdir}/libjconv.a
  43. %{_libdir}/libjconv.so
  44. %{_includedir}/jconv.h
  45. %{_bindir}/jconv
  46. %changelog
  47. * Mon Apr 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-3
  48. - rebuilt with current VineSeed
  49. * Fri Jul 3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-2
  50. - spec in UTF-8
  51. * Thu Apr 17 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8-1
  52. - rebuilt
  53. * Mon Aug 27 2007 Shu KONNO <owa@bg.wakwak.com> 2.8-0vl5
  54. - added option -fPIC to make
  55. * Fri Sep 8 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8-0vl4
  56. - rebuild with current toolchain
  57. * Mon Nov 8 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-0vl3
  58. - s/Copyright/License/
  59. - fixed Japanese description
  60. - changed Group:
  61. * Sun Apr 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-0vl2
  62. - rebuild with new toolchains
  63. - add Japanese summary and description
  64. * Tue Oct 16 2001 Yoichi Imai <yoichi@silver-forest.com> 2.8-0vl1
  65. - changed license to proper one
  66. - use %_* macro
  67. * Thu Aug 10 2000 Yoichi Imai <yoichi@silver-forest.com>
  68. - remove bug fix patch
  69. * Fri Aug 04 2000 Yoichi Imai <yoichi@silver-forest.com>
  70. - setlocale bug fix
  71. * Sun Jul 23 2000 Yoichi Imai <yoichi@silver-forest.com>
  72. - update to version 2.7
  73. * Sat Jul 1 2000 Yoichi Imai <yoichi@silver-forest.com>
  74. - update to version 2.5
  75. * Sat Jan 15 2000 Norihito Ohmori <nono@vinelinux.org>
  76. - rebuild for Vine Linux
  77. * Sat Dec 11 1999 Akira Higuchi <a@kondara.org>
  78. - convert_kanji(): write reset sequences for state-dependent encodings
  79. * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
  80. - be a NoSrc :-P
  81. * Wed Sep 29 1999 Toru Hoshina <hoshina@best.com>
  82. - fixed Nie-a bug :-P
  83. * Thu Sep 23 1999 Toru Hoshina <hoshina@best.com>
  84. - localedata-ja is no longer required because we decide to provide our own
  85. glibc including localedata-ja !!
  86. * Sun Aug 29 1999 Toru Hoshina <hoshina@best.com>
  87. - 1st release.