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

RevLine 
[9202]1%define ver 1.5.22
[7414]2%define rel 1
[7382]3
[7414]4%define from_git 0
[7384]5%if %{from_git}
[7394]6%define githash e388f558
[7384]7%endif
8
[7435]9Summary: a Japanese Kana Kanji input engine for IBus
[7382]10Name: ibus-kkc
11Version: %{ver}
[7384]12%if %{from_git}
13Release: %{rel}.git%{githash}%{_dist_release}
14%else
[7382]15Release: %{rel}%{_dist_release}
[7384]16%endif
[7382]17License: GPLv3
18Group: System Environment/Libraries
19URL: https://bitbucket.org/libkkc/
[7384]20%if %{from_git}
[7394]21Source0: %{name}-%{githash}.tar.gz
[7384]22%else
[9202]23Source0: https://github.com/ueno/ibus-kkc/releases/download/v%{version}/%{name}-%{version}.tar.gz
[7384]24%endif
[7382]25BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
[9202]26BuildRequires: gtk3-devel >= 3.12
[7394]27BuildRequires: ibus-devel >= 1.4.0
[7414]28BuildRequires: libkkc-devel >= 0.1.0
[7382]29BuildRequires: desktop-file-utils
[7384]30%if %{from_git}
31BuildRequires: gnome-common
32%endif
[7382]33Requires: libkkc-data
[7384]34Requires: skkdic
[7382]35
36%description
[7435]37a Japanese Kana Kanji input engine for IBus.
[7382]38
39%prep
[7384]40%if %{from_git}
[7394]41%setup -q -n %{name}-%{githash}
[7384]42%else
[7382]43%setup -q
[7384]44%endif
[7382]45
46%build
[7384]47%if %{from_git}
48./autogen.sh
49%endif
[7382]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
[9202]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
[8823]92* Mon Jul  7 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.21-1
93- update to 1.5.21
94
[8566]95* Sun Jun 15 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.20-1
96- update to 1.5.20
97
[8052]98* Wed Dec 18 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.19-1
99- update to 1.5.19
100
[8048]101* Thu Nov  7 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.5.18-1
102- update to 1.5.18
103
[7968]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
[7738]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
[7616]112* Tue Mar 26 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.10-1
[7738]113- update to 1.5.10
[7616]114
[7594]115* Sat Mar 16 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.9-1
116- update to 1.5.9
117
[7553]118* Sun Mar  3 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.8-1
119- update to 1.5.8
120
[7510]121* Sat Feb 23 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.7-1
122- update to 1.5.7
123
[7469]124* Mon Feb 11 2013 IWAI, Masaharu <iwai@alib.jp> 1.5.6-1
125- update to 1.5.6
126
[7435]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
[7414]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
[7394]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
[7384]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
[7382]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.