m17n-lib-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. %define ver 1.5.5
  2. %define rel 2
  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. * Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
  60. - rebuilt with rpm-4.8.1 for pkg-config
  61. * Sun Feb 7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
  62. - new upstream release
  63. * Tue Apr 7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
  64. - dropt %%{?_smp_mflags}
  65. * Wed Apr 1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
  66. - initial release