From c10ac1693beb7a4f8ea5d4f20393dafa42ddc78c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:58:38 +0100 Subject: [PATCH] rebuilt with debug package and aarch64 build fix [release 0.9.12-4mamba;Wed Dec 09 2020] --- libunicap.spec | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libunicap.spec b/libunicap.spec index 57d0ada..d08e8ad 100644 --- a/libunicap.spec +++ b/libunicap.spec @@ -1,6 +1,6 @@ Name: libunicap Version: 0.9.12 -Release: 3mamba +Release: 4mamba Summary: A library that provides a uniform interface to video capture devices Group: System/Libraries Vendor: openmamba @@ -33,11 +33,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel unicap provides a uniform interface to video capture devices. It allows applications to use any supported video capture device via a single API +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep %setup -q +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %patch0 -p1 %patch1 -p1 %patch2 -p1 @@ -46,7 +48,9 @@ This package contains static libraries and header files need for development. %patch5 -p1 %build -%configure +%configure \ + CFLAGS="%{optflags} -fcommon" + %make %install @@ -67,7 +71,7 @@ sed -i 's/SYSFS/ATTRS/g' %{buildroot}%{_sysconfdir}/udev/rules.d/50-euvccam.rule %defattr(-,root,root) %{_sysconfdir}/udev/rules.d/50-euvccam.rules %{_libdir}/libunicap.so.* -%doc AUTHORS COPYING README +%doc AUTHORS COPYING %files devel %defattr(-,root,root) @@ -80,9 +84,12 @@ sed -i 's/SYSFS/ATTRS/g' %{buildroot}%{_sysconfdir}/udev/rules.d/50-euvccam.rule %{_libdir}/unicap2/cpi/*.a %{_libdir}/pkgconfig/*.pc %{_datadir}/gtk-doc/html/libunicap/* -%doc ChangeLog +%doc ChangeLog README %changelog +* Wed Dec 09 2020 Silvan Calarco 0.9.12-4mamba +- rebuilt with debug package and aarch64 build fix + * Fri Dec 09 2011 Silvan Calarco 0.9.12-3mamba - added build and stability patches from fedora