[521] | 1 | %define _libtomoe_gtk_ver 0.6.0 |
---|
| 2 | |
---|
| 3 | Summary: A tool for providing tomoe support to uim |
---|
| 4 | Summary(ja): uim で手書き文字入力ができるようにするツール |
---|
| 5 | Name: uim-tomoe-gtk |
---|
| 6 | Version: 0.6.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | Group: User Interface/X |
---|
| 9 | License: LGPL |
---|
| 10 | URL: http://tomoe.sourceforge.jp/ |
---|
| 11 | Source0: uim-tomoe-gtk-%{version}.tar.gz |
---|
| 12 | Source1: uim-tomoe-gtk.desktop |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildRequires: tomoe-gtk-devel >= %{_libtomoe_gtk_ver} |
---|
| 16 | BuildRequires: gtk2-devel >= 2.4.0 |
---|
| 17 | BuildRequires: uim-devel >= 1.4.0 |
---|
| 18 | Requires: tomoe-gtk >= %{_libtomoe_gtk_ver} |
---|
| 19 | Requires: gtk2 >= 2.4.0 |
---|
| 20 | Requires: uim >= 1.4.0 |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | A tool for providing tomoe support to uim. |
---|
| 24 | |
---|
| 25 | %description -l ja |
---|
| 26 | uim で手書き文字入力ができるようにするツール。 |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %configure |
---|
| 33 | %__make %{?_smp_mflags} |
---|
| 34 | |
---|
| 35 | %install |
---|
| 36 | %__rm -rf %{buildroot} |
---|
| 37 | %makeinstall |
---|
| 38 | %find_lang %{name} |
---|
| 39 | |
---|
| 40 | %__install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/uim-tomoe-gtk.desktop |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | %__rm -rf %{buildroot} |
---|
| 44 | |
---|
| 45 | %posttrans |
---|
| 46 | update-desktop-database -q &> /dev/null ||: |
---|
| 47 | |
---|
| 48 | %postun |
---|
| 49 | if [ $1 -eq 0 ] ; then |
---|
| 50 | update-desktop-database -q &> /dev/null ||: |
---|
| 51 | fi |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %files -f %{name}.lang |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc AUTHORS COPYING ChangeLog |
---|
| 57 | %{_bindir}/uim-tomoe-gtk |
---|
| 58 | %{_datadir}/applications/*.desktop |
---|
| 59 | |
---|
| 60 | %changelog |
---|
| 61 | * Sat Oct 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1 |
---|
| 62 | - new upstream release |
---|
| 63 | - added %posttrans and %postun section |
---|
| 64 | - applied new versioning policy, spec in UTF-8 |
---|
| 65 | |
---|
| 66 | * Sat Feb 10 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl2 |
---|
| 67 | - rebuild with uim-1.4.0 |
---|
| 68 | |
---|
| 69 | * Sun Dec 31 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl1 |
---|
| 70 | - new upstream release |
---|
| 71 | - update required version of libtomoe-gtk |
---|
| 72 | |
---|
| 73 | * Fri Nov 24 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.3.0-0vl1 |
---|
| 74 | - new upstream release |
---|
| 75 | - update required-version of libtomoe-gtk |
---|
| 76 | |
---|
| 77 | * Fri Aug 11 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.1.0-0vl3 |
---|
| 78 | - rebuild with uim-1.2.0 |
---|
| 79 | |
---|
| 80 | * Sun Jun 04 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.1.0-0vl2 |
---|
| 81 | - rebuild with uim-1.1.0-beta |
---|
| 82 | |
---|
| 83 | * Mon Nov 07 2005 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.1.0-0vl1 |
---|
| 84 | - initial release for Vine Linux |
---|