commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2020-03-26 23:30:46 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new.3160 (New) Package is "libftdi1" Thu Mar 26 23:30:46 2020 rev:19 rq:788192 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2018-06-22 13:12:38.085152916 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new.3160/libftdi1.changes 2020-03-26 23:30:48.306721548 +0100 @@ -1,0 +2,8 @@ +Wed Mar 25 08:53:42 UTC 2020 - Martin Pluskal + +- Cleanup spec file - drop obsolete conditionals and use modern + macros +- Run tests +- Dont build static libraries + +--- Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.Y0qI8H/_old 2020-03-26 23:30:49.018721805 +0100 +++ /var/tmp/diff_new_pack.Y0qI8H/_new 2020-03-26 23:30:49.030721810 +0100 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,26 +24,21 @@ Summary:Library to program and control the FTDI USB controller License:LGPL-2.1-or-later AND GPL-2.0-with-classpath-exception Group: Hardware/Other -URL:http://www.intra2net.com/en/developer/libftdi +URL:https://www.intra2net.com/en/developer/libftdi Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM libftdi-cmake.patch -- CMake: move options to a dedicated file Patch1: libftdi-cmake.patch BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: libconfuse-devel -BuildRequires: libusb-1_0-devel -BuildRequires: pkgconfig -BuildRequires: swig -%if 0%{?suse_version} >= 1500 BuildRequires: libboost_headers-devel -BuildRequires: python3-devel +BuildRequires: libboost_test-devel +BuildRequires: pkgconfig BuildRequires: python3-xml -%else -BuildRequires: boost-devel -BuildRequires: python-devel -BuildRequires: python-xml -%endif +BuildRequires: swig +BuildRequires: pkgconfig(libconfuse) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(python3) %description Library to program and control the FTDI USB controller. @@ -57,7 +52,6 @@ Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. -%if 0%{?suse_version} >= 1500 %package -n python3-%{name} Summary:Python 3 binding for libftdi1 Group: Development/Languages/Python @@ -67,25 +61,12 @@ This library is used by many programs accessing FTDI USB-to-RS232 converters. This package provides the python binding for libftdi. -%else -%package -n python2-%{name} -Summary:Python 2 binding for libftdi1 -Group: Development/Languages/Python -Provides: binding-python = %{version} -Obsoletes: binding-python < %{version} - -%description -n python2-%{name} -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. -%endif %package devel Summary:Header files and static libraries for libftdi Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} -Requires: libusb-1_0-devel +Requires: pkgconfig(libusb-1.0) %description devel Header files and static libraries for libftdi. @@ -93,25 +74,27 @@ %prep %setup -q -%if 0%{?suse_version} >= 01500 %patch1 -p1 -%endif %build %cmake \ -DDOCUMENTATION=ON \ -DFTDI_EEPROM=ON \ - -DPYTHON_BINDINGS=ON -%make_jobs + -DPYTHON_BINDINGS=ON \ + -DBUILD_TESTS=ON \ + -DSTATICLIBS=OFF \ + -Wno-dev +%cmake_build %install %cmake_install rm -rf %{buildroot}%{_datadir} mkdir -p %{buildroot}%{_mandir}/man3 -cd build -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 +install -pm 0644 build/doc/man/man3/[^_]*.3 \ + %{buildroot}%{_mandir}/man3 + +%check +make -C build check %post -n %{libname}
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2018-06-22 13:12:36 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is "libftdi1" Fri Jun 22 13:12:36 2018 rev:18 rq:617091 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2018-05-16 11:25:57.362417742 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2018-06-22 13:12:38.085152916 +0200 @@ -1,0 +2,5 @@ +Tue Jun 12 17:35:10 UTC 2018 - msucha...@suse.com + +- Fix Leap 42.3 build - do not apply cmake 3.11 compat patch. + +--- Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.kPrBw0/_old 2018-06-22 13:12:38.881123399 +0200 +++ /var/tmp/diff_new_pack.kPrBw0/_new 2018-06-22 13:12:38.885123251 +0200 @@ -93,7 +93,9 @@ %prep %setup -q -%autopatch -p1 +%if 0%{?suse_version} >= 01500 +%patch1 -p1 +%endif %build %cmake \
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2018-05-16 11:25:53 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is "libftdi1" Wed May 16 11:25:53 2018 rev:17 rq:606794 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2017-11-19 11:09:23.515761200 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2018-05-16 11:25:57.362417742 +0200 @@ -1,0 +2,12 @@ +Fri May 11 14:25:33 UTC 2018 - tchva...@suse.com + +- Smash libftdi-cmake.patch to make it work with cmake-3.11 + * Not to upstream the changes I did are pretty ugly + +--- +Sat Apr 7 20:10:15 UTC 2018 - f...@grueninger.de + +- Added patch libftdi-cmake.patch from upstream to make package + compatible with CMake 3.11 + +--- New: libftdi-cmake.patch Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.JFTBHy/_old 2018-05-16 11:25:58.174388240 +0200 +++ /var/tmp/diff_new_pack.JFTBHy/_new 2018-05-16 11:25:58.178388095 +0200 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,10 +22,12 @@ Version:1.4 Release:0 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-or-later AND GPL-2.0-with-classpath-exception Group: Hardware/Other -Url:http://www.intra2net.com/en/developer/libftdi +URL:http://www.intra2net.com/en/developer/libftdi Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM libftdi-cmake.patch -- CMake: move options to a dedicated file +Patch1: libftdi-cmake.patch BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++ @@ -33,7 +35,7 @@ BuildRequires: libusb-1_0-devel BuildRequires: pkgconfig BuildRequires: swig -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} >= 1500 BuildRequires: libboost_headers-devel BuildRequires: python3-devel BuildRequires: python3-xml @@ -55,7 +57,7 @@ Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} >= 1500 %package -n python3-%{name} Summary:Python 3 binding for libftdi1 Group: Development/Languages/Python @@ -91,9 +93,13 @@ %prep %setup -q +%autopatch -p1 %build -%cmake +%cmake \ + -DDOCUMENTATION=ON \ + -DFTDI_EEPROM=ON \ + -DPYTHON_BINDINGS=ON %make_jobs %install @@ -109,10 +115,11 @@ %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%doc AUTHORS COPYING* LICENSE README +%license COPYING* LICENSE +%doc AUTHORS README %{_libdir}/libftdi*.so.* -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} >= 1500 %files -n python3-%{name} %doc python/examples/*.py %{python3_sitearch}/_ftdi1.so ++ libftdi-cmake.patch ++ 652 lines (skipped)
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2017-11-19 11:09:08 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is "libftdi1" Sun Nov 19 11:09:08 2017 rev:16 rq:542226 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2017-07-21 22:35:49.311644789 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2017-11-19 11:09:23.515761200 +0100 @@ -1,0 +2,19 @@ +Tue Nov 7 13:39:39 UTC 2017 - mplus...@suse.com + +- Update to version 1.4: + * New ftdi_usb_open_bus_addr() open function + * Use BM/R series baud rate computation for FT230X + * ftdi_get_error_string() now returns const char* + * C++ API: Ability to open devices with empty descriptor strings + * C++ API: Fix enumerations for buffer purge and modem controls + * small build fixes and improvements in the python examples + * ftdi_eeprom / eeprom handling: ++ New API function: ftdi_eeprom_get_strings() ++ Fix USE_SERIAL handling for 230X type chips ++ Make ftdi_read_eeprom_location() endianness independent ++ Fix flashing of FT245R +- Build python3 version of bindings on Factory +- Rename python bindings subpackage to match singlespec conventions +- Run spec-cleaner + +--- Old: libftdi1-1.3.tar.bz2 New: libftdi1-1.4.tar.bz2 Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.EGWF7N/_old 2017-11-19 11:09:23.951745303 +0100 +++ /var/tmp/diff_new_pack.EGWF7N/_new 2017-11-19 11:09:23.955745158 +0100 @@ -18,30 +18,30 @@ %define sover -2 %define libname %{name}%{sover} - Name: libftdi1 -Version:1.3 +Version:1.4 Release:0 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 Group: Hardware/Other Url:http://www.intra2net.com/en/developer/libftdi Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2 -%if 0%{?suse_version} > 1325 -BuildRequires: libboost_headers-devel -%else -BuildRequires: boost-devel -%endif BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: libconfuse-devel BuildRequires: libusb-1_0-devel BuildRequires: pkgconfig +BuildRequires: swig +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_headers-devel +BuildRequires: python3-devel +BuildRequires: python3-xml +%else +BuildRequires: boost-devel BuildRequires: python-devel BuildRequires: python-xml -BuildRequires: swig -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif %description Library to program and control the FTDI USB controller. @@ -55,18 +55,29 @@ Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. +%if 0%{?suse_version} > 1325 +%package -n python3-%{name} +Summary:Python 3 binding for libftdi1 +Group: Development/Languages/Python -%package binding-python -Summary:Python binding for libftdi +%description -n python3-%{name} +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. +%else +%package -n python2-%{name} +Summary:Python 2 binding for libftdi1 Group: Development/Languages/Python -Requires: %{libname} = %{version} -Requires: swig +Provides: binding-python = %{version} +Obsoletes: binding-python < %{version} -%description binding-python +%description -n python2-%{name} 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. +%endif %package devel Summary:Header files and static libraries for libftdi @@ -83,7 +94,7 @@ %build %cmake -make %{?_smp_mflags} +%make_jobs %install %cmake_install @@ -98,18 +109,22 @@ %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} -%defattr(-,root,root) %doc AUTHORS COPYING* LICENSE README %{_libdir}/libftdi*.so.* -%files binding-python -%defattr(-,root,root) +%if 0%{?suse_version} > 1325 +%files -n python3-%{name} +%doc python/examples/*.py +%{python3_sitearch}/_ftdi1.so +%{python3_sitearch}/ftdi1.py +%else +%files -n python2-%{name} %doc python/examples/*.py %{python_sitearch}/_ftdi1.so %{python_sitearch}/ftdi1.py
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2017-07-21 22:35:48 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is "libftdi1" Fri Jul 21 22:35:48 2017 rev:15 rq:509762 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2017-02-25 00:49:20.379159634 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2017-07-21 22:35:49.311644789 +0200 @@ -1,0 +2,5 @@ +Thu Jul 6 18:17:15 UTC 2017 - mar...@gmx.de + +- Minor package cleanup + +--- Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.5p5ckV/_old 2017-07-21 22:35:49.887563547 +0200 +++ /var/tmp/diff_new_pack.5p5ckV/_new 2017-07-21 22:35:49.891562982 +0200 @@ -16,6 +16,9 @@ # +%define sover -2 +%define libname %{name}%{sover} + Name: libftdi1 Version:1.3 Release:0 @@ -44,10 +47,19 @@ Library to program and control the FTDI USB controller. This library is used by many programs accessing FTDI USB-to-RS232 converters. +%package -n %{libname} +Summary:Library to program and control the FTDI USB controller +Group: System/Libraries + +%description -n %{libname} +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: %{libname} = %{version} Requires: swig %description binding-python @@ -56,13 +68,13 @@ This package provides the python binding for libftdi. -%package -n libftdi1-devel +%package devel Summary:Header files and static libraries for libftdi Group: Development/Libraries/C and C++ -Requires: libftdi1 = %{version} +Requires: %{libname} = %{version} Requires: libusb-1_0-devel -%description -n libftdi1-devel +%description devel Header files and static libraries for libftdi. This library is used by many programs accessing FTDI USB-to-RS232 converters. @@ -82,10 +94,10 @@ find %{buildroot} -type f -name "*.a" -delete -print find %{buildroot} -type f -name "*.la" -delete -print -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files +%files -n %{libname} %defattr(-,root,root) %doc AUTHORS COPYING* LICENSE README %{_libdir}/libftdi*.so.* @@ -93,17 +105,18 @@ %files binding-python %defattr(-,root,root) %doc python/examples/*.py -%{python_sitearch}/* +%{python_sitearch}/_ftdi1.so +%{python_sitearch}/ftdi1.py -%files -n libftdi1-devel +%files devel %defattr(-,root,root) %doc ftdi_eeprom/example.conf %{_bindir}/libftdi*-config %{_bindir}/ftdi_eeprom %{_includedir}/%{name} %{_libdir}/libftdi*.so -%{_libdir}/pkgconfig/*.pc +%{_libdir}/pkgconfig/libftdi*.pc %{_libdir}/cmake/%{name} -%{_mandir}/man3/* +%{_mandir}/man3/*%{ext_man} %changelog
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2017-02-25 00:49:19 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is "libftdi1" Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2016-07-24 19:42:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2017-02-25 00:49:20.379159634 +0100 @@ -1,0 +2,5 @@ +Wed Feb 1 12:52:25 UTC 2017 - adam.ma...@suse.de + +- use individual libboost-*-devel packages instead of boost-devel + +--- Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.aLpLtM/_old 2017-02-25 00:49:20.843088922 +0100 +++ /var/tmp/diff_new_pack.aLpLtM/_new 2017-02-25 00:49:20.847088311 +0100 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,11 @@ Group: Hardware/Other Url:http://www.intra2net.com/en/developer/libftdi Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2 +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_headers-devel +%else BuildRequires: boost-devel +%endif BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2016-07-24 19:42:15 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is "libftdi1" Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2014-12-30 00:49:53.0 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2016-07-24 19:42:17.0 +0200 @@ -1,0 +2,29 @@ +Fri May 27 13:56:14 UTC 2016 - p.drou...@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 + +--- Old: libftdi1-1.2.tar.bz2 New: libftdi1-1.3.tar.bz2 Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.iiiDSW/_old 2016-07-24 19:42:18.0 +0200 +++ /var/tmp/diff_new_pack.iiiDSW/_new 2016-07-24 19:42:18.0 +0200 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libftdi1 -Version:1.2 +Version:1.3 Release:0 Summary:Library to program and control the FTDI USB controller License:LGPL-2.1+ and GPL-2.0-with-classpath-exception @@ -28,20 +28,36 @@ BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++ +BuildRequires: libconfuse-devel BuildRequires: libusb-1_0-devel BuildRequires: pkgconfig +BuildRequires: python-devel +BuildRequires: python-xml +BuildRequires: swig 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 Summary:Header files and static libraries for libftdi Group: Development/Libraries/C and C++ Requires: libftdi1 = %{version} 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 Header files and static libraries for libftdi. This library is used by many programs accessing FTDI USB-to-RS232 converters. @@ -55,9 +71,12 @@ %install %cmake_install +rm -rf %{buildroot}%{_datadir} mkdir -p %{buildroot}%{_mandir}/man3 cd build 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 %postun -p /sbin/ldconfig @@ -67,12 +86,18 @@ %doc AUTHORS COPYING* LICENSE README %{_libdir}/libftdi*.so.* +%files binding-python +%defattr(-,root,root) +%doc python/examples/*.py +%{python_sitearch}/* + %files -n libftdi1-devel %defattr(-,root,root) +%doc ftdi_eeprom/example.conf %{_bindir}/libftdi*-config
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2014-12-30 00:49:44 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is libftdi1 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2014-10-05 20:31:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2014-12-30 00:49:53.0 +0100 @@ -1,0 +2,26 @@ +Mon Dec 15 20:18:12 UTC 2014 - mar...@gmx.de + +- updated to 1.2 + * Support for FT230X devices (Uwe Bonnes) + * ftdi_usb_get_strings(): Don't try to open an already open device (Denis Sirotkin) + * Support for finding devices bricked by the Windows driver (Forest Crossman) + * cmake build system: New LibFTDI1ConfigVersion.cmake file (xantares09) + * Fix a typo in the MPSSE command CLK_BYTES_OR_LOW (Benjamin Vanheuverzwijn) + * Minor fixes for MSVC++ (Andrei Errapart) + * Various small code improvements (Florian Preinstorfer, Jochen Sprickerhof, xantares09) +- updated to 1.1 + * Fix FT232H eeprom suspend pulldown setting (Davide Michelizza) + * Fix FT232H eeprom user area size (Davide Michelizza) + * Improved mingw build (Paul Fertser and Michel Zou) + * C++ wrapper: Get/set functions for USB timeouts (Jochen Sprickerhof) + * Partial support for FT230X (Nathael Pajani) + * New API function: ftdi_eeprom_set_strings() (Nathael Pajani) + * Prevent possible segfault in ftdi_eeprom_decode() (Nathael Pajani) + * Save device release number in eeprom (Jarkko Sonninen) + * Fix self powered eeprom flag (Jarkko Sonninen) + * Improved python wrapper (Michel Zou) + * Many buildsystem improvements (Michel Zou and Mike Frysinger) + * See the git history for more changes and fixes +- run spec-cleaner + +--- Old: libftdi1-1.0.tar.bz2 New: libftdi1-1.2.tar.bz2 Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.NXQnEg/_old 2014-12-30 00:49:55.0 +0100 +++ /var/tmp/diff_new_pack.NXQnEg/_new 2014-12-30 00:49:55.0 +0100 @@ -17,7 +17,7 @@ Name: libftdi1 -Version:1.0 +Version:1.2 Release:0 Summary:Library to program and control the FTDI USB controller License:LGPL-2.1+ and GPL-2.0-with-classpath-exception @@ -48,28 +48,18 @@ %prep %setup -q -mkdir build %build -cd build -%ifarch ia64 -CMFLAGS=-DLIB_SUFFIX=/ -%else -CMFLAGS= -%endif - -CFLAGS=%{optflags} CXXFLAGS=%{optflags} \ -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} $CMFLAGS ../ +%cmake make %{?_smp_mflags} %install -cd build -%make_install +%cmake_install mkdir -p %{buildroot}%{_mandir}/man3 +cd build cp -p doc/man/man3/[^_]*.3 %{buildroot}%{_mandir}/man3 %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files ++ libftdi1-1.0.tar.bz2 - libftdi1-1.2.tar.bz2 ++ 4687 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2014-10-05 20:30:52 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is libftdi1 Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2013-03-08 09:16:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2014-10-05 20:31:27.0 +0200 @@ -1,0 +2,18 @@ +Wed Oct 30 16:19:35 UTC 2013 - r...@suse.de + +- updated to 1.0 + * Ported to libusb 1.x (initial work by Jie Zhang) + * Many eeprom handling improvements (Uwe Bonnes, Anders Larsen) + * Renamed pkconfig, library .so etc. files to libftdi1 (Intra2net) + * ftdi_eeprom is part of libftdi now (Intra2net) + * New baudrate calculation code + unit tests (Uwe Bonnes and Intra2net) + * Improved python bindings including python3 support (Michel Zou) + * Switched completely to cmake build system (Intra2net) + * cmake: Easy libftdi discovery via find_package() (Michel Zou) + * eeprom handling now done via get()/set() functions (Uwe Bonnes) + * C++ wrapper: Fixed use-after-free in List::find_all() (Intra2net) + * Documentation updates (Xiaofan Chen) + * See the git history for more changes and fixes +- removed buildfixes.diff + +--- Old: buildfixes.diff libftdi-0.20.tar.gz New: libftdi1-1.0.tar.bz2 Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.qvgA1Z/_old 2014-10-05 20:31:28.0 +0200 +++ /var/tmp/diff_new_pack.qvgA1Z/_new 2014-10-05 20:31:28.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,18 @@ Name: libftdi1 -Version:0.20 +Version:1.0 Release:0 Summary:Library to program and control the FTDI USB controller License:LGPL-2.1+ and GPL-2.0-with-classpath-exception Group: Hardware/Other Url:http://www.intra2net.com/en/developer/libftdi -Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi-%{version}.tar.gz -Patch0: buildfixes.diff +Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi1-%{version}.tar.bz2 +BuildRequires: boost-devel +BuildRequires: cmake = 2.8 BuildRequires: doxygen -BuildRequires: libusb-devel +BuildRequires: gcc-c++ +BuildRequires: libusb-1_0-devel BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -34,7 +36,7 @@ Summary:Header files and static libraries for libftdi Group: Development/Libraries/C and C++ Requires: libftdi1 = %{version} -Requires: libusb-devel +Requires: libusb-1_0-devel %description Library to program and control the FTDI USB controller. @@ -45,31 +47,26 @@ This library is used by many programs accessing FTDI USB-to-RS232 converters. %prep -%setup -q -n libftdi-%{version} -%patch0 -p1 +%setup -q +mkdir build %build -%configure --disable-dependency-tracking CFLAGS=%{optflags} +cd build +%ifarch ia64 +CMFLAGS=-DLIB_SUFFIX=/ +%else +CMFLAGS= +%endif + +CFLAGS=%{optflags} CXXFLAGS=%{optflags} \ +cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} $CMFLAGS ../ make %{?_smp_mflags} %install +cd build %make_install mkdir -p %{buildroot}%{_mandir}/man3 -gzip -9 doc/man/man3/*.3 -cp doc/man/man3/*.3.gz %{buildroot}%{_mandir}/man3 -# Remove example programs -rm -f %{buildroot}%{_bindir}/simple -rm -f %{buildroot}%{_bindir}/bitbang -rm -f %{buildroot}%{_bindir}/bitbang2 -rm -f %{buildroot}%{_bindir}/bitbang_ft2232 -rm -f %{buildroot}%{_bindir}/bitbang_cbus -rm -f %{buildroot}%{_bindir}/find_all -rm -f %{buildroot}%{_bindir}/find_all_pp -rm -f %{buildroot}%{_bindir}/serial_test -rm -f %{buildroot}%{_bindir}/baud_test - -%clean -rm -rf %{buildroot} +cp -p doc/man/man3/[^_]*.3 %{buildroot}%{_mandir}/man3 %post -p /sbin/ldconfig @@ -82,11 +79,12 @@ %files -n libftdi1-devel %defattr(-,root,root) -%{_bindir}/libftdi-config -%{_includedir}/*.h -%{_libdir}/libftdi.so +%{_bindir}/libftdi*-config +%{_includedir}/%{name} +%{_libdir}/libftdi*.so %{_libdir}/libftdi*.*a %{_libdir}/pkgconfig/*.pc +%{_libdir}/cmake/%{name} %{_mandir}/man3/* %changelog ++ libftdi-0.20.tar.gz - libftdi1-1.0.tar.bz2 ++ 59942 lines of diff (skipped) -- To unsubscribe, e-mail:
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2013-03-08 09:16:54 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is libftdi1, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2012-05-21 07:28:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2013-03-08 09:16:55.0 +0100 @@ -1,0 +2,17 @@ +Wed Jan 2 22:06:35 UTC 2013 - prus...@opensuse.org + +- updated to 0.20 + * Support for FT232H (Uwe Bonnes) + * Fixed install location of header files (Uwe Bonnes and Intra2net) + * Backported serial_test tool from libftdi 1.x (Uwe Bonnes) +- updated to 0.19 + * Make kernel driver detach configurable (Thomas Klose) + * Correct ftdi_poll_modem_status() result code (Tom Saunders) + * cmake build system improvements (Evgeny Sinelnikov) + * Fix uninitialized memory access in async mode (Intra2net) + * Support for FT232R eeprom features (Hermann Kraus) + * Fix size returned by ftdi_read_data (Hermann Kraus) + * C++ wrapper: Fix infinite recursion in set_bitmode (Intra2net) + * Improvements to the python wrapper (Flynn Marquardt and Chris Zeh) + +--- Old: libftdi-0.18.tar.bz2 libftdi1-rpmlintrc New: libftdi-0.20.tar.gz Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.2LZVhP/_old 2013-03-08 09:16:56.0 +0100 +++ /var/tmp/diff_new_pack.2LZVhP/_new 2013-03-08 09:16:56.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,28 +16,25 @@ # -%defineenable_async_mode 0 - -Summary:Library to program and control the FTDI USB controller - Name: libftdi1 -Version:0.18 -Release:1 +Version:0.20 +Release:0 +Summary:Library to program and control the FTDI USB controller License:LGPL-2.1+ and GPL-2.0-with-classpath-exception Group: Hardware/Other Url:http://www.intra2net.com/en/developer/libftdi -Source: libftdi-%{version}.tar.bz2 -Source100: %{name}-rpmlintrc +Source: http://www.intra2net.com/en/developer/libftdi/download/libftdi-%{version}.tar.gz Patch0: buildfixes.diff +BuildRequires: doxygen +BuildRequires: libusb-devel +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build -AutoReqProv:libusb -BuildRequires: doxygen libusb-devel pkgconfig %package -n libftdi1-devel -License:LGPL-2.1+ and GPL-2.0-with-classpath-exception Summary:Header files and static libraries for libftdi Group: Development/Libraries/C and C++ -Requires: libftdi1 = %{version}, libusb-devel +Requires: libftdi1 = %{version} +Requires: libusb-devel %description Library to program and control the FTDI USB controller. @@ -52,53 +49,44 @@ %patch0 -p1 %build - -%configure --disable-dependency-tracking CFLAGS=$RPM_OPT_FLAGS -%if %{enable_async_mode} ---with-async-mode \ -%endif - -make +%configure --disable-dependency-tracking CFLAGS=%{optflags} +make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install - -# Cleanup -rm -f $RPM_BUILD_ROOT/usr/bin/simple -rm -f $RPM_BUILD_ROOT/usr/bin/bitbang -rm -f $RPM_BUILD_ROOT/usr/bin/bitbang2 -rm -f $RPM_BUILD_ROOT/usr/bin/bitbang_ft2232 -rm -f $RPM_BUILD_ROOT/usr/bin/bitbang_cbus -rm -f $RPM_BUILD_ROOT/usr/bin/find_all -rm -f $RPM_BUILD_ROOT/usr/bin/find_all_pp -rm -f $RPM_BUILD_ROOT/usr/bin/serial_read -rm -f $RPM_BUILD_ROOT/usr/bin/baud_test - -mkdir -p $RPM_BUILD_ROOT//usr/share/man/man3 +%make_install +mkdir -p %{buildroot}%{_mandir}/man3 gzip -9 doc/man/man3/*.3 -cp doc/man/man3/*.3.gz $RPM_BUILD_ROOT//usr/share/man/man3 +cp doc/man/man3/*.3.gz %{buildroot}%{_mandir}/man3 +# Remove example programs +rm -f %{buildroot}%{_bindir}/simple +rm -f %{buildroot}%{_bindir}/bitbang +rm -f %{buildroot}%{_bindir}/bitbang2 +rm -f %{buildroot}%{_bindir}/bitbang_ft2232 +rm -f %{buildroot}%{_bindir}/bitbang_cbus +rm -f %{buildroot}%{_bindir}/find_all +rm -f %{buildroot}%{_bindir}/find_all_pp +rm -f %{buildroot}%{_bindir}/serial_test +rm -f %{buildroot}%{_bindir}/baud_test %clean -rm -fr $RPM_BUILD_ROOT +rm -rf %{buildroot} -%post -ldconfig +%post -p /sbin/ldconfig -%postun -ldconfig +%postun -p /sbin/ldconfig %files
commit libftdi1 for openSUSE:Factory
Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2012-05-21 07:28:03 Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new (New) Package is libftdi1, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes2011-09-23 02:08:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2012-05-21 07:28:04.0 +0200 @@ -1,0 +2,6 @@ +Thu May 3 16:21:44 UTC 2012 - cfarr...@suse.com + +- license update: LGPL-2.1+ and GPL-2.0-with-classpath-exception + Use SPDX format (http://www.spdx.org/licenses) + +--- Other differences: -- ++ libftdi1.spec ++ --- /var/tmp/diff_new_pack.r8f2AC/_old 2012-05-21 07:28:05.0 +0200 +++ /var/tmp/diff_new_pack.r8f2AC/_new 2012-05-21 07:28:05.0 +0200 @@ -23,7 +23,7 @@ Name: libftdi1 Version:0.18 Release:1 -License:LGPL for libftdi and GPLv2+linking exception for the C++ wrapper +License:LGPL-2.1+ and GPL-2.0-with-classpath-exception Group: Hardware/Other Url:http://www.intra2net.com/en/developer/libftdi Source: libftdi-%{version}.tar.bz2 @@ -34,7 +34,7 @@ BuildRequires: doxygen libusb-devel pkgconfig %package -n libftdi1-devel -License:LGPL for libftdi and GPLv2+linking exception for the C++ wrapper +License:LGPL-2.1+ and GPL-2.0-with-classpath-exception Summary:Header files and static libraries for libftdi Group: Development/Libraries/C and C++ Requires: libftdi1 = %{version}, libusb-devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org