- improve the spec file (#546147)

This commit is contained in:
Akira TAGOH 2009-12-21 07:22:55 +00:00
parent 1b3506ec52
commit 3c1502d1d0

View File

@ -1,15 +1,15 @@
Name: kasumi
Version: 2.5
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: http://kasumi.sourceforge.jp/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils, gtk2-devel gettext-devel anthy-devel automake autoconf
Source0: http://osdn.dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils, gtk2-devel anthy-devel
Source0: http://dl.sourceforge.jp/kasumi/41436/%{name}-%{version}.tar.gz
Summary: An anthy dictionary management tool.
Summary: An anthy dictionary management tool
Group: Applications/Text
%description
Kasumi is a dictionary management tool for Anthy.
@ -25,10 +25,10 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
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
#rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
%find_lang %{name}
@ -43,10 +43,14 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/kasumi
%{_mandir}/man1/kasumi.1*
%{_datadir}/pixmaps/kasumi.png
%{_datadir}/applications/kasumi.desktop
%doc AUTHORS COPYING ChangeLog NEWS README
%changelog
* Mon Dec 21 2009 Akira TAGOH <tagoh@redhat.com> - 2.5-2
- improve the spec file (#546147)
* Mon Aug 3 2009 Akira TAGOH <tagoh@redhat.com> - 2.5-1
- New upstream release.