From 6942410f0441367bac9b39865c390bc972cd70cc Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:18:18 +0100 Subject: [PATCH] automatic version update by autodist [release 0.20-1mamba;Sat Jul 21 2012] --- README.md | 2 ++ libftdi.spec | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 libftdi.spec diff --git a/README.md b/README.md index a76c507..2ea3a84 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libftdi +A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using libusb, including the popular bitbang mode. This library is linked with your program in userspace, no kernel driver required. + diff --git a/libftdi.spec b/libftdi.spec new file mode 100644 index 0000000..95efde2 --- /dev/null +++ b/libftdi.spec @@ -0,0 +1,95 @@ +Name: libftdi +Version: 0.20 +Release: 1mamba +Summary: A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.intra2net.com/en/developer/libftdi/index.php +Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libusb0-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using libusb, including the popular bitbang mode. This library is linked with your program in userspace, no kernel driver required. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using libusb, including the popular bitbang mode. This library is linked with your program in userspace, no kernel driver required. + +This package contains static libraries and header files need for development. + +%package -n ftdi-utils +Summary: Utilities based on %{name} +Group: System/Tools +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n ftdi-utils +Utilities to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R using libusb, including the popular bitbang mode. + +%prep + +%setup -q + +%build +%configure \ + --with-boost-libdir=%{_libdir} + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libftdi.so.* +%{_libdir}/libftdipp.so.* +%doc AUTHORS COPYING.LIB + +%files devel +%defattr(-,root,root) +%{_bindir}/libftdi-config +%{_libdir}/libftdi.a +%{_libdir}/libftdi.la +%{_libdir}/libftdi.so +%{_libdir}/libftdipp.a +%{_libdir}/libftdipp.la +%{_libdir}/libftdipp.so +%{_includedir}/ftdi.h +%{_includedir}/ftdi.hpp +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog README README.mingw + +%files -n ftdi-utils +%defattr(-,root,root) +%{_bindir}/bitbang +%{_bindir}/bitbang2 +%{_bindir}/bitbang_cbus +%{_bindir}/bitbang_ft2232 +%{_bindir}/find_all +%{_bindir}/simple +%{_bindir}/baud_test +%{_bindir}/find_all_pp +%{_bindir}/serial_test +%doc LICENSE + +%changelog +* Sat Jul 21 2012 Automatic Build System 0.20-1mamba +- automatic version update by autodist + +* Sun Aug 09 2009 Silvan Calarco 0.16-1mamba +- package created by autospec