[packages/kf6-networkmanager-qt] - updated to 5.249.0; rel 0.1
witekfl
witekfl at pld-linux.org
Sun Feb 4 15:37:02 CET 2024
commit c1ffb63be281e2b11c5cbbf3ec40591c3a5eb1d1
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Feb 4 14:53:48 2024 +0100
- updated to 5.249.0; rel 0.1
kf6-networkmanager-qt.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 93 insertions(+)
---
diff --git a/kf6-networkmanager-qt.spec b/kf6-networkmanager-qt.spec
new file mode 100644
index 0000000..c3ad572
--- /dev/null
+++ b/kf6-networkmanager-qt.spec
@@ -0,0 +1,93 @@
+#
+# Conditional build:
+%bcond_with tests # build without tests
+#
+%define kdeframever 5.249.0
+%define qtver 5.15.2
+%define kfname networkmanager-qt
+Summary: Qt wrapper for NetworkManager DBus API
+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: 5c2f24c8e089e009acd7ca986de3cabf
+URL: http://www.kde.org/
+BuildRequires: NetworkManager-devel
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= %{qtver}
+BuildRequires: Qt6Network-devel >= %{qtver}
+BuildRequires: Qt6Test-devel >= %{qtver}
+%if %{with tests}
+BuildRequires: Qt6Gui-devel >= %{qtver}
+BuildRequires: Qt6Widgets-devel >= %{qtver}
+%endif
+BuildRequires: cmake >= 3.16
+BuildRequires: kf6-extra-cmake-modules >= %{version}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: kf6-dirs
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Qt wrapper for NetworkManager DBus API.
+
+%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}
+
+%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
+
+%{?with_tests:%ninja_build -C build test}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{_datadir}/qlogging-categories6/networkmanagerqt.categories
+%attr(755,root,root) %{_libdir}/libKF6NetworkManagerQt.so.*.*.*
+%ghost %{_libdir}/libKF6NetworkManagerQt.so.6
+%{_datadir}/qlogging-categories6/networkmanagerqt.renamecategories
+%dir %{_libdir}/qt6/qml/org/kde/networkmanager
+%{_libdir}/qt6/qml/org/kde/networkmanager/kde-qmlmodule.version
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/networkmanager/libnetworkmanagerqtqml.so
+%{_libdir}/qt6/qml/org/kde/networkmanager/networkmanagerqtqml.qmltypes
+%{_libdir}/qt6/qml/org/kde/networkmanager/qmldir
+
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libKF6NetworkManagerQt.so
+%{_includedir}/KF6/NetworkManagerQt
+%{_libdir}/cmake/KF6NetworkManagerQt
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf6-networkmanager-qt.git/commitdiff/c1ffb63be281e2b11c5cbbf3ec40591c3a5eb1d1
More information about the pld-cvs-commit
mailing list