[packages/ka6-libkomparediff2] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:28:49 CET 2024


commit ad2646f7e171b21af64ed2c4301530511eaa06b5
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:28:40 2024 +0100

    - updated to 24.02.0

 ka6-libkomparediff2.spec | 96 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)
---
diff --git a/ka6-libkomparediff2.spec b/ka6-libkomparediff2.spec
new file mode 100644
index 0000000..5a18bce
--- /dev/null
+++ b/ka6-libkomparediff2.spec
@@ -0,0 +1,96 @@
+#
+# 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		libkomparediff2
+Summary:	libkomparediff2
+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:	c0e089fbbc390d5c7728a74ea772ffb4
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Test-devel >= 5.4.0
+BuildRequires:	Qt6Widgets-devel >= 5.4.0
+BuildRequires:	cmake >= 3.20
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-kcodecs-devel >= %{kframever}
+BuildRequires:	kf6-kconfig-devel >= %{kframever}
+BuildRequires:	kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-kio-devel >= %{kframever}
+BuildRequires:	kf6-kxmlgui-devel >= %{kframever}
+BuildRequires:	ninja
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	shared-mime-info
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library to compare files and strings, used in Kompare and KDevelop.
+
+%description -l pl.UTF-8
+Biblioteka do porównynwania plików i łańcuchów znaków, używana przez
+Kompare i KDevelop.
+
+%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
+
+%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}/libkomparediff2.so.5
+%attr(755,root,root) %{_libdir}/libkomparediff2.so.*.*
+%{_datadir}/qlogging-categories6/libkomparediff2.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KompareDiff2
+%{_libdir}/cmake/LibKompareDiff2
+%{_libdir}/libkomparediff2.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-libkomparediff2.git/commitdiff/ad2646f7e171b21af64ed2c4301530511eaa06b5



More information about the pld-cvs-commit mailing list