automatic version update by autodist [release 24.12.0-1mamba;Mon Dec 16 2024]

This commit is contained in:
Automatic Build System 2024-12-18 10:47:21 +01:00
parent c34b0ce869
commit 19382b32a1

View File

@ -1,19 +1,16 @@
Name: libksane Name: libksane
Version: 24.08.3 Version: 24.12.0
Release: 1mamba Release: 1mamba
Summary: SANE Library interface for KDE Summary: SANE Library interface for KDE
Group: Graphical Desktop/Libraries/KDE Group: Graphical Desktop/Libraries/KDE
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/ URL: https://invent.kde.org/graphics/libksane
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libksane-%{version}.tar.xz Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libksane-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Widgets
BuildRequires: libQt6Core BuildRequires: libQt6Core
BuildRequires: libQt6Gui BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets BuildRequires: libQt6Widgets
@ -24,17 +21,12 @@ BuildRequires: libkf6-ktextwidgets-devel
BuildRequires: libkf6-kwallet-devel BuildRequires: libkf6-kwallet-devel
BuildRequires: libkf6-kwidgetsaddons-devel BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-sonnet-devel BuildRequires: libkf6-sonnet-devel
BuildRequires: libki18n-devel
BuildRequires: libksanecore-devel BuildRequires: libksanecore-devel
BuildRequires: libksanecore5-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libksanecore-devel BuildRequires: libksanecore-devel
Obsoletes: libksane5 < 24.12.0
%description %description
Libksane is a KDE interface for SANE library to control flat scanners. Libksane is a KDE interface for SANE library to control flat scanners.
@ -43,27 +35,12 @@ Libksane is a KDE interface for SANE library to control flat scanners.
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libksane5-devel < 24.12.0
%description devel %description devel
Libksane is a KDE interface for SANE library to control flat scanners. Libksane is a KDE interface for SANE library to control flat scanners.
This package contains static libraries and header files needed for development. This package contains static libraries and header files needed for development.
%package -n %{name}5
Summary: SANE Library interface for KDE
Group: Graphical Desktop/Libraries/KDE
%description -n %{name}5
Libksane is a KDE interface for SANE library to control flat scanners.
%package -n %{name}5-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}5 = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{name}5-devel
Libksane is a KDE interface for SANE library to control flat scanners.
This package contains static libraries and header files needed for development.
%debug_package %debug_package
%prep %prep
@ -75,15 +52,8 @@ This package contains static libraries and header files needed for development.
%cmake_build %cmake_build
%cmake -d build5 \
-DQT_MAJOR_VERSION=5
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build5
%cmake_install %cmake_install
%find_lang %{name} --with-qt --all-name || touch %{name}.lang %find_lang %{name} --with-qt --all-name || touch %{name}.lang
@ -91,27 +61,10 @@ This package contains static libraries and header files needed for development.
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
exit 0
%posttrans
/sbin/ldconfig
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
fi
exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libKSaneWidgets6.so.* %{_libdir}/libKSaneWidgets6.so.*
%{_datadir}/icons/hicolor/16x16/actions/*.png
%doc AUTHORS LICENSES %doc AUTHORS LICENSES
%files devel %files devel
@ -119,25 +72,14 @@ exit 0
%dir %{_includedir}/KSaneWidgets6 %dir %{_includedir}/KSaneWidgets6
%{_includedir}/KSaneWidgets6/* %{_includedir}/KSaneWidgets6/*
%dir %{_libdir}/cmake/KSaneWidgets6 %dir %{_libdir}/cmake/KSaneWidgets6
%{_libdir}/cmake/KSaneWidgets6/KSaneWidgets6*.cmake
%{_libdir}/libKSaneWidgets6.so %{_libdir}/libKSaneWidgets6.so
%{_libdir}/cmake/KSaneWidgets6/KSaneWidgets6*.cmake
%doc TODO %doc TODO
%files -n %{name}5 -f %{name}.lang
%defattr(-,root,root)
%{_kf6_libdir}/libKF5Sane.so.*
%{_datadir}/icons/hicolor/16x16/actions/*.png
%doc AUTHORS LICENSES
%files -n %{name}5-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/KSane
%{_kde5_includedir}/KSane/*
%dir %{_kf6_libdir}/cmake/KF5Sane
%{_kf6_libdir}/cmake/KF5Sane/*.cmake
%{_kf6_libdir}/libKF5Sane.so
%changelog %changelog
* Mon Dec 16 2024 Automatic Build System <autodist@openmamba.org> 24.12.0-1mamba
- automatic version update by autodist
* Fri Nov 08 2024 Automatic Build System <autodist@openmamba.org> 24.08.3-1mamba * Fri Nov 08 2024 Automatic Build System <autodist@openmamba.org> 24.08.3-1mamba
- automatic version update by autodist - automatic version update by autodist