[packages/kf6-kcompletion] - updated to 5.249.0; rel 0.1
witekfl
witekfl at pld-linux.org
Sun Feb 4 15:34:28 CET 2024
commit dfd6a534e26fe28a1c912e06658cde2e3caae910
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Feb 4 14:51:01 2024 +0100
- updated to 5.249.0; rel 0.1
kf6-kcompletion.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 97 insertions(+)
---
diff --git a/kf6-kcompletion.spec b/kf6-kcompletion.spec
new file mode 100644
index 0000000..7c280d2
--- /dev/null
+++ b/kf6-kcompletion.spec
@@ -0,0 +1,97 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+# TODO:
+# - runtime Requires if any
+%define kdeframever 5.249.0
+%define qtver 5.15.2
+%define kfname kcompletion
+
+Summary: String completion framework
+Name: kf6-%{kfname}
+Version: 5.249.0
+Release: 0.1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/unstable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 2e7b7f1989fe8d15464b94d812d394f1
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Test-devel >= %{qtver}
+BuildRequires: Qt6Widgets-devel >= %{qtver}
+BuildRequires: cmake >= 3.16
+BuildRequires: kf6-extra-cmake-modules >= %{version}
+BuildRequires: kf6-kconfig-devel >= %{version}
+BuildRequires: kf6-kwidgetsaddons-devel >= %{version}
+BuildRequires: ninja
+BuildRequires: qt6-linguist >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: Qt6Widgets >= %{qtver}
+Requires: kf6-dirs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define qt6dir %{_libdir}/qt6
+
+%description
+This class offers "auto-completion", "manual-completion" or "shell
+completion" on QString objects. A common use is completing filenames
+or URLs. It can also be used for completing email-addresses,
+telephone-numbers, commands, SQL queries, etc.
+
+%package devel
+Summary: Header files for %{kfname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: Qt6Widgets-devel >= %{qtver}
+Requires: cmake >= 3.16
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kfname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
+
+%if %{with tests}
+%ninja_build -C build test
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kfname}6_qt --with-qm --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kfname}6_qt.lang
+%defattr(644,root,root,755)
+%doc README.md
+%ghost %{_libdir}/libKF6Completion.so.6
+%attr(755,root,root) %{_libdir}/libKF6Completion.so.*.*
+%attr(755,root,root) %{_libdir}/qt6/plugins/designer/kcompletion6widgets.so
+%{_datadir}/qlogging-categories6/kcompletion.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/KCompletion
+%{_libdir}/cmake/KF6Completion
+%{_libdir}/libKF6Completion.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf6-kcompletion.git/commitdiff/dfd6a534e26fe28a1c912e06658cde2e3caae910
More information about the pld-cvs-commit
mailing list