--- /dev/null
+New in 0.5
+----------
+* New autoconf suite
+* pkgconfig support
+* Status byte filtering now works for "big" readbuffer sizes (Thanks Evgeny!)
+* Open device by description and/or serial (Evgeny Sinelnikov)
+* Improved error handling (Evgeny Sinelnikov)
+
+New in 0.4
+----------
+* Fixed filtering of status bytes (Readbuffer size is now 64 bytes)
+* FT2232C support (Steven Turner/FTDI)
+* New baudrate calculation code (Ian Abbott)
+* Automatic detection of chip type
+* Important: ftdi_write_data now returns the bytes written
+* Fixed defaults values in ftdi_eeprom_initdefaults (Jean-Daniel Merkli)
+* Reset internal readbuffer offsets for reset()/purge_buffers()
+* Small typo fixes (Mark Hämmerling)
+
+New in 0.3
+----------
+
+* Improved read function which takes arbitrary input buffer sizes
+ Attention: Call ftdi_deinit() on exit to free used memory
+* Vastly increased read/write performance (configurable chunksize, default is 4096)
+* Set/get latency timer function working (Thanks Steven Turner/FTDI)
+* Increased library version because the changes require recompilation
+
+
+New in 0.2
+----------
+
+* EEPROM build fix by Daniel Kirkham (Melbourne, Australia)
+* Implemented basic ftdi_read_data() function
+* EEPROM write fixes
+
+
+New in 0.1
+------------
+
+* First public release
SUBDIRS = src
-EXTRA_DIST = libftdi.spec COPYING.LIB
+EXTRA_DIST = libftdi.spec COPYING.LIB README ChangeLog libftdi-config.in
+
+bin_SCRIPTS = libftdi-config
# Install the pkg-config file:
pkgconfigdir = $(libdir)/pkgconfig
--- /dev/null
+libftdi - A library (using libusb) to talk to FTDI's FT2232C,
+FT232BM and FT245BM type chips including the popular bitbang mode.
+
+See the Changelog for news
AC_INIT(configure.in)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libftdi, 0.4)
+AM_INIT_AUTOMAKE(libftdi, 0.5)
AC_LANG_C
AC_PROG_CC
AC_MSG_RESULT(yes)
fi
+AC_OUTPUT([libftdi-config],[chmod a+x libftdi-config])
AC_OUTPUT(Makefile src/Makefile libftdi.pc)
--- /dev/null
+#!/bin/sh
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+exec_prefix_set=no
+
+usage()
+{
+ cat <<EOF
+Usage: libftdi-config [OPTIONS] [LIBRARIES]
+Options:
+ [--prefix[=DIR]]
+ [--exec-prefix[=DIR]]
+ [--version]
+ [--libs]
+ [--cflags]
+EOF
+ exit $1
+}
+
+if test $# -eq 0; then
+ usage 1 1>&2
+fi
+
+while test $# -gt 0; do
+ case "$1" in
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+
+ case $1 in
+ --prefix=*)
+ prefix=$optarg
+ if test $exec_prefix_set = no ; then
+ exec_prefix=$optarg
+ fi
+ ;;
+ --prefix)
+ echo_prefix=yes
+ ;;
+ --exec-prefix=*)
+ exec_prefix=$optarg
+ exec_prefix_set=yes
+ ;;
+ --exec-prefix)
+ echo_exec_prefix=yes
+ ;;
+ --version)
+ echo @VERSION@
+ exit 0
+ ;;
+ --cflags)
+ if test "@includedir@" != /usr/include ; then
+ includes="-I@includedir@"
+ fi
+ echo_cflags=yes
+ ;;
+ --libs)
+ echo_libs=yes
+ ;;
+ *)
+ usage 1 1>&2
+ ;;
+ esac
+ shift
+done
+
+if test "$echo_prefix" = "yes"; then
+ echo $prefix
+fi
+if test "$echo_exec_prefix" = "yes"; then
+ echo $exec_prefix
+fi
+if test "$echo_cflags" = "yes"; then
+ echo $includes
+fi
+if test "$echo_libs" = "yes"; then
+ echo -L@libdir@ -lftdi @LIBS@
+fi
Summary: Library to program and control the FTDI USB controller
Name: libftdi
-Version: 0.4
+Version: 0.5
Release: 1
Copyright: LGPL
Group: System Environment/Libraries
%files devel
%defattr(-,root,root)
+%{prefix}/bin/libftdi-config
%{prefix}/lib/libftdi.*a
%{prefix}/include/*.h
%{prefix}/lib/pkgconfig/*.pc