[packages/ka6-kamera] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:26:50 CET 2024


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

    - updated to 24.02.0

 ka6-kamera.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)
---
diff --git a/ka6-kamera.spec b/ka6-kamera.spec
new file mode 100644
index 0000000..f3bb888
--- /dev/null
+++ b/ka6-kamera.spec
@@ -0,0 +1,78 @@
+#
+# 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		kamera
+Summary:	Kamera
+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:	cae16e87eae9d74c218989b124a067d4
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	cmake >= 3.20
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-kconfig-devel >= %{kframever}
+BuildRequires:	kf6-kconfigwidgets-devel >= %{kframever}
+BuildRequires:	kf6-kdoctools-devel >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-kio-devel >= %{kframever}
+BuildRequires:	kf6-kxmlgui-devel >= %{kframever}
+BuildRequires:	libgphoto2-devel
+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
+Digital camera support for KDE applications. This package allows any
+KDE application to access and manipulate pictures on a digital camera.
+
+%description -l pl.UTF-8
+Wsparcie dla cyfrowych aparatów fotograficznych. Ten pakiet pozwala
+dowolnej aplikacji KDE na dostęp i operowanie zdjęciami z aparatu
+cyfrowego.
+
+%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
+%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
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kio/kio_kamera.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kamera.so
+%{_desktopdir}/kcm_kamera.desktop
+%{_datadir}/metainfo/org.kde.kamera.metainfo.xml
+%{_datadir}/qlogging-categories6/kamera.categories
+%{_datadir}/solid/actions/solid_camera.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kamera.git/commitdiff/40dc014fa3061019804a33411910b1ff8f3f21ae



More information about the pld-cvs-commit mailing list