[packages/kf5-kpackage] Revert "- updated to 5.249.0; rel 0.1"

witekfl witekfl at pld-linux.org
Thu Mar 14 17:34:45 CET 2024


commit c81692fb8ee7043c1de8ee7d6881af8eb91d2c1c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Mar 14 16:04:49 2024 +0100

    Revert "- updated to 5.249.0; rel 0.1"
    
    This reverts commit 49d9efa3b8efcc0526c474e8713fa03e72d700a1.

 kf5-kpackage.spec | 71 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 38 insertions(+), 33 deletions(-)
---
diff --git a/kf5-kpackage.spec b/kf5-kpackage.spec
index f977e02..2dc7239 100644
--- a/kf5-kpackage.spec
+++ b/kf5-kpackage.spec
@@ -1,22 +1,22 @@
 #
 # Conditional build:
 %bcond_with	tests		# build with tests
-%define		kdeframever	5.249.0
+%define		kdeframever	5.114
 %define		qtver		5.15.2
 %define		kfname		kpackage
 
 Summary:	Library to load and install packages as plugins
 Name:		kf5-%{kfname}
-Version:	5.249.0
-Release:	0.1
+Version:	5.114.0
+Release:	1
 License:	LGPL v2.1+
 Group:		X11/Libraries
-Source0:	https://download.kde.org/unstable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5:	f7fca0ac09678a1d3c0f221ab368c815
+Source0:	https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5:	32091fa9cda17e702d45ea8e69e20cd8
 URL:		http://www.kde.org/
-BuildRequires:	Qt6Core-devel >= %{qtver}
-BuildRequires:	Qt6DBus-devel >= %{qtver}
-BuildRequires:	Qt6Test-devel >= %{qtver}
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5DBus-devel >= %{qtver}
+BuildRequires:	Qt5Test-devel >= %{qtver}
 BuildRequires:	cmake >= 3.16
 BuildRequires:	gettext-devel
 BuildRequires:	kf5-extra-cmake-modules >= %{version}
@@ -28,15 +28,15 @@ BuildRequires:	ninja
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
-Requires:	Qt6Core >= %{qtver}
-Requires:	Qt6DBus >= %{qtver}
+Requires:	Qt5Core >= %{qtver}
+Requires:	Qt5DBus >= %{qtver}
 Requires:	kf5-dirs
 Requires:	kf5-karchive >= %{version}
 Requires:	kf5-kcoreaddons >= %{version}
 Requires:	kf5-ki18n >= %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		qt6dir		%{_libdir}/qt6
+%define		qt5dir		%{_libdir}/qt5
 
 %description
 Library to load and install packages as plugins.
@@ -73,10 +73,10 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_libdir}/qt6/plugins/kpackage/packagestructure
+install -d $RPM_BUILD_ROOT%{_libdir}/qt5/plugins/kpackage/packagestructure
 %ninja_install -C build
 
-%find_lang lib%{kfname}6
+%find_lang lib%{kfname}5
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,28 +84,33 @@ rm -rf $RPM_BUILD_ROOT
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files -f lib%{kfname}6.lang
+%files -f lib%{kfname}5.lang
 %defattr(644,root,root,755)
 %doc README.md
-%{_datadir}/qlogging-categories6/kpackage.categories
-%attr(755,root,root) %{_bindir}/kpackagetool6
-%ghost %{_libdir}/libKF6Package.so.6
-%attr(755,root,root) %{_libdir}/libKF6Package.so.*.*
-%dir %{_libdir}/qt6/plugins/kpackage
-%dir %{_libdir}/qt6/plugins/kpackage/packagestructure
-%{_mandir}/man1/kpackagetool6.1*
-%lang(ca) %{_mandir}/ca/man1/kpackagetool6.1*
-%lang(es) %{_mandir}/es/man1/kpackagetool6.1*
-%lang(it) %{_mandir}/it/man1/kpackagetool6.1*
-%lang(nl) %{_mandir}/nl/man1/kpackagetool6.1*
-%lang(pt_BR) %{_mandir}/pt_BR/man1/kpackagetool6.1*
-%lang(uk) %{_mandir}/uk/man1/kpackagetool6.1*
-%lang(fr) %{_mandir}/fr/man1/kpackagetool6.1*
-%{_datadir}/qlogging-categories6/kpackage.renamecategories
-%lang(tr) %{_mandir}/tr/man1/kpackagetool6.1*
+%{_datadir}/qlogging-categories5/kpackage.categories
+%attr(755,root,root) %{_bindir}/kpackagetool5
+%ghost %{_libdir}/libKF5Package.so.5
+%attr(755,root,root) %{_libdir}/libKF5Package.so.*.*
+%dir %{_libdir}/qt5/plugins/kpackage
+%dir %{_libdir}/qt5/plugins/kpackage/packagestructure
+%{_mandir}/man1/kpackagetool5.1*
+%lang(ca) %{_mandir}/ca/man1/kpackagetool5.1*
+%lang(de) %{_mandir}/de/man1/kpackagetool5.1*
+%lang(es) %{_mandir}/es/man1/kpackagetool5.1*
+%lang(it) %{_mandir}/it/man1/kpackagetool5.1*
+%lang(nl) %{_mandir}/nl/man1/kpackagetool5.1*
+%lang(pt) %{_mandir}/pt/man1/kpackagetool5.1*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kpackagetool5.1*
+%lang(sv) %{_mandir}/sv/man1/kpackagetool5.1*
+%lang(uk) %{_mandir}/uk/man1/kpackagetool5.1*
+%{_datadir}/kservicetypes5/kpackage-generic.desktop
+%{_datadir}/kservicetypes5/kpackage-genericqml.desktop
+%{_datadir}/kservicetypes5/kpackage-packagestructure.desktop
+%lang(fr) %{_mandir}/fr/man1/kpackagetool5.1*
+%{_datadir}/qlogging-categories5/kpackage.renamecategories
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/KF6/KPackage
-%{_libdir}/cmake/KF6Package
-%{_libdir}/libKF6Package.so
+%{_includedir}/KF5/KPackage
+%{_libdir}/cmake/KF5Package
+%{_libdir}/libKF5Package.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kpackage.git/commitdiff/f18794a2d6da7fce5b5496cb284d354a557add1a



More information about the pld-cvs-commit mailing list