automatic version update by autodist [release 24.02.1-1mamba;Fri Mar 22 2024]

This commit is contained in:
Automatic Build System 2024-03-29 18:09:58 +01:00
parent 5049422560
commit 82b2b9fe66
2 changed files with 40 additions and 53 deletions

View File

@ -1,3 +1,4 @@
# kde-dev-utils
Utilities for KDE development.

View File

@ -1,5 +1,5 @@
Name: kde-dev-utils
Version: 23.08.5
Version: 24.02.1
Release: 1mamba
Summary: Utilities for KDE development
Group: Graphical Desktop/Applications/Development
@ -7,33 +7,25 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/kde-dev-utils-%{version}.tar.xz
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/kde-dev-utils-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libkf6-kcolorscheme-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kconfigwidgets-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kio-devel
BuildRequires: libkf6-kparts-devel
BuildRequires: libkf6-kservice-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-kxmlgui-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qttools-devel
## AUTOBUILDREQ-END
BuildRequires: automoc4
BuildRequires: cmake
@ -49,37 +41,27 @@ Obsoletes: kpartloader < 21.04.0
%description
Utilities for KDE development.
## remove the devel blocks if this package does not provide development stuff
#%package devel
#Group: Development/Libraries
#Summary: Development files for %{name}
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires: kdelibs-devel
#
#%description devel
#This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%cmake_kf6
%ifarch x86_64
sed -i "s|/usr/lib/lib|/usr/lib64/lib|g" \
kuiviewer/CMakeFiles/quithumbnail.dir/link.txt \
kuiviewer/CMakeFiles/kuiviewerpart.dir/link.txt
%endif
#%ifarch x86_64
#sed -i "s|/usr/lib/lib|/usr/lib64/lib|g" \
# kuiviewer/CMakeFiles/quithumbnail.dir/link.txt \
# kuiviewer/CMakeFiles/kuiviewerpart.dir/link.txt
#%endif
%make
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%cmake_install
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%find_lang %{name} --with-qt --with-man --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -91,33 +73,37 @@ exit 0
%posttrans
/sbin/ldconfig
update-desktop-database -q >/dev/null 2>&1
update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1
update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1
update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1
fi
exit 0
%files -f %{name}5_qt.lang
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde5_bindir}/kpartloader
%{_kde5_bindir}/kuiviewer
%{_kde5_icondir}/hicolor/*/apps/kuiviewer.png
%{_libdir}/qt5/plugins/kf5/parts/kuiviewerpart.so
%{_libdir}/qt5/plugins/quithumbnail.so
%{_datadir}/icons/hicolor/scalable/apps/kuiviewer.svg
%{_kde5_sharedir}/kservices5/designerthumbnail.desktop
%{_kde5_sharedir}/kservices5/kuiviewer_part.desktop
%{_kf6_bindir}/kpartloader
%{_kf6_bindir}/kuiviewer
%{_libdir}/qt6/plugins/kf6/parts/kuiviewerpart.so
%{_kf6_plugindir}/thumbcreator/quithumbnail.so
%{_datadir}/applications/org.kde.kuiviewer.desktop
%{_datadir}/metainfo/org.kde.kuiviewer.metainfo.xml
%{_datadir}/metainfo/org.kde.kuiviewerpart.metainfo.xml
%{_datadir}/applications/org.kde.kuiviewer.desktop
%{_kf6_icondir}/hicolor/*/apps/kuiviewer.png
%{_datadir}/icons/hicolor/scalable/apps/kuiviewer.svg
%doc LICENSES
%changelog
* Fri Mar 22 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
- automatic version update by autodist
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
- automatic version update by autodist