libpisp/libpisp.spec

67 lines
1.8 KiB
RPMSpec

Name: libpisp
Version: 1.2.1
Release: 1mamba
Summary: A helper library to generate run-time configuration for the Raspberry Pi ISP (PiSP)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/raspberrypi/libpisp
Source: https://github.com/raspberrypi/libpisp.git/v%{version}/libpisp-%{version}.tar.bz2
License: BSD-2-Clause
ExclusiveArch: aarch64
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libnlohmann-json-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: meson
%description
A helper library to generate run-time configuration for the Raspberry Pi ISP (PiSP), consisting of the Frontend and Backend hardware components.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libpisp.so.*
%{_datadir}/libpisp/backend_default_config.json
%doc LICENSE LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libpisp
%{_includedir}/libpisp/*
%{_libdir}/libpisp.so
%{_libdir}/pkgconfig/libpisp.pc
%doc README.md
%changelog
* Sat May 03 2025 Automatic Build System <autodist@openmamba.org> 1.2.1-1mamba
- update to 1.2.1
* Sat Apr 12 2025 Automatic Build System <autodist@openmamba.org> 1.2.0-1mamba
- package created using the webbuild interface