Summary: Simple Hangul X Input Method Name: nabi Version: 0.99.9 Release: %mkrel 3 Group: System/Internationalization License: GPLv2 URL: http://kldp.net/projects/nabi Source: http://download.kldp.net/%name/Nabi/%version/%name-%version.tar.gz BuildRequires: gtk2-devel >= 2.4.0 BuildRequires: libhangul-devel >= 0.0.6 Requires: locales-ko %description Nabi is a simple XIM for Korean, implemented with GTK+2. It can dock in the notification area, and also show the status of imhangul (See also http://imhangul.kldp.net). %prep %setup -q %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std # menu entry: mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/ cat << EOF > %buildroot%{_datadir}/applications/%{_real_vendor}-%{name}.desktop [Desktop Entry] Name=Nabi Comment=Simple Hangul XIM Exec=%name Icon=%{name} Terminal=false Type=Application Categories=System;Settings;Accessibility; EOF mkdir -p $RPM_BUILD_ROOT%_iconsdir/ install -m 644 nabi.png $RPM_BUILD_ROOT%_iconsdir/ %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README %attr(755,root,root) %_bindir/nabi %_datadir/nabi %_iconsdir/%name.png %{_datadir}/applications/%{_real_vendor}-%{name}.desktop %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.99.9-3.mga3 + Revision: 360662 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Oct 31 2011 fwang <fwang> 0.99.9-2.mga2 + Revision: 160320 - rebuild for new libhangul + tv <tv> - new release * Tue Apr 26 2011 wally <wally> 0.99.8-2.mga1 + Revision: 91786 - fix desktop file name (mga#954) - drop buildroot definition - clean buildroot before install stage * Thu Apr 14 2011 tv <tv> 0.99.8-1.mga1 + Revision: 84948 - new release * Wed Mar 16 2011 steletch <steletch> 0.99.7-1.mga1 + Revision: 72783 - Clean spec file - imported package nabi