|
|
@ -1,20 +1,20 @@
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
Name: libftdi
|
|
|
|
Name: libftdi
|
|
|
|
Version: 1.2
|
|
|
|
Version: 1.3
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Library to program and control the FTDI USB controller
|
|
|
|
Summary: Library to program and control the FTDI USB controller
|
|
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2
|
|
|
|
License: LGPLv2
|
|
|
|
URL: http://www.intra2net.com/de/produkte/opensource/ftdi/
|
|
|
|
URL: http://www.intra2net.com/de/produkte/opensource/ftdi/
|
|
|
|
Source0: http://www.intra2net.com/en/developer/%{name}/download/%{name}1-%{version}.tar.bz2
|
|
|
|
Source0: http://www.intra2net.com/en/developer/%{name}/download/%{name}1-%{version}.tar.bz2
|
|
|
|
|
|
|
|
Patch0: libftdi-python-version.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libconfuse-devel
|
|
|
|
BuildRequires: libconfuse-devel
|
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: swig
|
|
|
|
BuildRequires: swig
|
|
|
|
Requires: systemd
|
|
|
|
Requires: systemd
|
|
|
|
|
|
|
|
|
|
|
@ -62,6 +62,8 @@ for building C++ applications with libftdi.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}1-%{version}
|
|
|
|
%setup -q -n %{name}1-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p0
|
|
|
|
|
|
|
|
|
|
|
|
#kernel does not provide usb_device anymore
|
|
|
|
#kernel does not provide usb_device anymore
|
|
|
|
sed -i -e 's/usb_device/usb/g' packages/99-libftdi.rules
|
|
|
|
sed -i -e 's/usb_device/usb/g' packages/99-libftdi.rules
|
|
|
|
sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules
|
|
|
|
sed -i -e 's/GROUP="plugdev"/TAG+="uaccess"/g' packages/99-libftdi.rules
|
|
|
@ -99,6 +101,8 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/serial_read
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_bindir}/serial_test
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_bindir}/serial_test
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/cmake*
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/cmake*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/libftdi1/example.conf
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
#make check
|
|
|
|
#make check
|
|
|
|
|
|
|
|
|
|
|
@ -121,7 +125,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/cmake*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%files python
|
|
|
|
%files python
|
|
|
|
%{python_sitearch}/*
|
|
|
|
%{python2_sitearch}/*
|
|
|
|
|
|
|
|
|
|
|
|
%files c++
|
|
|
|
%files c++
|
|
|
|
%{_libdir}/libftdipp1.so.2*
|
|
|
|
%{_libdir}/libftdipp1.so.2*
|
|
|
@ -138,6 +142,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/cmake*
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jun 14 2016 Jon Ciesla <limburgher@gmail.com> 1.3-1
|
|
|
|
|
|
|
|
- 1.3, libconfuse rebuild.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|