Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
libftdi1
> libftdi1.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libftdi1.spec of Package libftdi1 (Revision 4)
Currently displaying revision
4
,
show latest
%define enable_async_mode 0 Summary: Library to program and control the FTDI USB controller Name: libftdi1 Version: 0.14 Release: 1 License: LGPL Group: System Environment/Libraries Vendor: Intra2net AG Source: libftdi-%{version}.tar.gz Patch0: buildfixes.diff Buildroot: /var/tmp/%{name}-%{version}-root AutoReqProv: libusb BuildRequires: libusb-devel, pkgconfig, doxygen %package -n libftdi-devel Summary: Header files and static libraries for libftdi Group: Development/Libraries Requires: libftdi1 = %{version}, libusb-devel %description Library to program and control the FTDI USB controller %description -n libftdi-devel Header files and static libraries for libftdi %prep %setup -q -n libftdi-%{version} %patch0 -p1 %build %configure --disable-dependency-tracking #%if %{enable_async_mode} # --with-async-mode \ #%endif make %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 %clean rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING.LIB %{_libdir}/libftdi.so* %files -n libftdi-devel %defattr(-,root,root) %doc doc/html doc/man %{_bindir}/libftdi-config %{_prefix}/include/*.h %{_libdir}/libftdi.*a %{_libdir}/pkgconfig/*.pc