automatic version update by autodist [release 24.02.1-1mamba;Sun Mar 24 2024]
This commit is contained in:
parent
2f7df0f7bb
commit
6a8649fcdf
@ -1,6 +1,4 @@
|
|||||||
# libksane
|
# libksane
|
||||||
|
|
||||||
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 library is used by kipi-plugins, digiKam and others kipi host programs.
|
|
||||||
The library documentation is available on header files.
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: libksane
|
Name: libksane
|
||||||
Version: 23.08.5
|
Version: 24.02.1
|
||||||
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
|
||||||
@ -7,41 +7,56 @@ 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://kde.org/
|
||||||
Source: http://download.kde.org/stable/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: libgcc
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
|
BuildRequires: libkf6-ki18n-devel
|
||||||
|
BuildRequires: libkf6-ktextwidgets-devel
|
||||||
|
BuildRequires: libkf6-kwidgetsaddons-devel
|
||||||
|
BuildRequires: libkf6-sonnet-devel
|
||||||
BuildRequires: libki18n-devel
|
BuildRequires: libki18n-devel
|
||||||
BuildRequires: libksanecore-devel
|
BuildRequires: libksanecore-devel
|
||||||
|
BuildRequires: libksanecore5-devel
|
||||||
BuildRequires: libktextwidgets-devel
|
BuildRequires: libktextwidgets-devel
|
||||||
BuildRequires: libkwallet-devel
|
BuildRequires: libkwallet-devel
|
||||||
BuildRequires: libkwidgetsaddons-devel
|
BuildRequires: libkwidgetsaddons-devel
|
||||||
BuildRequires: libsonnet-devel
|
BuildRequires: libsonnet-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: libksanecore-devel
|
BuildRequires: libksanecore-devel
|
||||||
Provides: libksane5
|
|
||||||
Obsoletes: libksane5 < 21.04.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.
|
||||||
This library is used by kipi-plugins, digiKam and others kipi host programs.
|
|
||||||
The library documentation is available on header files.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
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}
|
||||||
Provides: libksane5-devel
|
|
||||||
Obsoletes: libksane5-devel < 21.04.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 library is used by kipi-plugins, digiKam and others kipi host programs.
|
This package contains static libraries and header files needed for development.
|
||||||
The library documentation is available on header files.
|
|
||||||
|
%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.
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
%debug_package
|
%debug_package
|
||||||
@ -50,53 +65,83 @@ This package contains static libraries and header files needed for development.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake_kde5 -d build
|
%cmake_kf6 \
|
||||||
|
-DQT_MAJOR_VERSION=6
|
||||||
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%cmake -d build5 \
|
||||||
|
-DQT_MAJOR_VERSION=5
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build5
|
||||||
|
|
||||||
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
%cmake_install
|
||||||
|
|
||||||
|
%find_lang %{name} --with-qt --all-name || touch %{name}.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
|
||||||
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files -f %{name}5_qt.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_kde5_libdir}/libKF5Sane.so.*
|
%{_libdir}/libKSaneWidgets6.so.*
|
||||||
%{_datadir}/icons/hicolor/16x16/actions/*.png
|
|
||||||
%doc AUTHORS LICENSES
|
%doc AUTHORS LICENSES
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_kde5_includedir}/KSane
|
%dir %{_includedir}/KSaneWidgets6
|
||||||
%{_kde5_includedir}/KSane/*
|
%{_includedir}/KSaneWidgets6/*
|
||||||
#%{_kde5_includedir}/ksane_version.h
|
%dir %{_libdir}/cmake/KSaneWidgets6
|
||||||
%dir %{_kde5_libdir}/cmake/KF5Sane
|
%{_libdir}/cmake/KSaneWidgets6/KSaneWidgets6*.cmake
|
||||||
%{_kde5_libdir}/cmake/KF5Sane/*.cmake
|
%{_libdir}/libKSaneWidgets6.so
|
||||||
%{_kde5_libdir}/libKF5Sane.so
|
|
||||||
%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
|
||||||
|
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 15 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.02.0-2mamba
|
||||||
|
- rebuilt with qt5 subpackages
|
||||||
|
|
||||||
|
* Fri Mar 01 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
|
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user