Name: libcamera Version: 0.0.4 Release: 2mamba Summary: A complex camera support library for Linux, Android, and ChromeOS Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://libcamera.org/ Source: https://git.libcamera.org/libcamera/libcamera.git/v%{version}/libcamera-%{version}.tar.bz2 License: GPL, LGPL, BSD, MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libSDL2-devel BuildRequires: libdrm-devel BuildRequires: libdw-devel BuildRequires: libevent-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libgmock-devel BuildRequires: libgnutls-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libjpeg-devel BuildRequires: liblttng-ust-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libudev-devel BuildRequires: libunwind-devel BuildRequires: libyaml-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: meson %description A complex camera support library for Linux, Android, and ChromeOS. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. %package tools Group: Applications/Multimedia Summary: Utility applications for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. %debug_package %prep %setup -q %build %meson %meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/gstreamer-1.0/libgstlibcamera.so %{_libdir}/libcamera-base.so.* %{_libdir}/libcamera.so.* %ifnarch arm aarch64 %{_libdir}/libcamera/ipa_ipu3.so* %{_libexecdir}/libcamera/ipu3_ipa_proxy %{_datadir}/libcamera/ipa/ipu3/uncalibrated.yaml %endif %ifarch arm aarch64 %{_libdir}/libcamera/ipa_rkisp1.so* %{_libdir}/libcamera/ipa_rpi.so* %{_libexecdir}/libcamera/raspberrypi_ipa_proxy %{_libexecdir}/libcamera/rkisp1_ipa_proxy %dir %{_datadir}/libcamera/ipa/raspberrypi %{_datadir}/libcamera/ipa/raspberrypi/* %dir %{_datadir}/libcamera/ipa/rkisp1 %{_datadir}/libcamera/ipa/rkisp1/* %{_datadir}/libcamera/pipeline/raspberrypi/example.yaml %endif %files devel %defattr(-,root,root) %dir %{_includedir}/libcamera %{_includedir}/libcamera/* %{_libdir}/libcamera-base.so %{_libdir}/libcamera.so %{_libdir}/pkgconfig/libcamera-base.pc %{_libdir}/pkgconfig/libcamera.pc %dir %{_docdir}/libcamera-%{version} %{_docdir}/libcamera-%{version}/* %doc README.rst %files tools %defattr(-,root,root) %{_bindir}/cam %{_bindir}/lc-compliance %{_bindir}/qcam %changelog * Sun Mar 26 2023 Silvan Calarco 0.0.4-2mamba - libcamera-devel: fix docdir multiple inclusion causing installation error * Sun Mar 26 2023 Silvan Calarco 0.0.4-1mamba - package created using the webbuild interface