diff --git a/.gitignore b/.gitignore index 4db7b7e..32b510d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ /fcitx5-qt-02bbbf671dc44e83ef8eb9352483e67ad43381e3.tar.gz /fcitx5-qt-f5adc1bd85a89a1d3888052fa9403c8e9b454bfa.tar.gz /fcitx5-qt-932e25f361f588a1e87f57e8a994bba80bf8798d.tar.gz +/fcitx5-qt-5.0.0.tar.xz +/fcitx5-qt-5.0.0.tar.xz.sig +/0x8E8B898CBF2412F9 diff --git a/fcitx5-qt.spec b/fcitx5-qt.spec index 9749651..3822262 100644 --- a/fcitx5-qt.spec +++ b/fcitx5-qt.spec @@ -1,21 +1,19 @@ -%global forgeurl https://github.com/fcitx/fcitx5-qt -%global commit 932e25f361f588a1e87f57e8a994bba80bf8798d -%forgemeta %global __provides_exclude_from ^%{_libdir}/(fcitx5|qt5)/.*\\.so$ - Name: fcitx5-qt -Version: 0 -Release: 0.5%{?dist} +Version: 5.0.0 +Release: 1%{?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} +URL: https://github.com/fcitx/fcitx5-qt +Source: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz +Source1: https://download.fcitx-im.org/fcitx5/%{name}/%{name}-%{version}.tar.xz.sig +Source2: https://pgp.key-server.io/download/0x8E8B898CBF2412F9 # upstream don't use /usr/libexec, patch to fix Patch0: 0001-use-usr-libexec-instead.patch - +BuildRequires: gnupg2 BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ @@ -42,7 +40,8 @@ Requires: fcitx5-devel Development files for %{name} %prep -%forgeautosetup -p1 +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%autosetup -p1 %build %cmake -GNinja -DENABLE_QT4=False @@ -72,6 +71,9 @@ Development files for %{name} %{_libdir}/libFcitx5Qt5WidgetsAddons.so %changelog +* Tue Nov 3 19:39:01 CST 2020 Qiyu Yan - 5.0.0-1 +- update to 1.0.0 upstream release + * Fri Oct 16 2020 Qiyu Yan - 0-0.5 - update to 932e25f361f588a1e87f57e8a994bba80bf8798d upstream commit diff --git a/sources b/sources index d8203c4..9472884 100644 --- a/sources +++ b/sources @@ -1 +1,3 @@ -SHA512 (fcitx5-qt-932e25f361f588a1e87f57e8a994bba80bf8798d.tar.gz) = 25199b17e95b371594dc347e8e7b1e22e0b07e7a08295e4ffa70a574eaa11d0f4553df62b627a0122e58b55dda2cf93defdacb2d92ade759d9c903e5bee3a7f6 +SHA512 (fcitx5-qt-5.0.0.tar.xz) = 843e321f70ad29013e9775bac93316e0ad28ea6acfec7a69d8e5348143566bba21ddd05c09b5c7a497c4761eaf488ee7767ff837209cdf1328382e943176d756 +SHA512 (fcitx5-qt-5.0.0.tar.xz.sig) = 417a61b694692f611cd76255adffefa090ca45e326ad79ed5ac9b0a2062647846f7d9f63b7e1a3eba04f0bfa6eccde8adeba73df9c12b628bf8618b25ba81151 +SHA512 (0x8E8B898CBF2412F9) = e8127bfd351fe8867db7fc3a4dc6187bd9694cefa50588afe2327bed7d7d2b300993f442ff6029f15fae289bdac7cc22501ec03fc83cbe760ce3bf86c6512279