rpms/kasumi/devel kasumi.spec,1.34,1.35

Akira TAGOH tagoh at fedoraproject.org
Tue Dec 22 08:37:35 UTC 2009


Author: tagoh

Update of /cvs/pkgs/rpms/kasumi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25357

Modified Files:
	kasumi.spec 
Log Message:
more improvements


Index: kasumi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kasumi/devel/kasumi.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -p -r1.34 -r1.35
--- kasumi.spec	21 Dec 2009 07:22:55 -0000	1.34
+++ kasumi.spec	22 Dec 2009 08:37:35 -0000	1.35
@@ -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 INS
 # 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}
 




More information about the fedora-extras-commits mailing list