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.changes 2013-03-08 09:16:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libftdi1.new/libftdi1.changes 2014-10-05 20:31:27.000000000 +0200 @@ -1,0 +2,18 @@ +Wed Oct 30 16:19:35 UTC 2013 - rw@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.000000000 +0200 +++ /var/tmp/diff_new_pack.qvgA1Z/_new 2014-10-05 20:31:28.000000000 +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: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org