scim-honoka-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. %define src_name honoka
  2. %define version 0.9.1
  3. %define release 2%{_dist_release}
  4. Summary: HONOKA-TAN is an SCIM IMEngine module for Japanese
  5. Summary(ja): ほのかたんは日本語のための SCIM IMEngine モジュールの 1 つです
  6. Name: scim-honoka
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: %{src_name}-%{version}.tar.bz2
  10. License: GPLv2
  11. URL: http://nop.net-p.org/modules/pukiwiki/index.php?%5B%5Bhonoka%5D%5D
  12. Group: System Environment/Libraries
  13. Requires: scim >= 1.4.3
  14. BuildRequires: scim-devel >= 1.4.7
  15. BuildRequires: automake, libtool-ltdl
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. %description
  18. HONOKA-TAN is an SCIM IMEngine module for Japanese.
  19. %description -l ja
  20. ほのかたんは日本語のための SCIM IMEngine モジュールの 1 つです.
  21. %package devel
  22. Summary: Development package for %{name}
  23. Summary(ja): %{name} のための開発パッケージ
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. HONOKA-TAN is an SCIM IMEngine module for Japanese.
  28. This package contains development files for %{name}.
  29. %prep
  30. %setup -q -n %{src_name}-%{version}
  31. %build
  32. [[ -f configure ]] || ./bootstrap
  33. %configure
  34. # (tv) parallel build is broken: --> OK???
  35. %{__make} %{?_smp_mflags}
  36. %install
  37. %{__rm} -rf $RPM_BUILD_ROOT
  38. %{__make} DESTDIR=$RPM_BUILD_ROOT install
  39. %find_lang %{src_name}
  40. # remove unpackaged files
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  42. rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/Helper/*.{a,la}
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/IMEngine/*.{a,la}
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/SetupUI/*.{a,la}
  45. %clean
  46. %{__rm} -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files -f %{src_name}.lang
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING ChangeLog README
  52. %{_datadir}/scim/icons/*
  53. %{_libdir}/*.so.*
  54. #%{_libdir}/scim-1.0/*/Helper/*.so
  55. %{_libdir}/scim-1.0/*/IMEngine/*.so
  56. %{_libdir}/scim-1.0/*/SetupUI/*.so
  57. %files devel
  58. %defattr(-,root,root)
  59. %{_includedir}/%{src_name}/*.h
  60. %{_libdir}/*.a
  61. #%{_libdir}/*.la
  62. %{_libdir}/*.so
  63. %{_libdir}/pkgconfig/%{src_name}.pc
  64. %changelog
  65. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.1-2vl5
  66. - removed *.la
  67. - spec in utf-8
  68. * Sat Mar 22 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.1-1vl5
  69. - initial build for VineSeed
  70. ### end of file