libwnn6-vl.spec 3.4 KB

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