m17n-lib-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. %define ver 1.6.4
  2. %define rel 1
  3. Summary: a multilingual text processing library for the C language
  4. Name: m17n-lib
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. Source0: %{name}-%{version}.tar.gz
  8. License: LGPLv2.1+
  9. Group: System Environment/Libraries
  10. URL: http://www.m17n.org/m17n-lib-ja/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gd-devel
  13. BuildRequires: fontconfig-devel
  14. BuildRequires: libotf-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: libXt-devel
  17. BuildConflicts: anthy-devel
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. The m17n library is a multilingual text processing library for the C
  22. language.
  23. %package devel
  24. Summary: Development files for the %{name} package
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Development files for the %{name} package.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --with-fontconfig --with-gd --disable-static
  34. #%{__make} %{?_smp_mflags}
  35. ## don't use smp_mflags
  36. %{__make}
  37. %install
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %{makeinstall}
  40. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  41. # remove unused files
  42. %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/m17n/1.0/libmimx-anthy.so
  43. %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/m17n/1.0/libmimx-ispell.so
  44. %clean
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %check
  47. make check
  48. %post -p /sbin/ldconfig
  49. %postun
  50. if [ "$1" = "0" ] ; then
  51. /sbin/ldconfig
  52. fi
  53. %files
  54. %defattr(-,root,root)
  55. %doc COPYING ChangeLog NEWS README TODO
  56. %{_bindir}/m17n*
  57. %{_libdir}/lib*.so.0.*
  58. %{_libdir}/m17n/1.0/libm17n-X.so
  59. %{_libdir}/m17n/1.0/libm17n-gd.so
  60. %files devel
  61. %defattr(-,root,root)
  62. %doc example
  63. %{_includedir}/*.h
  64. %{_libdir}/lib*.so
  65. %{_libdir}/lib*.so.0
  66. %{_libdir}/pkgconfig/m17n*.pc
  67. %changelog
  68. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  69. - update to 1.6.4
  70. - add BuildRequires: libXt-devel
  71. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.5-5
  72. - rebuild with VineSeed environment
  73. * Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.5-4
  74. - rebuilt with gd-2.1.0.
  75. * Sun May 8 2011 IWAI, Masaharu <iwai@alib.jp> 1.5.5-3
  76. - add BuildRequires: libxml2-devel
  77. - add BuildConflicts: anthy-devel
  78. * Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
  79. - rebuilt with rpm-4.8.1 for pkg-config
  80. * Sun Feb 7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
  81. - new upstream release
  82. * Tue Apr 7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
  83. - dropt %%{?_smp_mflags}
  84. * Wed Apr 1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
  85. - initial release