1 | Name: kasumi |
---|
2 | Summary: Personal dictionary management tool for Anthy |
---|
3 | Summary(ja): Anthy 個人辞書管理ツール |
---|
4 | Version: 2.5 |
---|
5 | Release: 4%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: Applications/System |
---|
9 | URL: http://kasumi.sourceforge.jp/ |
---|
10 | Source0: %{name}-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: pkgconfig |
---|
14 | BuildRequires: anthy-devel |
---|
15 | BuildRequires: glib2-devel |
---|
16 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
17 | BuildRequires: desktop-file-utils |
---|
18 | Requires(post): desktop-file-utils |
---|
19 | Requires(postun): desktop-file-utils |
---|
20 | |
---|
21 | %description |
---|
22 | Personal dictionary management tool for Anthy. |
---|
23 | |
---|
24 | %description -l ja |
---|
25 | Anthy 用の個人辞書管理ツールです. |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | |
---|
30 | %build |
---|
31 | %configure |
---|
32 | make %{?_smp_mflags} |
---|
33 | |
---|
34 | %install |
---|
35 | %__rm -rf %{buildroot} |
---|
36 | %makeinstall |
---|
37 | %{find_lang} %{name} |
---|
38 | |
---|
39 | # install desktop file |
---|
40 | desktop-file-install --delete-original \ |
---|
41 | --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
42 | --add-category X-GNOME-PersonalSettings \ |
---|
43 | ${RPM_BUILD_ROOT}%{_datadir}/applications/kasumi.desktop |
---|
44 | |
---|
45 | |
---|
46 | %clean |
---|
47 | %__rm -rf %{buildroot} |
---|
48 | |
---|
49 | %post |
---|
50 | if [ -x %{_bindir}/update-desktop-database ] ; then |
---|
51 | %{_bindir}/update-desktop-database %{_datadir}/applications |
---|
52 | fi |
---|
53 | |
---|
54 | %postun |
---|
55 | if [ -x %{_bindir}/update-desktop-database ] ; then |
---|
56 | %{_bindir}/update-desktop-database %{_datadir}/applications |
---|
57 | fi |
---|
58 | |
---|
59 | %files -f %{name}.lang |
---|
60 | %defattr(-,root,root) |
---|
61 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
62 | %{_bindir}/kasumi |
---|
63 | %{_datadir}/pixmaps/kasumi.png |
---|
64 | %{_datadir}/applications/kasumi.desktop |
---|
65 | %{_mandir}/man1/kasumi.1* |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.5-4 |
---|
69 | - rebuild with gcc-5.4.0 |
---|
70 | |
---|
71 | * Mon Sep 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.5-3 |
---|
72 | - rebuilt for removing dependency to libpng12 |
---|
73 | |
---|
74 | * Tue Apr 5 2011 IWAI, Masaharu <iwai@alib.jp> 2.5-2 |
---|
75 | - add BuildRequires(install): desktop-file-utils |
---|
76 | - execute update-desktop-database in post, postun |
---|
77 | |
---|
78 | * Sun Aug 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.5-1 |
---|
79 | - new upstream release |
---|
80 | - add Categories=X-GNOME-PersonalSettings for kasumi.desktop |
---|
81 | |
---|
82 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.3-1vl5 |
---|
83 | - applied new versioning policy, spec in utf-8 |
---|
84 | |
---|
85 | * Fri Dec 28 2007 IWAI, Masaharu <iwai@alib.jp> 2.3-0vl1 |
---|
86 | - new upstream release |
---|
87 | |
---|
88 | * Tue May 15 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2-0vl2 |
---|
89 | - rebuild with new environment/toolchain |
---|
90 | |
---|
91 | * Sat Dec 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2-0vl1 |
---|
92 | - upstream release |
---|
93 | - add required version of gtk2 |
---|
94 | - update %%files |
---|
95 | - use original desktop file |
---|
96 | - drop obsolete patch0 |
---|
97 | |
---|
98 | * Wed Aug 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl3 |
---|
99 | - add BuildRequires: anthy-devel |
---|
100 | - add Patch0 to allow empty private dictionary |
---|
101 | (http://kasumi.sourceforge.jp/index.php?%A5%D0%A5%B0%CA%F3%B9%F0%2F75) |
---|
102 | |
---|
103 | * Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl2 |
---|
104 | - changed Group to Applications/System |
---|
105 | |
---|
106 | * Sun Jul 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0.1-0vl1 |
---|
107 | - [SECURITY] upstream release |
---|
108 | - an arbitrary text can be accepted as printf()-style format string |
---|
109 | |
---|
110 | * Fri Jun 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.0-0vl1 |
---|
111 | - upstream release |
---|
112 | |
---|
113 | * Fri Dec 09 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0-0vl1 |
---|
114 | - upstream release |
---|
115 | |
---|
116 | * Thu Nov 17 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl3 |
---|
117 | - fix typo in kasumi.desktop |
---|
118 | |
---|
119 | * Mon Oct 24 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.10-0vl2 |
---|
120 | - import and modify kasumi.desktop (Source1) from momonga |
---|
121 | |
---|
122 | * Mon Oct 10 2005 IWAI, Masaharu <iwai@alib.jp> 0.10-0vl1 |
---|
123 | - Initial build. |
---|
124 | |
---|