automatic version update by autodist [release 0.20-1mamba;Sat Jul 21 2012]

This commit is contained in:
Automatic Build System 2024-01-06 04:18:18 +01:00
parent b481fb6eee
commit 6942410f04
2 changed files with 97 additions and 0 deletions

View File

@ -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.

95
libftdi.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.20-1mamba
- automatic version update by autodist
* Sun Aug 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16-1mamba
- package created by autospec