Accepting request 403785 from hardware
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/403785 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libftdi1?expand=0&rev=13
This commit is contained in:
commit
ba608016bb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a6ea795c829219015eb372b03008351cee3fb39f684bff3bf8a4620b558488d6
|
|
||||||
size 100672
|
|
3
libftdi1-1.3.tar.bz2
Normal file
3
libftdi1-1.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9a8c95c94bfbcf36584a0a58a6e2003d9b133213d9202b76aec76302ffaa81f4
|
||||||
|
size 108549
|
@ -1,3 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 27 13:56:14 UTC 2016 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
- Update to version 1.3
|
||||||
|
* Added ftdi_usb_get_strings2() to prevent automatic device close
|
||||||
|
* Added ftdi_transfer_data_cancel() for cancellation of a submitted
|
||||||
|
transfer, avoided resubmittion of a canceled transfer in the callbacks,
|
||||||
|
replaced calls to libusb_handle_events with
|
||||||
|
libusb_handle_events_timeout_completed
|
||||||
|
* ftdi_eeprom / eeprom handling:
|
||||||
|
+ Add support for arbitrary user data
|
||||||
|
+ Add --build-eeprom support
|
||||||
|
+ Fix use_usb_version config file option
|
||||||
|
+ Ability to include other config files in EEPROM config file
|
||||||
|
+ Add external oscillator enable bit
|
||||||
|
+ Support channel configuration
|
||||||
|
+ Added --device option to ftdi_eeprom to specify FTDI device
|
||||||
|
+ Fixed EEPROM user-area space checks for FT232R and FT245R chips
|
||||||
|
* Various improvements to CBUS handling, including the EEPROM
|
||||||
|
* swig wrapper: Fix handling of binary strings in ftdi_write_data()
|
||||||
|
for python 3
|
||||||
|
* cbus python example code
|
||||||
|
* ftdi_stream: fix timeout setting
|
||||||
|
* Fixed typo in CBUS defines: CBUSG_DRIVE1 -> CBUSH_DRIVE1
|
||||||
|
- Build python binding
|
||||||
|
* Add a libftdi1-binding-python
|
||||||
|
* Add python-devel, python-xml and swig dependencies
|
||||||
|
- Add libconfuse-devel build dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 15 20:18:12 UTC 2014 - mardnh@gmx.de
|
Mon Dec 15 20:18:12 UTC 2014 - mardnh@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libftdi1
|
# spec file for package libftdi1
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libftdi1
|
Name: libftdi1
|
||||||
Version: 1.2
|
Version: 1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library to program and control the FTDI USB controller
|
Summary: Library to program and control the FTDI USB controller
|
||||||
License: LGPL-2.1+ and GPL-2.0-with-classpath-exception
|
License: LGPL-2.1+ and GPL-2.0-with-classpath-exception
|
||||||
@ -28,20 +28,36 @@ BuildRequires: boost-devel
|
|||||||
BuildRequires: cmake >= 2.8
|
BuildRequires: cmake >= 2.8
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libconfuse-devel
|
||||||
BuildRequires: libusb-1_0-devel
|
BuildRequires: libusb-1_0-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-xml
|
||||||
|
BuildRequires: swig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
Library to program and control the FTDI USB controller.
|
||||||
|
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||||
|
|
||||||
|
%package binding-python
|
||||||
|
Summary: Python binding for libftdi
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
Requires: libftdi1 = %{version}
|
||||||
|
Requires: swig
|
||||||
|
|
||||||
|
%description binding-python
|
||||||
|
Library to program and control the FTDI USB controller.
|
||||||
|
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||||
|
|
||||||
|
This package provides the python binding for libftdi.
|
||||||
|
|
||||||
%package -n libftdi1-devel
|
%package -n libftdi1-devel
|
||||||
Summary: Header files and static libraries for libftdi
|
Summary: Header files and static libraries for libftdi
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libftdi1 = %{version}
|
Requires: libftdi1 = %{version}
|
||||||
Requires: libusb-1_0-devel
|
Requires: libusb-1_0-devel
|
||||||
|
|
||||||
%description
|
|
||||||
Library to program and control the FTDI USB controller.
|
|
||||||
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
|
||||||
|
|
||||||
%description -n libftdi1-devel
|
%description -n libftdi1-devel
|
||||||
Header files and static libraries for libftdi.
|
Header files and static libraries for libftdi.
|
||||||
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
This library is used by many programs accessing FTDI USB-to-RS232 converters.
|
||||||
@ -55,9 +71,12 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
rm -rf %{buildroot}%{_datadir}
|
||||||
mkdir -p %{buildroot}%{_mandir}/man3
|
mkdir -p %{buildroot}%{_mandir}/man3
|
||||||
cd build
|
cd build
|
||||||
cp -p doc/man/man3/[^_]*.3 %{buildroot}%{_mandir}/man3
|
cp -p doc/man/man3/[^_]*.3 %{buildroot}%{_mandir}/man3
|
||||||
|
find %{buildroot} -type f -name "*.a" -delete -print
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -67,12 +86,18 @@ cp -p doc/man/man3/[^_]*.3 %{buildroot}%{_mandir}/man3
|
|||||||
%doc AUTHORS COPYING* LICENSE README
|
%doc AUTHORS COPYING* LICENSE README
|
||||||
%{_libdir}/libftdi*.so.*
|
%{_libdir}/libftdi*.so.*
|
||||||
|
|
||||||
|
%files binding-python
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc python/examples/*.py
|
||||||
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files -n libftdi1-devel
|
%files -n libftdi1-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc ftdi_eeprom/example.conf
|
||||||
%{_bindir}/libftdi*-config
|
%{_bindir}/libftdi*-config
|
||||||
|
%{_bindir}/ftdi_eeprom
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
%{_libdir}/libftdi*.so
|
%{_libdir}/libftdi*.so
|
||||||
%{_libdir}/libftdi*.*a
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_libdir}/cmake/%{name}
|
%{_libdir}/cmake/%{name}
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user