libwnn7-vl.spec 2.7 KB

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