2024-01-06 02:51:52 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
|
|
|
Name: ksanecore
|
2024-01-06 02:52:01 +01:00
|
|
|
Version: 23.08.0
|
2024-01-06 02:51:52 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library that provides a Qt interface for the SANE library for scanner hardware
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://kde.org
|
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/ksanecore-%{version}.tar.xz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: sane-backends-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
KSaneCore is a library that provides a Qt interface for the SANE library for scanner hardware.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: A library that provides a Qt interface for the SANE library for scanner hardware.
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
KSaneCore is a library that provides a Qt interface for the SANE library for scanner hardware.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kde5 -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name} -f %{name}5_qt.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libKSaneCore.so.*
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/KSaneCore
|
|
|
|
%{_includedir}/KSaneCore/*
|
|
|
|
%dir %{_libdir}/cmake/KSaneCore
|
|
|
|
%{_libdir}/cmake/KSaneCore/KSaneCore*.cmake
|
|
|
|
%{_libdir}/libKSaneCore.so
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 02:52:01 +01:00
|
|
|
* Fri Aug 25 2023 Automatic Build System <autodist@mambasoft.it> 23.08.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:52:00 +01:00
|
|
|
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 23.04.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:59 +01:00
|
|
|
* Sat Jun 10 2023 Automatic Build System <autodist@mambasoft.it> 23.04.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:58 +01:00
|
|
|
* Fri May 12 2023 Automatic Build System <autodist@mambasoft.it> 23.04.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:57 +01:00
|
|
|
* Thu Apr 20 2023 Automatic Build System <autodist@mambasoft.it> 23.04.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:56 +01:00
|
|
|
* Fri Mar 03 2023 Automatic Build System <autodist@mambasoft.it> 22.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:55 +01:00
|
|
|
* Fri Feb 03 2023 Automatic Build System <autodist@mambasoft.it> 22.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:54 +01:00
|
|
|
* Fri Jan 06 2023 Automatic Build System <autodist@mambasoft.it> 22.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:53 +01:00
|
|
|
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 22.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:53 +01:00
|
|
|
* Fri Nov 04 2022 Automatic Build System <autodist@mambasoft.it> 22.08.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:53 +01:00
|
|
|
* Fri Oct 14 2022 Automatic Build System <autodist@mambasoft.it> 22.08.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:52 +01:00
|
|
|
* Fri Sep 09 2022 Automatic Build System <autodist@mambasoft.it> 22.08.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:51:52 +01:00
|
|
|
* Thu Aug 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 22.08.0-1mamba
|
|
|
|
- package created using the webbuild interface
|