[packages/ka6-libksane] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:31:03 CET 2024


commit de7a6ca23229dd525f7e52a70141b661c89135f0
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:30:54 2024 +0100

    - updated to 24.02.0

 ka6-libksane.spec | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 101 insertions(+)
---
diff --git a/ka6-libksane.spec b/ka6-libksane.spec
new file mode 100644
index 0000000..0c48000
--- /dev/null
+++ b/ka6-libksane.spec
@@ -0,0 +1,101 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeappsver	24.02.0
+%define		kframever	5.94.0
+%define		qtver		5.15.2
+%define		kaname		libksane
+Summary:	libksane
+Name:		ka6-%{kaname}
+Version:	24.02.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	b05106517a5bc1f7c6a3d49a145adde5
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel
+BuildRequires:	Qt6Gui-devel >= 5.12.3
+BuildRequires:	Qt6Test-devel
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	gettext-devel
+BuildRequires:	ka6-ksanecore-devel >= %{kdeappsver}
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-ktextwidgets-devel >= %{kframever}
+BuildRequires:	kf6-kwallet-devel >= %{kframever}
+BuildRequires:	kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires:	ninja
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	sane-backends-devel
+BuildRequires:	shared-mime-info
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Conflicts:	kde4-libksane >= 4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KSane library.
+
+%description -l pl.UTF-8
+Biblioteka KSane.
+
+%package devel
+Summary:	Header files for %{kaname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kaname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+	-B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DQT_MAJOR_VERSION=6
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr
+
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%{_iconsdir}/hicolor/*x*/actions/*.png
+%attr(755,root,root) %{_libdir}/libKSaneWidgets6.so.*.*
+%ghost %{_libdir}/libKSaneWidgets6.so.6
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KSaneWidgets6
+%{_libdir}/cmake/KSaneWidgets6
+%{_libdir}/libKSaneWidgets6.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-libksane.git/commitdiff/de7a6ca23229dd525f7e52a70141b661c89135f0



More information about the pld-cvs-commit mailing list