[packages/ka6-ksanecore] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:30:59 CET 2024


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

    - updated to 24.02.0

 ka6-ksanecore.spec | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)
---
diff --git a/ka6-ksanecore.spec b/ka6-ksanecore.spec
new file mode 100644
index 0000000..ede1d15
--- /dev/null
+++ b/ka6-ksanecore.spec
@@ -0,0 +1,95 @@
+#
+# 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		ksanecore
+Summary:	ksanecore
+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:	ef74810f9cdfc2b35eb2ccd5d7ee74b1
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel
+BuildRequires:	Qt6Gui-devel >= 5.12.3
+BuildRequires:	Qt6Test-devel
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	gettext-devel
+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
+KSaneCore.
+
+%description -l pl.UTF-8
+KSaneCore.
+
+%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
+%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)
+%ghost %{_libdir}/libKSaneCore6.so.1
+%attr(755,root,root) %{_libdir}/libKSaneCore6.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KSaneCore6
+%{_libdir}/cmake/KSaneCore6
+%{_libdir}/libKSaneCore6.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-ksanecore.git/commitdiff/a63b1c57c1b55e50534177131af37de5fa8ecfc2



More information about the pld-cvs-commit mailing list