Daiki Ueno da082c1
Name:		fcitx-skk
Daiki Ueno da082c1
Version:	0.1.0
6278a70
Release:	7%{?dist}
Daiki Ueno da082c1
Summary:	Japanese SKK (Simple Kana Kanji) Engine for Fcitx
Daiki Ueno da082c1
Daiki Ueno da082c1
License:	GPLv3+
Daiki Ueno da082c1
URL:		http://code.google.com/p/fcitx/
Daiki Ueno da082c1
Source0:	http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
Daiki Ueno da082c1
Daiki Ueno da082c1
BuildRequires:	fcitx-devel >= 0.4.8, libskk-devel
Daiki Ueno da082c1
BuildRequires:	cmake, gettext, intltool
Daiki Ueno da082c1
Requires:	fcitx >= 0.4.8
Daiki Ueno da082c1
Requires:	skkdic
Daiki Ueno da082c1
Daiki Ueno da082c1
%description
Daiki Ueno da082c1
Fcitx-skk is an SKK (Simple Kana Kanji) engine for Fcitx.  It provides
Daiki Ueno da082c1
Japanese input method using libskk.
Daiki Ueno da082c1
Daiki Ueno da082c1
%prep
Daiki Ueno da082c1
%setup -q -n %{name}-%{version}
Daiki Ueno da082c1
Daiki Ueno da082c1
Daiki Ueno da082c1
%build
Daiki Ueno da082c1
mkdir -pv build
Daiki Ueno da082c1
pushd build
Daiki Ueno da082c1
%cmake ..
Daiki Ueno da082c1
make VERBOSE=1 %{?_smp_mflags}
Daiki Ueno da082c1
popd
Daiki Ueno da082c1
Daiki Ueno da082c1
Daiki Ueno da082c1
%install
Daiki Ueno da082c1
pushd build
Daiki Ueno da082c1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
Daiki Ueno da082c1
rm -rf $RPM_BUILD_ROOT%{_includedir}/fcitx
Daiki Ueno da082c1
popd
Daiki Ueno da082c1
Daiki Ueno da082c1
%find_lang %{name}
Daiki Ueno da082c1
Daiki Ueno da082c1
Daiki Ueno da082c1
%post
Daiki Ueno da082c1
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Daiki Ueno da082c1
Daiki Ueno da082c1
%postun
Daiki Ueno da082c1
if [ $1 -eq 0 ] ; then
Daiki Ueno da082c1
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Daiki Ueno da082c1
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Daiki Ueno da082c1
fi
Daiki Ueno da082c1
Daiki Ueno da082c1
%posttrans
Daiki Ueno da082c1
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Daiki Ueno da082c1
Daiki Ueno da082c1
Daiki Ueno da082c1
%files -f %{name}.lang
Daiki Ueno da082c1
%doc COPYING
Daiki Ueno da082c1
%{_libdir}/fcitx/%{name}.so
Daiki Ueno da082c1
%{_libdir}/fcitx/qt/libfcitx-skk-config.so
Daiki Ueno da082c1
%{_datadir}/fcitx/addon/%{name}.conf
Daiki Ueno da082c1
%{_datadir}/fcitx/configdesc/%{name}.desc
Daiki Ueno da082c1
%{_datadir}/fcitx/inputmethod/skk.conf
Daiki Ueno da082c1
%{_datadir}/fcitx/skk/
Daiki Ueno da082c1
%{_datadir}/fcitx/imicon/skk.png
Daiki Ueno da082c1
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
Daiki Ueno da082c1
Daiki Ueno da082c1
Daiki Ueno da082c1
Daiki Ueno da082c1
%changelog
6278a70
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-7
6278a70
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6278a70
0d5e94b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-6
0d5e94b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0d5e94b
d63e6d5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-5
d63e6d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d63e6d5
63374fe
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.0-4
63374fe
- Rebuilt for GCC 5 C++11 ABI change
63374fe
8675452
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-3
8675452
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8675452
5804e3f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
5804e3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5804e3f
Daiki Ueno da082c1
* Mon Oct 28 2013 Daiki Ueno <dueno@redhat.com> - 0.1.0-1
Daiki Ueno da082c1
- initial packaging for Fedora, based on fcitx-kkc package