[packages/ka5-eventviews] - cleanup
qboosh
qboosh at pld-linux.org
Mon Nov 11 21:41:10 CET 2024
commit 2dda24676146dffabaa5a2095fe5c1cb4628d394
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Nov 11 21:14:57 2024 +0100
- cleanup
ka5-eventviews.spec | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/ka5-eventviews.spec b/ka5-eventviews.spec
index 2b9e4a1..1843544 100644
--- a/ka5-eventviews.spec
+++ b/ka5-eventviews.spec
@@ -1,6 +1,7 @@
#
# Conditional build:
-%bcond_with tests # build with tests
+%bcond_with tests # test suite
+
%define kdeappsver 23.08.5
%define kframever 5.94.0
%define qtver 5.15.2
@@ -14,7 +15,7 @@ License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
# Source0-md5: 05e29d8eea5e52debacc7aa5ff10c569
-URL: http://www.kde.org/
+URL: https://kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= 5.11.1
BuildRequires: Qt5Test-devel
@@ -75,15 +76,16 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
%{!?with_tests:-DBUILD_TESTING=OFF} \
-DHTML_INSTALL_DIR=%{_kdedocdir} \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
%ninja_build -C build
%if %{with tests}
ctest --test-dir build
%endif
-
%install
rm -rf $RPM_BUILD_ROOT
+
%ninja_install -C build
%find_lang %{kaname} --all-name --with-kde
@@ -96,14 +98,14 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{kaname}.lang
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libKPim5EventViews.so.*.*.*
+%ghost %{_libdir}/libKPim5EventViews.so.5
%{_datadir}/qlogging-categories5/eventviews.categories
%{_datadir}/qlogging-categories5/eventviews.renamecategories
-%ghost %{_libdir}/libKPim5EventViews.so.5
-%attr(755,root,root) %{_libdir}/libKPim5EventViews.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%{_libdir}/qt5/mkspecs/modules/qt_EventViews.pri
+%{_libdir}/libKPim5EventViews.so
%{_includedir}/KPim5/EventViews
%{_libdir}/cmake/KPim5EventViews
-%{_libdir}/libKPim5EventViews.so
+%{_libdir}/qt5/mkspecs/modules/qt_EventViews.pri
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-eventviews.git/commitdiff/414d41b1c1fd9015da21dc6863ba5f3a8af985c4
More information about the pld-cvs-commit
mailing list