Summary: Library to program and control the FTDI USB controller Name: libftdi Version: 0.7.1 Release: 1.fc5 License: LGPL Group: System Environment/Libraries Vendor: Intra2net AG Source: %{name}-%{version}.tar.bz2 Buildroot: /tmp/%{name}-%{version}-root Requires: libusb BuildRequires: libusb, libusb-devel, pkgconfig #Prefix: /usr %package devel Summary: Header files and static libraries for libftdi Group: Development/Libraries Requires: libftdi = %{version}, libusb-devel %description Library to program and control the FTDI USB controller %description devel Header files and static libraries for libftdi %prep %setup -q %build %configure make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %makeinstall %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING.LIB README ChangeLog %{_libdir}/libftdi.so* %files devel %defattr(-,root,root) %{_bindir}/libftdi-config %{_libdir}/libftdi.*a %{_includedir}/*.h %{_libdir}/pkgconfig/*.pc