Compare commits

...

11 Commits
master ... el6

Author SHA1 Message Date
Lucian Langa cf1ea7321c rebuilt for el6 2010-09-17 08:03:20 +03:00
Fedora Release Engineering 772cf33284 dist-git conversion 2010-07-28 20:57:13 +00:00
Lucian Langa 9af303936b forgot to bump version 2010-07-02 06:03:07 +00:00
Lucian Langa 411920413c new upstream release 2010-07-02 05:59:29 +00:00
Lucian Langa 92980677a0 fix more multilib issues 2010-06-09 05:47:26 +00:00
Lucian Langa 2e0afd811a fix typo in group handling 2010-05-05 05:39:13 +00:00
Lucian Langa ef72c2f551 fix incorrect udev rule 2010-03-11 19:32:14 +00:00
Lucian Langa a7b1813552 do not package static files (#556068) 2010-01-16 15:19:56 +00:00
Lucian Langa 7687b12510 - add bindings typo patch
- drop multilib patch
- new upstream release
2010-01-04 08:21:09 +00:00
Bill Nottingham cef3a91271 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:47:28 +00:00
Jesse Keating 50a784a305 Initialize branch F-12 for libftdi 2009-09-29 05:19:12 +00:00
6 changed files with 34 additions and 30 deletions

View File

@ -1 +0,0 @@
libftdi-0.16.tar.gz

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
libftdi-0.18.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: libftdi
# $Id$
NAME := libftdi
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -41,3 +41,4 @@
-if test "$echo_libs" = "yes"; then
- echo -L@libdir@ -lftdi @LIBS@
-fi

View File

@ -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.16
Release: 7%{?dist}
Version: 0.18
Release: 2%{?dist}
Summary: Library to program and control the FTDI USB controller
Group: System Environment/Libraries
@ -9,7 +9,7 @@ License: LGPLv2
URL: http://www.intra2net.com/de/produkte/opensource/ftdi/
Source0: http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/%{name}-%{version}.tar.gz
Source1: no_date_footer.html
Patch0: libftdi-0.16-multilib.patch
Patch0: libftdi-0.17-multilib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libusb-devel, doxygen, boost-devel, python-devel, swig
@ -60,11 +60,13 @@ for building C++ applications with libftdi.
%prep
%setup -q
sed -i -e 's/HTML_FOOTER =/HTML_FOOTER = no_date_footer.html/g' doc/Doxyfile.in
#kernel does not provide usb_device anymore
sed -i -e 's/usb_device/usb/g' packages/99-libftdi.rules
%patch0 -p1 -b .multilib
%build
%configure --enable-python-binding --enable-libftdipp
%configure --enable-python-binding --enable-libftdipp --disable-static
cp %{SOURCE1} %{_builddir}/%{name}-%{version}/doc
make %{?_smp_mflags}
@ -88,6 +90,8 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/bitbang_ft2232
rm -f $RPM_BUILD_ROOT/%{_bindir}/bitbang_cbus
rm -f $RPM_BUILD_ROOT/%{_bindir}/find_all
rm -f $RPM_BUILD_ROOT/%{_bindir}/find_all_pp
rm -f $RPM_BUILD_ROOT/%{_bindir}/baud_test
rm -f $RPM_BUILD_ROOT/%{_bindir}/serial_read
%clean
rm -rf $RPM_BUILD_ROOT
@ -102,7 +106,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc doc/html
%{_bindir}/libftdi-config
%{_libdir}/libftdi.a
%{_libdir}/libftdi.so
%{_includedir}/*.h
%{_libdir}/pkgconfig/libftdi.pc
@ -110,6 +113,7 @@ rm -rf $RPM_BUILD_ROOT
%files python
%defattr(-, root, root, -)
%doc AUTHORS ChangeLog COPYING.LIB README
%{python_sitearch}/*
%files c++
@ -120,13 +124,12 @@ rm -rf $RPM_BUILD_ROOT
%files c++-devel
%defattr(-, root, root, -)
%doc doc/html
%{_libdir}/libftdipp.a
%{_libdir}/libftdipp.so
%{_includedir}/*.hpp
%{_libdir}/pkgconfig/libftdipp.pc
%pre
getent group GROUPNAME >/dev/null || groupadd -r plugdev
getent group plugdev >/dev/null || groupadd -r plugdev
exit 0
%post -p /sbin/ldconfig
@ -136,6 +139,27 @@ exit 0
%postun c++ -p /sbin/ldconfig
%changelog
* Fri Sep 17 2010 Lucian Langa <cooly@gnome.eu.org> - 0.18-2
- rebuilt for EL6
* Fri Jul 02 2010 Lucian Langa <cooly@gnome.eu.org> - 0.18-1
- drop patch0 fixed upstream
- new upstream release
* Wed Jun 09 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-4
- readd mistakenly dropped parch (fixes multilib issues)
* Wed May 05 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-3
- fix typo in group handling (#581151)
* Thu Mar 11 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-2
- fix incorrect UDEV rule (#563566)
* Mon Jan 04 2010 Lucian Langa <cooly@gnome.eu.org> - 0.17-1
- add bindings typo patch
- drop multilib patch
- new upstream release
* Sat Aug 22 2009 Lucian Langa <cooly@gnome.eu.org> - 0.16-7
- add group for udev rule (#517773)

View File

@ -1 +1 @@
524af6f39aefa1a4e8fac12c6be0ed06 libftdi-0.16.tar.gz
916f65fa68d154621fc0cf1f405f2726 libftdi-0.18.tar.gz