m17n-lib-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. %define ver 1.5.5
  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 fontconfig-devel
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. The m17n library is a multilingual text processing library for the C
  17. language.
  18. %package devel
  19. Summary: Development files for the %{name} package
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: pkgconfig
  23. %description devel
  24. Development files for the %{name} package.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --with-fontconfig --with-gd
  29. #%{__make} %{?_smp_mflags}
  30. ## don't use smp_mflags
  31. %{__make}
  32. %install
  33. %{__rm} -rf ${RPM_BUILD_ROOT}
  34. %{makeinstall}
  35. %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/*.a
  36. %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
  37. %clean
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %check
  40. make check
  41. %post -p /sbin/ldconfig
  42. %postun
  43. if [ "$1" = "0" ] ; then
  44. /sbin/ldconfig
  45. fi
  46. %files
  47. %defattr(-,root,root)
  48. %doc COPYING ChangeLog NEWS README TODO
  49. %{_bindir}/m17n*
  50. %{_libdir}/lib*.so.0.*
  51. %files devel
  52. %defattr(-,root,root)
  53. %doc example
  54. %{_includedir}/*.h
  55. %{_libdir}/lib*.so
  56. %{_libdir}/lib*.so.0
  57. %{_libdir}/pkgconfig/m17n*.pc
  58. %changelog
  59. * Sun Feb 7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
  60. - new upstream release
  61. * Tue Apr 7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
  62. - dropt %%{?_smp_mflags}
  63. * Wed Apr 1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
  64. - initial release