Name: openocd Version: 0.12.0 Release: 1mamba Summary: Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://openocd.sourceforge.io/ Source: http://downloads.sourceforge.net/project/openocd/openocd/%{version}/openocd-%{version}.tar.bz2 Source1: openocd-board-guruplug.cfg Source2: openocd-interface-guruplug.cfg License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libftdi1-devel BuildRequires: libhidapi-devel BuildRequires: libudev-devel BuildRequires: libusb-devel ## AUTOBUILDREQ-END Requires(post): %{__install_info} Requires(preun): %{__install_info} %description The "Open On-Chip Debugger" provides JTAG/SWD access from GDB (or directly with TCL scripts) to processors with ARM and MIPS based cores. %debug_package %prep %setup -q %build %configure \ --enable-ftdi \ --enable-libusb0 \ --enable-stlink \ --enable-rlink # --enable-ft2232_libftdi \ %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/openocd/scripts/board/guruplug.cfg install -m0644 %{SOURCE2} %{buildroot}%{_datadir}/openocd/scripts/interface/guruplug.cfg #install -d -m0755 %{buildroot}/lib/udev/rules.d #mv %{buildroot}%{_datadir}/openocd/contrib/openocd.udev %{buildroot}/lib/udev/rules.d/90-openocd.rules %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post %install_info %{name}.info %install_info %{name}.info-1 %install_info %{name}.info-2 exit 0 %preun %uninstall_info %{name}.info %uninstall_info %{name}.info-1 %uninstall_info %{name}.info-2 exit 0 %files %defattr(-,root,root) %{_bindir}/openocd #%{_libdir}/libopenocd.a #%{_libdir}/libopenocd.la %dir %{_datadir}/openocd %dir %{_datadir}/openocd/contrib %{_datadir}/openocd/contrib/* %dir %{_datadir}/openocd/scripts %{_datadir}/openocd/scripts/* %dir %{_datadir}/openocd/OpenULINK %{_datadir}/openocd/OpenULINK/ulink_firmware.hex #/lib/udev/rules.d/90-openocd.rules %{_infodir}/openocd.info-1* %{_infodir}/openocd.info-2* %{_infodir}/openocd.info* %{_mandir}/man1/openocd.1* %doc AUTHORS COPYING %changelog * Sun Jan 15 2023 Automatic Build System 0.12.0-1mamba - automatic version update by autodist * Mon Jan 23 2017 Automatic Build System 0.10.0-1mamba - automatic version update by autodist * Tue May 19 2015 Automatic Build System 0.9.0-1mamba - automatic update by autodist * Tue Jul 22 2014 Automatic Build System 0.8.0-1mamba - automatic version update by autodist * Fri Aug 16 2013 Silvan Calarco 0.7.0-2mamba - configured with --enable-stlink and --enable-rlink * Sun May 05 2013 Automatic Build System 0.7.0-1mamba - automatic version update by autodist * Wed Dec 19 2012 Silvan Calarco 0.6.1-2mamba - provide guruplug server scripts from http://www.plugcomputer.org/405/us/guru-plug/docs/Guruplug-installer.tar.gz - install udev rules file in proper directory * Wed Dec 19 2012 Silvan Calarco 0.6.1-1mamba - package created by silvan using the webbuild interface