Compare commits

..

5 Commits

Author SHA1 Message Date
Robin Lee
a1f3aae587 Update to 4.2.9.6 2018-04-01 23:37:11 +08:00
Fedora Release Engineering
636ee9ce20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 09:17:33 +00:00
Li Rui Bin
e29bd905ff Update to 4.2.9.5 2018-02-01 11:46:22 +08:00
Igor Gnatenko
60c24febd7 Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-06 10:36:07 +01:00
Igor Gnatenko
a72c0e9f1e Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-06 10:04:47 +01:00

View File

@ -13,12 +13,11 @@ Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
Source1: xinput-%{name}
BuildRequires: gcc-c++
BuildRequires: pango-devel, dbus-devel, opencc-devel
BuildRequires: wget, intltool, chrpath, opencc
BuildRequires: cmake3, libtool, doxygen, libicu-devel
BuildRequires: wget, intltool, chrpath, sysconftool, opencc
BuildRequires: cmake, libtool, doxygen, libicu-devel
BuildRequires: qt4-devel, gtk3-devel, gtk2-devel, libicu
BuildRequires: xorg-x11-proto-devel, xorg-x11-xtrans-devel
BuildRequires: gobject-introspection-devel, libxkbfile-devel
BuildRequires: libxkbcommon-devel, libuuid-devel
BuildRequires: enchant-devel, iso-codes-devel, libicu-devel
BuildRequires: libX11-devel, dbus-glib-devel, dbus-x11
BuildRequires: desktop-file-utils, libxml2-devel
@ -146,7 +145,7 @@ This package contains table engine for Fcitx.
%build
mkdir -p build
pushd build
%cmake3 .. -DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On -DENABLE_OPENCC=On -DENABLE_LUA=On -DENABLE_GIR=On -DENABLE_XDGAUTOSTART=Off
%cmake .. -DENABLE_GTK3_IM_MODULE=On -DENABLE_QT_IM_MODULE=On -DENABLE_OPENCC=On -DENABLE_LUA=On -DENABLE_GIR=On -DENABLE_XDGAUTOSTART=Off
make VERBOSE=1 %{?_smp_mflags}
%install
@ -179,49 +178,18 @@ desktop-file-install --delete-original \
%post
%{_sbindir}/alternatives --install %{_sysconfdir}/X11/xinit/xinputrc xinputrc %{_xinputconf} 55 || :
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
%postun
if [ "$1" = "0" ]; then
%{_sbindir}/alternatives --remove xinputrc %{_xinputconf} || :
# if alternative was set to manual, reset to auto
[ -L %{_sysconfdir}/alternatives/xinputrc -a "`readlink %{_sysconfdir}/alternatives/xinputrc`" = "%{_xinputconf}" ] && %{_sbindir}/alternatives --auto xinputrc || :
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
fi
/usr/bin/update-desktop-database &> /dev/null || :
%posttrans
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%post data
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun data
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans data
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%post gtk2
%{_bindir}/update-gtk-immodules %{_host} || :
%postun gtk2
%{_bindir}/update-gtk-immodules %{_host} || :
%post gtk3
%{_bindir}/gtk-query-immodules-3.0-%{__isa_bits} --update-cache || :
%postun gtk3
%{_bindir}/gtk-query-immodules-3.0-%{__isa_bits} --update-cache || :
%files -f %{name}.lang
%doc AUTHORS ChangeLog THANKS TODO
%license COPYING
@ -349,6 +317,12 @@ fi
* Thu Feb 1 2018 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9.5-1
- Update to 4.2.9.5
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.9.4-3
- Remove obsolete scriptlets
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.9.4-2
- Remove obsolete scriptlets
* Thu Sep 28 2017 Robin Lee <cheeselee@fedoraproject.org> - 4.2.9.4-1
- Update to 4.2.9.4 (BZ#1496438)