libwnn6-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: Wnn6 Client Library
  2. Summary(ja): Wnn6 クライアント ライブラリ
  3. Name: libwnn6
  4. Version: 3.0
  5. Release: 9%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Libraries
  8. URL: http://www.omronsoft.co.jp/SP/pcunix/wnn/
  9. Source: ftp://ftp-sp.omronsoft.co.jp/pub/Wnn6/skd_source/sdk/Wnn6-SDK-sources.tar.gz
  10. Patch0: libwnn6-config.patch
  11. Patch1: wnn6-sdk_incl.patch
  12. Patch2: wnn6-sdk_shared.patch
  13. Patch3: wnn6-sdk_malloc.patch
  14. Patch4: Wnn6-SDK.static.patch
  15. Patch5: Wnn6-sdk-vl2.patch
  16. Patch6: Wnn6-SDK.nonroot.patch
  17. Patch7: wnn6-sdk-vine.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: imake
  20. Obsoletes: wnn6-devel
  21. Provides: Wnn6-SDK
  22. Distribution: Vine Linux
  23. Vendor: Project Vine
  24. %description
  25. Runtime Wnn6 client library necessary to run Wnn6 clients.
  26. %description -l ja
  27. Wnn6 クライアントを動作させるのに必要なランタイム Wnn6 クライアント
  28. ライブラリです。
  29. %package devel
  30. Summary: Development kit for Wnn6 Client Library
  31. Summary(ja): Wnn6 クライアントライブラリ開発キット
  32. Group: Development/Libraries
  33. Provides: Wnn6-SDK-devel
  34. Requires: %{name} = %{version}-%{release}
  35. %description devel
  36. Development kit for Wnn6 client library necessary to run Wnn6 clients.
  37. %description devel -l ja
  38. Wnn6 クライアントをコンパイルするのに必要となるinclude file等です。
  39. %prep
  40. %setup -q -n src
  41. cd contrib/im/Xsi
  42. %patch0 -p4
  43. %patch1 -p1
  44. %patch2 -p1
  45. %patch3 -p1
  46. %patch4 -p1
  47. %patch5 -p1
  48. %patch6 -p1
  49. %patch7 -p0 -b .vine
  50. %build
  51. make World -f Makefile.ini \
  52. -C contrib/im/Xsi \
  53. CCOPTIONS=-fPIC %{?_smp_mflags} \
  54. CONFIGDIR=%{_datadir}/X11/config
  55. %install
  56. rm -fr ${RPM_BUILD_ROOT}
  57. make install -C contrib/im/Xsi \
  58. DESTDIR=${RPM_BUILD_ROOT} \
  59. WNNLIBDIR=%{_libdir}
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %clean
  63. rm -fr ${RPM_BUILD_ROOT}
  64. %files
  65. %defattr(-,root,root)
  66. %doc contrib/im/Xsi/README
  67. %dir %{_prefix}/lib/wnn6/ja_JP/
  68. %{_libdir}/libwnn6.so.1
  69. %{_libdir}/libwnn6.so.1.0.0
  70. %files devel
  71. %defattr(-,root,root)
  72. %{_libdir}/libwnn6.a
  73. %{_libdir}/libwnn6.so
  74. %{_includedir}/wnn6/
  75. %changelog
  76. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0-9
  77. - rebuilt with current VineSeed
  78. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 3.0-8
  79. - spec in utf8
  80. - applied wnn6-sdk-vine.patch
  81. - changed X lib locate
  82. - added CONFIGDIR=%%{_datadir}/X11/config in make options
  83. - added Requires: %%{name} = %%{version}-%%{release} in devel subpackage
  84. - added BuildRequires: imake
  85. * Wed May 30 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.0-7vl2
  86. - updated Patch3: wnn6-sdk_malloc.patch (Debian Bug report logs - #259894)
  87. - build all object files with -fPIC so that sharlib is PIC
  88. - use %%{_libdir} and build with WNNLIBDIR set to libdir
  89. * Sun Jul 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0-7vl1
  90. - rebuilt with new toolchains
  91. - changed Group to System Environment/Libraries
  92. * Fri May 11 2001 <sagami@vinelinux.org>
  93. - 3.0-7: modernize :-)
  94. * Tue Nov 23 1999 Norihito Ohmori <ohmori@flatout.org>
  95. - modify for Vine Linux
  96. * Mon Nov 8 1999 Toru Hoshina <t@kondara.org>
  97. - be a NoSrc :-P
  98. * Wed Nov 3 1999 Norihito Ohmori <nono@kondara.org>
  99. - add defattr
  100. - move libwnn6.a and libwnn6.so to -devel
  101. - add %postun
  102. - WnnWnnDir change /var/lib/wnn6 -> /usr/local/lib/wnn6
  103. * Thu Aug 19 1999 Kazuhisa TAKEI<takei@hh.iij4u.or.jp>
  104. - change Wnn6-SDK.config.patch
  105. * Fri Aug 6 1999 Kazuhisa TAKEI<takei@hh.iij4u.or.jp>
  106. - patch for Vine1.9
  107. * Fri Jul 9 1999 Kazuhisa TAKEI<takei@hh.iij4u.or.jp>
  108. - First build