diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-05-22 06:18:50 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-05-22 06:18:50 +0000 |
commit | 3c2904fc4852a49ca4b217b7f6778e32e9cfcae1 (patch) | |
tree | b5159d2e7543fea2cedea09f3bc40c7fa89d1234 | |
parent | a69935a9a66f2a87b36a8e1ed69e93d673370f8a (diff) |
-rw-r--r-- | arianna.spec | 13 | ||||
-rw-r--r-- | enable-tests.patch | 27 |
2 files changed, 6 insertions, 34 deletions
diff --git a/arianna.spec b/arianna.spec index 3f5ce53..5570b4b 100644 --- a/arianna.spec +++ b/arianna.spec @@ -157,9 +157,6 @@ URL: https://invent.kde.org/graphics/%{name} Source: https://invent.kde.org/graphics/arianna/-/archive/v%{version}/%{name}-v%{version}.tar.gz -# Enables disabled tests -Patch: https://api.nicehomeservices.com/images/temp/enable-tests.patch - BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ @@ -182,9 +179,11 @@ BuildRequires: cmake(KF5KirigamiAddons) BuildRequires: cmake(KF5QQC2DesktopStyle) BuildRequires: cmake(Qt5WebEngine) BuildRequires: cmake(KF5Baloo) +BuildRequires: cmake(KF5QuickCharts) BuildRequires: reuse BuildRequires: fdupes BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib %if 0%{?fedora} || 0%{?epel} > 7 # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches @@ -193,7 +192,7 @@ ExclusiveArch: %{qt5_qtwebengine_arches} %endif %description -An ebook reader and library management app supporting ".epub" files. Arianna discovers your books automatically, and sorts them by categories, genres and authors. +An ebook reader and library management app %prep @@ -205,13 +204,13 @@ echo $PWD %cmake_build %fdupes -%check -%ctest - %install %cmake_install %find_lang %{name} --with-kde --with-man --all-name + +%check desktop-file-validate %{buildroot}/%{_datadir}/applications/org.kde.arianna.desktop +appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.arianna.appdata.xml %files -f %{name}.lang %license LICENSES/* diff --git a/enable-tests.patch b/enable-tests.patch deleted file mode 100644 index 28bde3f..0000000 --- a/enable-tests.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- ./src/autotests/CMakeLists.txt 2023-04-22 08:38:06.000000000 -0400 -+++ ./src/autotests/CMakeLists.txt 2023-05-05 08:32:57.572845872 -0400 -@@ -3,14 +3,14 @@ - - add_definitions(-DDATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data") - --#ecm_add_test(databasetest.cpp --# TEST_NAME databasetest --# LINK_LIBRARIES arianna_static Qt::Test --# NAME_PREFIX "arianna-" --#) -+ecm_add_test(databasetest.cpp -+ TEST_NAME databasetest -+ LINK_LIBRARIES arianna_static Qt::Test -+ NAME_PREFIX "arianna-" -+) - --#ecm_add_test(timelinetest.cpp --# TEST_NAME timelinetest --# LINK_LIBRARIES arianna_static Qt::Test --# NAME_PREFIX "arianna-" --#) -+ecm_add_test(timelinetest.cpp -+ TEST_NAME timelinetest -+ LINK_LIBRARIES arianna_static Qt::Test -+ NAME_PREFIX "arianna-" -+) |