2015-05-29 06:00:08 +00:00
|
|
|
%global project_name FcitxQt5
|
|
|
|
|
|
|
|
Name: fcitx-qt5
|
2015-09-22 16:44:58 +00:00
|
|
|
Version: 1.0.4
|
|
|
|
Release: 1%{?dist}
|
2015-05-29 06:00:08 +00:00
|
|
|
Summary: Fcitx IM module for Qt5
|
|
|
|
|
|
|
|
# The entire source code is GPLv2+ except
|
|
|
|
# platforminputcontext/keyserver_x11.h which is LGPLv2+
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
URL: https://github.com/fcitx/fcitx-qt5
|
|
|
|
Source0: http://download.fcitx-im.org/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: fcitx-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
%filter_provides_in %{_qt5_plugindir}/platforminputcontexts/libfcitxplatforminputcontextplugin.so
|
|
|
|
%filter_setup
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides Fcitx Qt5 input context.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for fcitx-qt5
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: cmake
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files necessary for
|
|
|
|
developing programs using fcitx-qt5 libraries.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir -pv build
|
|
|
|
pushd build
|
|
|
|
%cmake ..
|
|
|
|
make %{?_smp_mflags} VERBOSE=1
|
|
|
|
|
|
|
|
%install
|
|
|
|
pushd build
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
popd
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README COPYING
|
|
|
|
%{_libdir}/lib%{project_name}*.so.*
|
|
|
|
%{_qt5_plugindir}/platforminputcontexts/libfcitxplatforminputcontextplugin.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/%{project_name}
|
|
|
|
%{_libdir}/lib%{project_name}*.so
|
|
|
|
%{_libdir}/cmake/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-09-22 16:44:58 +00:00
|
|
|
* Tue Sep 22 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.4-1
|
|
|
|
- Update to 1.0.4
|
|
|
|
|
2015-06-17 06:02:41 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-01 02:30:52 +00:00
|
|
|
* Mon Jun 1 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.2-2
|
|
|
|
- Don't explicitly require fcitx
|
|
|
|
|
2015-05-29 06:00:08 +00:00
|
|
|
* Thu Apr 30 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.2-1
|
|
|
|
- Update to 1.0.2
|
|
|
|
- License tag revised
|
|
|
|
- BR: libxkbcommon-devel
|
|
|
|
|
|
|
|
* Thu Apr 16 2015 Robin Lee <cheeselee@fedoraproject.org> - 1.0.1-1
|
|
|
|
- Update to 1.0.1
|
|
|
|
|
|
|
|
* Fri Dec 12 2014 Robin Lee <cheeselee@fedoraproject.org> - 0.1.3-1
|
|
|
|
- Initial package
|