Add missing install commands for inscript2 maps

This commit is contained in:
Parag Nemade 2014-03-12 10:16:56 +05:30
parent 13495d8a51
commit 29fada6dc0

View File

@ -1,7 +1,7 @@
Name: m17n-db Name: m17n-db
Summary: Multilingualization datafiles for m17n-lib Summary: Multilingualization datafiles for m17n-lib
Version: 1.6.5 Version: 1.6.5
Release: 1%{?dist} Release: 2%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: http://www.nongnu.org/m17n URL: http://www.nongnu.org/m17n
Source0: http://download-mirror.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz Source0: http://download-mirror.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
@ -49,9 +49,10 @@ pushd MIM
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p2 %patch3 -p2
popd
##extract inscript2 maps ##extract inscript2 maps
tar xzf %{SOURCE1} tar xzf %{SOURCE1}
popd
%build %build
%configure %configure
@ -66,6 +67,11 @@ rm $RPM_BUILD_ROOT%{_datadir}/m17n/{bn-unijoy.mim,bn-unijoy.png}
#removing ispell.mim for rh#587927 #removing ispell.mim for rh#587927
rm $RPM_BUILD_ROOT%{_datadir}/m17n/ispell.mim rm $RPM_BUILD_ROOT%{_datadir}/m17n/ispell.mim
#install inscript2 keymaps
pwd
cp -p inscript2/IM/* $RPM_BUILD_ROOT%{_datadir}/m17n/
cp -p inscript2/icons/* $RPM_BUILD_ROOT%{_datadir}/m17n/
# For installing the translation files # For installing the translation files
%find_lang %name %find_lang %name
@ -121,6 +127,9 @@ rm $RPM_BUILD_ROOT%{_datadir}/m17n/ispell.mim
%{_datadir}/pkgconfig/m17n-db.pc %{_datadir}/pkgconfig/m17n-db.pc
%changelog %changelog
* Wed Mar 12 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.6.5-2
- Add missing install commands for inscript2 maps
* Wed Jan 29 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.6.5-1 * Wed Jan 29 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.6.5-1
- update to 1.6.5 - update to 1.6.5