m17n-db-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Name: m17n-db
  2. Version: 1.7.0
  3. Release: 1%{?dist}
  4. Summary: Multilingualization datafiles for m17n-lib
  5. Summary(ja): m17n-lib 用の多言語化データファイル
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://www.nongnu.org/m17n
  9. Source0: http://download-mirror.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
  10. ## Till the Inscript2 gets upstreamed in m17n-lib, use this source
  11. Source1: https://fedorahosted.org/releases/i/n/inscript2/inscript2-20120320.tar.gz
  12. # Following is awaiting for upstream commit
  13. Source2: https://raw.githubusercontent.com/gnuman/m17n-inglish-mims/master/minglish/minglish.mim
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: gettext
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. This package contains multilingualization (m17n) datafiles for m17n-lib
  21. which describe input maps, encoding maps, OpenType font data and
  22. font layout text rendering for languages.
  23. %package devel
  24. Summary: Development files for m17n-db
  25. Summary(ja): m17n-db の開発用ファイル
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. %description devel
  29. m17n-db development files
  30. %prep
  31. %setup -q
  32. ##extract inscript2 maps
  33. tar xzf %{SOURCE1}
  34. %build
  35. %configure
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  40. # don't ship unijoy map for now
  41. rm $RPM_BUILD_ROOT%{_datadir}/m17n/bn-unijoy.mim
  42. rm $RPM_BUILD_ROOT%{_datadir}/m17n/icons/bn-unijoy.png
  43. #removing ispell.mim for rh#587927
  44. rm $RPM_BUILD_ROOT%{_datadir}/m17n/ispell.mim
  45. #install inscript2 keymaps
  46. pwd
  47. cp -p inscript2/IM/* $RPM_BUILD_ROOT%{_datadir}/m17n/
  48. cp -p inscript2/icons/* $RPM_BUILD_ROOT%{_datadir}/m17n/icons
  49. # install minglish keymap
  50. cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/m17n
  51. %find_lang %{name}
  52. %check
  53. make check
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files -f %{name}.lang
  57. %defattr(-,root,root)
  58. %doc AUTHORS COPYING README
  59. %{_datadir}/m17n
  60. %files devel
  61. %defattr(-,root,root)
  62. %{_bindir}/m17n-db
  63. %{_datadir}/pkgconfig/m17n-db.pc
  64. %changelog
  65. * Thu Apr 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.7.0-1
  66. - updated to 1.7.0
  67. - added SOURCE1 and SOURCE2 from Fedora
  68. * Wed Feb 25 2015 Parag Nemade <pnemade AT redhat DOT com> - 1.7.0-2
  69. - Added Minglish input method (rh#1191543)
  70. * Wed Mar 12 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.6.5-2
  71. - Add missing install commands for inscript2 maps
  72. - split development files into devel subpackage
  73. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.5-1
  74. - update to 1.6.5
  75. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.5-3
  76. - rebuild with VineSeed environment
  77. * Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
  78. - rebuilt with rpm-4.8.1 for pkg-config
  79. * Sun Feb 7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
  80. - new upstream relase
  81. * Wed Apr 1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
  82. - initial release