more improvements
This commit is contained in:
parent
3c1502d1d0
commit
ae74b2cfb5
@ -6,7 +6,7 @@ License: GPLv2+
|
||||
URL: http://kasumi.sourceforge.jp/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: desktop-file-utils, gtk2-devel anthy-devel
|
||||
Source0: http://dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz
|
||||
Source0: http://jaist.dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz
|
||||
|
||||
|
||||
Summary: An anthy dictionary management tool
|
||||
@ -30,6 +30,9 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
# remove .desktop file so that kasumi is accessible from scim panel and it's not necessary for other users.
|
||||
#rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
||||
|
||||
sed -i -e 's/Icon=\(.*\)\.png/Icon=\1/g' $RPM_BUILD_ROOT%{_datadir}/applications/kasumi.desktop
|
||||
touch -r $RPM_BUILD_DIR/%{name}-%{version}/kasumi.desktop.in $RPM_BUILD_ROOT%{_datadir}/applications/kasumi.desktop
|
||||
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications --remove-category=Applications --delete-original $RPM_BUILD_ROOT%{_datadir}/applications/kasumi.desktop
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user