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

Revision 9202, 3.6 KB checked in by iwaim, 9 years ago (diff)

ibus-kkc 1.5.22

Line 
1%define ver 1.5.22
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://github.com/ueno/ibus-kkc/releases/download/v%{version}/%{name}-%{version}.tar.gz
24%endif
25BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
26BuildRequires: gtk3-devel >= 3.12
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 Dec 29 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.22-1
88- update to 1.5.22
89- switch upstream source location to GitHub
90- BuildRequires: gtk3-devel >= 3.12
91
92* Mon Jul  7 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.21-1
93- update to 1.5.21
94
95* Sun Jun 15 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.20-1
96- update to 1.5.20
97
98* Wed Dec 18 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.19-1
99- update to 1.5.19
100
101* Thu Nov  7 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.18-1
102- update to 1.5.18
103
104* Sat Jul 27 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.16-1
105- update to 1.5.16
106- update %%files
107
108* Tue Jun 18 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.14-1
109- update to 1.5.14
110- fix changelog: 1.15.10-1
111
112* Tue Mar 26 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.10-1
113- update to 1.5.10
114
115* Sat Mar 16 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.9-1
116- update to 1.5.9
117
118* Sun Mar  3 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.8-1
119- update to 1.5.8
120
121* Sat Feb 23 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.7-1
122- update to 1.5.7
123
124* Mon Feb 11 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.6-1
125- update to 1.5.6
126
127* Tue Feb  5 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
128- update to 1.5.5
129- update Summary and description: sync README
130
131* Fri Feb  1 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.3-1
132- update to 1.5.3
133- update requires libkkc version: 0.1.0
134
135* Fri Feb  1 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-3.gite388f558
136- update to git e388f558e3eff3e538fa48ee0c2275e7d743964c
137- add requires package version:
138  - ibus-devel  >= 1.4.0
139  - libkkc-devel >= 0.0.3-3
140
141* Tue Jan 29 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-2.giteb042df4
142- update to git eb042df479cdad0d037e16016fda3d2cae99aaa1
143- add BuildRequires: gnome-common with git
144- add Requires: skkdic
145
146* Mon Jan 28 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.2-1
147- initial build for Vine Linux
148
Note: See TracBrowser for help on using the repository browser.