[libftdi] new upstream release

Lucian Langa lucilanga at fedoraproject.org
Sat Jun 18 05:49:56 UTC 2011


commit eb452d4042aa3345e134ac3399f648deb318db06
Author: Lucian Langa <lucilanga at gnome.org>
Date:   Sat Jun 18 08:49:23 2011 +0300

    new upstream release

 .gitignore                |    1 +
 libftdi-0.18-libusb.patch |  526 ---------------------------------------------
 libftdi-0.19-libusb.patch |   38 ++++
 libftdi.spec              |   13 +-
 sources                   |    2 +-
 5 files changed, 50 insertions(+), 530 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fc45c97..de01df7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 libftdi-0.18.tar.gz
+/libftdi-0.19.tar.gz
diff --git a/libftdi-0.19-libusb.patch b/libftdi-0.19-libusb.patch
new file mode 100644
index 0000000..dcdae5d
--- /dev/null
+++ b/libftdi-0.19-libusb.patch
@@ -0,0 +1,38 @@
+diff -Naur libftdi-0.19/configure.in libftdi-0.19-mod/configure.in
+--- libftdi-0.19/configure.in	2011-05-20 17:30:40.000000000 +0300
++++ libftdi-0.19-mod/configure.in	2011-06-18 08:38:02.000000000 +0300
+@@ -7,30 +7,12 @@
+ AM_PROG_LIBTOOL
+ AC_PROG_CXX
+ 
+-dnl check for libusb-config
+-AC_CHECK_TOOL(HAVELIBUSB, libusb-config)
+-
+-if test ! -z "$HAVELIBUSB"; then
+-   LIBUSB_CFLAGS=`$HAVELIBUSB --cflags`
+-   LIBUSB_LIBS=`$HAVELIBUSB --libs`
+-
++dnl check for libusb
++PKG_CHECK_MODULES(LIBUSB, libusb,
++[
+    CFLAGS="$CFLAGS $LIBUSB_CFLAGS"
+    LIBS="$LIBS $LIBUSB_LIBS"
+-else
+-   AC_MSG_ERROR([*** libusb-config not found. You need a working libusb installation.])
+-fi
+-
+-dnl check for version of libusb
+-AC_MSG_CHECKING([if libusb version is >= 0.1.7])
+-libusb_version_needed="1007"
+-libusb_version=`$HAVELIBUSB --version | sed -e "s/libusb //" | awk 'BEGIN { FS = "."; } { printf "%d", ($''1 * 1000 + $''2) * 1000 + $''3;}'`
+-
+-if test $libusb_version -lt $libusb_version_needed; then
+-   AC_MSG_RESULT(no)
+-   AC_MSG_ERROR([*** libusb is too old ($libusb_version). You need a libusb installation newer or equal to 0.1.7.])
+-else
+-   AC_MSG_RESULT(yes)
+-fi
++])
+ 
+ ENABLE_ASYNC_MODE=0
+ AC_ARG_WITH(async-mode,
diff --git a/libftdi.spec b/libftdi.spec
index 4ed8f0b..2f724f2 100644
--- a/libftdi.spec
+++ b/libftdi.spec
@@ -1,7 +1,7 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 Name:		libftdi
-Version:	0.18
-Release:	5%{?dist}
+Version:	0.19
+Release:	1%{?dist}
 Summary:	Library to program and control the FTDI USB controller
 
 Group:		System Environment/Libraries
@@ -11,7 +11,7 @@ Source0:	http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/%{name}-%{vers
 Source1:	no_date_footer.html
 Patch0:		libftdi-0.17-multilib.patch
 # update to recent libusb
-Patch1:		libftdi-0.18-libusb.patch
+Patch1:		libftdi-0.19-libusb.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	libusb-devel, doxygen, boost-devel, python-devel, swig
@@ -69,6 +69,7 @@ sed -i -e 's/usb_device/usb/g' packages/99-libftdi.rules
 
 
 %build
+autoreconf -if
 %configure --enable-python-binding --enable-libftdipp --disable-static
 cp %{SOURCE1} %{_builddir}/%{name}-%{version}/doc
 make %{?_smp_mflags}
@@ -142,6 +143,12 @@ exit 0
 %postun c++ -p /sbin/ldconfig
 
 %changelog
+* Sat Jun 18 2011 Lucian Langa <cooly at gnome.eu.org> - 0.19-1
+- new upstream release
+
+* Tue May 24 2011 Lucian Langa <cooly at gnome.eu.org> - 0.19-1
+- new upstream release
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.18-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 21bdf39..a95c090 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-916f65fa68d154621fc0cf1f405f2726  libftdi-0.18.tar.gz
+e6e25f33b4327b1b7aa1156947da45f3  libftdi-0.19.tar.gz


More information about the scm-commits mailing list