[packages/kf6-solid] - updated to 5.249.0; rel 0.1

witekfl witekfl at pld-linux.org
Sun Feb 4 15:35:04 CET 2024


commit a8b093dd93c05232a5b9a8262d637f94b915feb7
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Feb 4 14:51:39 2024 +0100

    - updated to 5.249.0; rel 0.1

 kf6-solid.spec | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)
---
diff --git a/kf6-solid.spec b/kf6-solid.spec
new file mode 100644
index 0000000..09fd9b8
--- /dev/null
+++ b/kf6-solid.spec
@@ -0,0 +1,116 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeframever	5.249.0
+%define		qtver		5.15.2
+%define		kfname		solid
+
+Summary:	Desktop hardware abstraction
+Name:		kf6-%{kfname}
+Version:	5.249.0
+Release:	0.1
+License:	LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/unstable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5:	42921db4c11a2a467cbd4714ab304294
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Concurrent-devel >= %{qtver}
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6DBus-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= %{qtver}
+BuildRequires:	Qt6Qml-devel >= %{qtver}
+BuildRequires:	Qt6Test-devel >= %{qtver}
+BuildRequires:	Qt6Xml-devel >= %{qtver}
+BuildRequires:	bison >= 3.0
+BuildRequires:	cmake >= 3.16
+BuildRequires:	flex
+BuildRequires:	kf6-extra-cmake-modules >= %{version}
+BuildRequires:	libimobiledevice-devel
+BuildRequires:	libmount-devel
+BuildRequires:	libplist-devel
+BuildRequires:	ninja
+BuildRequires:	pkgconfig
+BuildRequires:	qt6-linguist >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	udev-devel
+BuildRequires:	xz
+Requires:	Qt6Core >= %{qtver}
+Requires:	Qt6DBus >= %{qtver}
+Requires:	Qt6Gui >= %{qtver}
+Requires:	Qt6Qml >= %{qtver}
+Requires:	Qt6Xml >= %{qtver}
+Requires:	kf6-dirs
+Suggests:	media-player-info
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		qt6dir		%{_libdir}/qt6
+
+%description
+Solid is a device integration framework. It provides a way of querying
+and interacting with hardware independently of the underlying
+operating system.
+
+It provides the following features for application developers:
+
+- Hardware Discovery
+- Power Management
+- Network Management
+
+
+%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:	Qt6Core-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 TODO
+%attr(755,root,root) %{_bindir}/solid-hardware6
+%ghost %{_libdir}/libKF6Solid.so.6
+%attr(755,root,root) %{_libdir}/libKF6Solid.so.*.*
+%{_datadir}/qlogging-categories6/solid.categories
+%{_datadir}/qlogging-categories6/solid.renamecategories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/Solid
+%{_libdir}/cmake/KF6Solid
+%{_libdir}/libKF6Solid.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf6-solid.git/commitdiff/a8b093dd93c05232a5b9a8262d637f94b915feb7



More information about the pld-cvs-commit mailing list