File scim-tables-dayi-hkscs.spec of Package scim-tables-dayi-hkscs
#
# spec file for package scim-tables-dayi-hkscs (Version 0.1)
#
# norootforbuild
#
Name: scim-tables-dayi-hkscs
Requires: scim
License: GNU General Public License (GPL)
Group: System/I18n/Chinese
Version: 0.1.0
Release: 1
Summary: A GTK GUI front-end of sopcast
Packager: avengermojo@gmail.com
Source: HKSCS_Dayi4+2.png
Source2: HKSCS_Dayi4+2.bin
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DaYi 4+2 input key code including HKSCS code.
Authors:
--------
AvengerMoJo <AvengerMoJo@gmail.com>
%prep
%build
%install
# mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/gsopcast/
mkdir -p $RPM_BUILD_ROOT/usr/share/scim/icons/
mkdir -p $RPM_BUILD_ROOT/usr/share/scim/tables/
cp $RPM_SOURCE_DIR/HKSCS_Dayi4\+2.png $RPM_BUILD_ROOT/usr/share/scim/icons/
cp $RPM_SOURCE_DIR/HKSCS_Dayi4\+2.bin $RPM_BUILD_ROOT/usr/share/scim/tables/
%clean
rm -rf $RPM_BUILD_ROOT;
%files
%defattr(-,root,root)
%dir %{_datadir}/scim
%dir %{_datadir}/scim/icons
%dir %{_datadir}/scim/tables
/usr/share/scim/icons/HKSCS_Dayi4+2.png
/usr/share/scim/tables/HKSCS_Dayi4+2.bin
%post
%postun
%changelog -n gsopcast