[packages/linux-gpib-firmware] - initial

qboosh qboosh at pld-linux.org
Fri Jul 15 18:41:44 CEST 2016


commit 3629d0c07f98e347ed7ac7d940101635d15b39b1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jul 15 18:42:00 2016 +0200

    - initial

 linux-gpib-firmware.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/linux-gpib-firmware.spec b/linux-gpib-firmware.spec
new file mode 100644
index 0000000..5ce12bf
--- /dev/null
+++ b/linux-gpib-firmware.spec
@@ -0,0 +1,53 @@
+Summary:	Firmware for GPIB devices using Linux-GPIB drivers
+Summary(pl.UTF-8):	Firmware dla urządzeń GPIB wykorzystujących sterowniki Linux-GPIB
+Name:		linux-gpib-firmware
+Version:	2008.08.10
+%define	fver	%(echo %{version} | tr . -)
+Release:	1
+License:	unknown
+Group:		Applications/System
+Source0:	http://linux-gpib.sourceforge.net/firmware/gpib_firmware-%{fver}.tar.gz
+# Source0-md5:	68cce91f2169fa94022dfcaac1651b6a
+URL:		http://linux-gpib.sourceforge.net/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Firmware for GPIB devices using Linux-GPIB drivers:
+- NI GPIB-USB-B
+- Agilent 82357A and 82357B
+- Agilent (HP) 82341C and 82341D
+- Agilent (HP) 82350A
+
+%description -l pl.UTF-8
+Firmware dla urządzeń GPIB wykorzystujących sterowniki Linux-GPIB:
+- NI GPIB-USB-B
+- Agilent 82357A oraz 82357B
+- Agilent (HP) 82341C oraz 82341D
+- Agilent (HP) 82350A
+
+%prep
+%setup -q -n gpib_firmware-%{fver}
+
+for d in agilent_82357a hp_82341 ni_gpib_usb_b ; do
+	cp -l ${d}/README README.${d}
+done
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/firmware/{agilent_82357a,hp_82341,hp_82350a,ni_usb_gpib}
+
+cp -p agilent_82357a/*.hex $RPM_BUILD_ROOT/lib/firmware/agilent_82357a
+cp -p hp_82341/*.bin $RPM_BUILD_ROOT/lib/firmware/hp_82341
+cp -p hp_82350a/*.bin $RPM_BUILD_ROOT/lib/firmware/hp_82350a
+cp -p ni_gpib_usb_b/*.hex $RPM_BUILD_ROOT/lib/firmware/ni_usb_gpib
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README README.*
+/lib/firmware/agilent_82357a
+/lib/firmware/hp_82341
+/lib/firmware/hp_82350a
+/lib/firmware/ni_usb_gpib
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linux-gpib-firmware.git/commitdiff/3629d0c07f98e347ed7ac7d940101635d15b39b1



More information about the pld-cvs-commit mailing list