diff --git a/libksane.spec b/libksane.spec index 0490990..17fad73 100644 --- a/libksane.spec +++ b/libksane.spec @@ -1,19 +1,16 @@ Name: libksane -Version: 24.08.3 +Version: 24.12.0 Release: 1mamba Summary: SANE Library interface for KDE Group: Graphical Desktop/Libraries/KDE Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -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 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libQt5Core -BuildRequires: libQt5Gui -BuildRequires: libQt5Widgets BuildRequires: libQt6Core BuildRequires: libQt6Gui BuildRequires: libQt6Widgets @@ -24,17 +21,12 @@ BuildRequires: libkf6-ktextwidgets-devel BuildRequires: libkf6-kwallet-devel BuildRequires: libkf6-kwidgetsaddons-devel BuildRequires: libkf6-sonnet-devel -BuildRequires: libki18n-devel BuildRequires: libksanecore-devel -BuildRequires: libksanecore5-devel -BuildRequires: libktextwidgets-devel -BuildRequires: libkwallet-devel -BuildRequires: libkwidgetsaddons-devel -BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libksanecore-devel +Obsoletes: libksane5 < 24.12.0 %description 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 Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: libksane5-devel < 24.12.0 %description devel Libksane is a KDE interface for SANE library to control flat scanners. 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 %prep @@ -75,15 +52,8 @@ This package contains static libraries and header files needed for development. %cmake_build -%cmake -d build5 \ - -DQT_MAJOR_VERSION=5 - -%make - %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall -C build5 - %cmake_install %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 [ "%{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 %defattr(-,root,root) %{_libdir}/libKSaneWidgets6.so.* +%{_datadir}/icons/hicolor/16x16/actions/*.png %doc AUTHORS LICENSES %files devel @@ -119,25 +72,14 @@ exit 0 %dir %{_includedir}/KSaneWidgets6 %{_includedir}/KSaneWidgets6/* %dir %{_libdir}/cmake/KSaneWidgets6 -%{_libdir}/cmake/KSaneWidgets6/KSaneWidgets6*.cmake %{_libdir}/libKSaneWidgets6.so +%{_libdir}/cmake/KSaneWidgets6/KSaneWidgets6*.cmake %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 +* Mon Dec 16 2024 Automatic Build System 24.12.0-1mamba +- automatic version update by autodist + * Fri Nov 08 2024 Automatic Build System 24.08.3-1mamba - automatic version update by autodist