source: projects/specs/trunk/i/ibus-kkc/ibus-kkc-vl.spec @ 8823

Revision 8823, 3.4 KB checked in by iwaim, 10 years ago (diff)

ibus-kkc 1.5.21-1

Line 
1%define ver 1.5.21
2%define rel 1
3
4%define from_git 0
5%if %{from_git}
6%define githash e388f558
7%endif
8
9Summary: a Japanese Kana Kanji input engine for IBus
10Name: ibus-kkc
11Version: %{ver}
12%if %{from_git}
13Release: %{rel}.git%{githash}%{_dist_release}
14%else
15Release: %{rel}%{_dist_release}
16%endif
17License: GPLv3
18Group: System Environment/Libraries
19URL: https://bitbucket.org/libkkc/
20%if %{from_git}
21Source0: %{name}-%{githash}.tar.gz
22%else
23Source0: https://bitbucket.org/libkkc/ibus-kkc/downloads/%{name}-%{version}.tar.gz
24%endif
25BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
26BuildRequires: gtk3-devel
27BuildRequires: ibus-devel >= 1.4.0
28BuildRequires: libkkc-devel >= 0.1.0
29BuildRequires: desktop-file-utils
30%if %{from_git}
31BuildRequires: gnome-common
32%endif
33Requires: libkkc-data
34Requires: skkdic
35
36%description
37a Japanese Kana Kanji input engine for IBus.
38
39%prep
40%if %{from_git}
41%setup -q -n %{name}-%{githash}
42%else
43%setup -q
44%endif
45
46%build
47%if %{from_git}
48./autogen.sh
49%endif
50%configure --enable-shared
51%__make
52
53%install
54%__rm -rf $RPM_BUILD_ROOT
55%makeinstall
56
57%{find_lang} %{name}
58
59%clean
60%__rm -rf $RPM_BUILD_ROOT
61
62%check
63%{_bindir}/desktop-file-validate %{buildroot}/%{_datadir}/applications/ibus-setup-kkc.desktop
64
65%post
66if [ -x %{_bindir}/update-desktop-database ] ; then
67%{_bindir}/update-desktop-database %{_datadir}/applications
68fi
69
70%postun
71if [ -x %{_bindir}/update-desktop-database ] ; then
72%{_bindir}/update-desktop-database %{_datadir}/applications
73fi
74
75%files -f %{name}.lang
76%defattr(-,root,root,-)
77%doc README ChangeLog COPYING AUTHORS NEWS
78%{_libexecdir}/ibus-engine-kkc
79%{_libexecdir}/ibus-setup-kkc
80%{_datadir}/applications/ibus-setup-kkc.desktop
81%dir %{_datadir}/ibus-kkc
82%dir %{_datadir}/ibus-kkc/icons
83%{_datadir}/ibus-kkc/icons/ibus-kkc.svg
84%{_datadir}/ibus/component/kkc.xml
85
86%changelog
87* Mon Jul  7 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.21-1
88- update to 1.5.21
89
90* Sun Jun 15 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.20-1
91- update to 1.5.20
92
93* Wed Dec 18 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.19-1
94- update to 1.5.19
95
96* Thu Nov  7 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.18-1
97- update to 1.5.18
98
99* Sat Jul 27 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.16-1
100- update to 1.5.16
101- update %%files
102
103* Tue Jun 18 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.14-1
104- update to 1.5.14
105- fix changelog: 1.15.10-1
106
107* Tue Mar 26 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.10-1
108- update to 1.5.10
109
110* Sat Mar 16 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.9-1
111- update to 1.5.9
112
113* Sun Mar  3 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.8-1
114- update to 1.5.8
115
116* Sat Feb 23 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.7-1
117- update to 1.5.7
118
119* Mon Feb 11 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.6-1
120- update to 1.5.6
121
122* Tue Feb  5 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
123- update to 1.5.5
124- update Summary and description: sync README
125
126* Fri Feb  1 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.3-1
127- update to 1.5.3
128- update requires libkkc version: 0.1.0
129
130* Fri Feb  1 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-3.gite388f558
131- update to git e388f558e3eff3e538fa48ee0c2275e7d743964c
132- add requires package version:
133  - ibus-devel  >= 1.4.0
134  - libkkc-devel >= 0.0.3-3
135
136* Tue Jan 29 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-2.giteb042df4
137- update to git eb042df479cdad0d037e16016fda3d2cae99aaa1
138- add BuildRequires: gnome-common with git
139- add Requires: skkdic
140
141* Mon Jan 28 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-1
142- initial build for Vine Linux
143
Note: See TracBrowser for help on using the repository browser.