Initial Import(#1868848)
This commit is contained in:
parent
91de0a5807
commit
ed1c3b8dc5
|
@ -0,0 +1 @@
|
||||||
|
/fcitx5-qt-3ddd34aa720cb4efd451a686c389d579b1914425.tar.gz
|
|
@ -0,0 +1,22 @@
|
||||||
|
From e87aea0f57b2a728b2605ce177f45aebb5fc7792 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Qiyu Yan <yanqiyu@fedoraproject.org>
|
||||||
|
Date: Wed, 12 Aug 2020 15:07:13 +0800
|
||||||
|
Subject: [PATCH] use /usr/libexec instead
|
||||||
|
|
||||||
|
---
|
||||||
|
qt5/guiwrapper/CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/qt5/guiwrapper/CMakeLists.txt b/qt5/guiwrapper/CMakeLists.txt
|
||||||
|
index a5baafc..661e38f 100644
|
||||||
|
--- a/qt5/guiwrapper/CMakeLists.txt
|
||||||
|
+++ b/qt5/guiwrapper/CMakeLists.txt
|
||||||
|
@@ -18,4 +18,4 @@ target_link_libraries(fcitx5-qt5-gui-wrapper
|
||||||
|
Fcitx5Qt5::WidgetsAddons
|
||||||
|
)
|
||||||
|
|
||||||
|
-install(TARGETS fcitx5-qt5-gui-wrapper DESTINATION "${CMAKE_INSTALL_LIBDIR}/fcitx5/libexec")
|
||||||
|
+install(TARGETS fcitx5-qt5-gui-wrapper DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}/fcitx5")
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
|
@ -0,0 +1,78 @@
|
||||||
|
%global forgeurl https://github.com/fcitx/fcitx5-qt
|
||||||
|
%global commit 3ddd34aa720cb4efd451a686c389d579b1914425
|
||||||
|
%forgemeta
|
||||||
|
%global __provides_exclude_from ^%{_libdir}/fcitx5/.*\\.so$
|
||||||
|
|
||||||
|
|
||||||
|
Name: fcitx5-qt
|
||||||
|
Version: 0
|
||||||
|
Release: 0.2%{?dist}
|
||||||
|
Summary: Qt library and IM module for fcitx5
|
||||||
|
# Fcitx5Qt{4,5}DBusAddons Library and Input context plugin are released under BSD.
|
||||||
|
License: LGPLv2+ and BSD
|
||||||
|
URL: %{forgeurl}
|
||||||
|
Source: %{forgesource}
|
||||||
|
# upstream don't use /usr/libexec, patch to fix
|
||||||
|
Patch0: 0001-use-usr-libexec-instead.patch
|
||||||
|
|
||||||
|
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
BuildRequires: pkgconfig(xkbcommon-x11)
|
||||||
|
BuildRequires: pkgconfig(Fcitx5Utils)
|
||||||
|
BuildRequires: pkgconfig(Qt5)
|
||||||
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
|
BuildRequires: pkgconfig(Qt5Gui)
|
||||||
|
BuildRequires: gettext-devel
|
||||||
|
BuildRequires: qt5-qtbase-private-devel
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Qt library and IM module for fcitx5.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: fcitx5-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Development files for %{name}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%forgeautosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -GNinja -DENABLE_QT4=False
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%license LICENSES/LGPL-2.1-or-later.txt
|
||||||
|
%doc README.md
|
||||||
|
%{_libdir}/libFcitx5Qt5DBusAddons.so.1
|
||||||
|
%{_libdir}/libFcitx5Qt5WidgetsAddons.so.2
|
||||||
|
%{_libdir}/libFcitx5Qt5DBusAddons.so.*.*
|
||||||
|
%{_libdir}/libFcitx5Qt5WidgetsAddons.so.*.*
|
||||||
|
%{_libdir}/fcitx5/qt5/
|
||||||
|
%{_qt5_plugindir}/platforminputcontexts/libfcitx5platforminputcontextplugin.so
|
||||||
|
%{_libexecdir}/fcitx5/
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/Fcitx5Qt5/
|
||||||
|
%{_libdir}/cmake/Fcitx5Qt5*
|
||||||
|
%{_libdir}/libFcitx5Qt5DBusAddons.so
|
||||||
|
%{_libdir}/libFcitx5Qt5WidgetsAddons.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Aug 16 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.2.20200811git3ddd34a
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
|
* Wed Aug 12 2020 Qiyu Yan <yanqiyu@fedoraproject.org> - 0-0.1.20200811git3ddd34a
|
||||||
|
- initial package
|
Loading…
Reference in New Issue