libwnn7-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Summary: Software development kit for Wnn7 Input Method
  2. Summary(ja): Wnn7 インプットメソッド用ソフトウェア開発キット
  3. Name: libwnn7
  4. Version: 20011017
  5. Release: 5%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: Commercial, Other License(s), see package
  8. URL: http://www.omronsoft.co.jp
  9. Source0: ftp://ftp.omronsoft.co.jp/pub/Wnn7/sdk_source/Wnn7SDK.tar.bz2
  10. Patch0: Wnn7-SDK-64bit.patch
  11. Patch1: Wnn7-SDK-do-not-return-random-data-in-functions.patch
  12. Patch2: Wnn7-SDK-gcc4.patch
  13. Patch3: Wnn7-SDK-malloc.patch
  14. Patch4: Wnn7-SDK-static.patch
  15. Patch5: Wnn7-SDK-vine.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: imake
  18. BuildRequires: gtk2-devel pkgconfig
  19. %description
  20. Software development kit for Wnn7 Input Method
  21. %description -l ja
  22. Wnn7 インプットメソッド用ソフトウェア開発キット
  23. %package devel
  24. Summary: Development package for %{name}
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Software development kit for Wnn7 Input Method
  29. This package contains development files for %{name}.
  30. %prep
  31. %setup -q -n src
  32. %patch0 -p1
  33. %patch1 -p1
  34. %patch2 -p1
  35. %patch3 -p1
  36. %patch4 -p1
  37. %patch5 -p1
  38. %build
  39. CFLAGS="$RPM_OPT_FLAGS"
  40. #make World -f Makefile.ini
  41. make World -f Makefile.ini CONFIGDIR=%{_datadir}/X11/config
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. mkdir -p $RPM_BUILD_ROOT/%{_libdir} $RPM_BUILD_ROOT/usr/include/wnn7
  45. install -m 644 Wnn/include/*.h $RPM_BUILD_ROOT/usr/include/wnn7
  46. install -m 644 Wnn/jlib/*.a $RPM_BUILD_ROOT/%{_libdir}
  47. cp -a Wnn/jlib/*.so* $RPM_BUILD_ROOT/%{_libdir}
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(-, root, root)
  54. %doc README
  55. %{_libdir}/libwnn7.so.*
  56. %{_includedir}/wnn7/
  57. %files devel
  58. %defattr(-,root,root)
  59. %{_libdir}/libwnn7.a
  60. %{_libdir}/libwnn7.so
  61. %{_includedir}/wnn7/
  62. %changelog
  63. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 20011017-5
  64. - rebuilt with current VineSeed
  65. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20011017-4
  66. - added Summary(ja): and %%description -l ja
  67. - added BuildRequires: imake
  68. - added devel subpackage
  69. * Sat Oct 25 2008 Shu KONNO <owa@bg.wakwak.com> 20011017-3
  70. - added CONFIGDIR=%%{_datadir}/X11/config at make
  71. * Sun Sep 7 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20011017-2
  72. - spec in utf-8
  73. - s!/usr/lib/X11/config!/usr/share/X11/config! in Wnn7-SDK-vine.patch
  74. * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20011017-1vl5
  75. - initial build for VineSeed
  76. #* Sun Mar 2 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 20011015-0vlmp1
  77. #- initial build for VineSeed
  78. #
  79. #* Fri Dec 17 2004 - mfabian@suse.de
  80. #- new package: wnn-sdk, Version 7.
  81. #- apply 64 bit patch.
  82. #- don't return random data in functions.