From 8e36b8172d5b6bf8a0c981cfa5d37e993347abf0 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:58:58 +0100 Subject: [PATCH] automatic rebuild by autodist [release 1.6-3mamba;Thu Nov 02 2023] --- isight-firmware-tools.spec | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/isight-firmware-tools.spec b/isight-firmware-tools.spec index 73f6f52..ef7be1f 100644 --- a/isight-firmware-tools.spec +++ b/isight-firmware-tools.spec @@ -1,7 +1,7 @@ %define majver %(echo %{version}|cut -d. -f1-2) Name: isight-firmware-tools Version: 1.6 -Release: 2mamba +Release: 3mamba Summary: A set of tool for isight firmware extraction from Mac OS X driver Group: System/Kernel and Hardware Vendor: openmamba @@ -15,29 +15,32 @@ License: GPL BuildRequires: glibc-devel BuildRequires: libgcrypt-devel BuildRequires: libglib-devel -BuildRequires: libusb-devel +BuildRequires: libusb-compat-devel ## AUTOBUILDREQ-END Requires(post): %{__install_info} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A set of tool for isight firmware extraction from Mac OS X driver and loading for use with udev. +%debug_package + %prep %setup -q -%patch0 -p1 +%patch 0 -p1 %build %configure \ - --libdir=/lib \ + --libdir=%{_prefix}/lib \ --enable-udev \ --disable-hal \ - udevdir=/lib/udev + udevdir=%{_prefix}/lib/udev + %make exec_prefix= %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall libudevdir=/lib/udev +%makeinstall libudevdir=%{_prefix}/lib/udev + mv %{buildroot}%{_sysconfdir}/udev/rules.d/isight.rules \ %{buildroot}%{_sysconfdir}/udev/rules.d/45-isight.rules @@ -48,6 +51,8 @@ _EOF %find_lang %{name} +rm -f %{buildroot}%{_infodir}/dir + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -61,18 +66,22 @@ _EOF %defattr(-,root,root) %{_sysconfdir}/udev/rules.d/45-isight.rules %{_sysconfdir}/modprobe.d/isight_firmware.conf -/lib/udev/ift-load +%{_prefix}/lib/udev/ift-load %{_bindir}/ift-export %{_bindir}/ift-extract %{_datadir}/doc/isight-firmware-tools/HOWTO %{_datadir}/info/ift-export.info.gz -%{_infodir}/ift-extract.info.gz -%{_mandir}/man1/ift-export.1.gz -%{_mandir}/man1/ift-extract.1.gz -%doc AUTHORS COPYING ChangeLog +%{_infodir}/ift-extract.info* +%{_mandir}/man1/ift-export.1* +%{_mandir}/man1/ift-extract.1* +%doc AUTHORS COPYING +#ChangeLog # NEWS README %changelog +* Thu Nov 02 2023 Automatic Build System 1.6-3mamba +- automatic rebuild by autodist + * Thu Nov 24 2011 Silvan Calarco 1.6-2mamba - fixed udev rule: don't call only on ACTION=add - blacklist isight_firmware which (often) fails at loading firmware