Compare commits

...

5 Commits
epel9 ... epel8

@ -1,6 +1,6 @@
Name: libftdi
Version: 1.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library to program and control the FTDI USB controller
License: LGPLv2
@ -9,10 +9,12 @@ Source0: http://www.intra2net.com/en/developer/%{name}/download/%{name}1-%{versi
# Swig requirements have changed in newer versions of CMake.
# This has been reported to the mailing list
Patch0: libftdi-cmake_swig.patch
# rhel8 cmake3 is too old so comment out
#Patch0: libftdi-cmake_swig.patch
BuildRequires: cmake3 gcc-c++
BuildRequires: doxygen
# rhel doxygen package has no dot support yet
#BuildRequires: doxygen
BuildRequires: boost-devel
BuildRequires: libconfuse-devel
BuildRequires: libusbx-devel
@ -93,8 +95,8 @@ find %{buildroot} -type f -name "*.la" -delete
find %{buildroot} -type f -name "*.a" -delete
#no man install
mkdir -p %{buildroot}%{_mandir}/man3
install -pm 0644 build-py3/doc/man/man3/*.3 %{buildroot}%{_mandir}/man3
#mkdir -p %{buildroot}%{_mandir}/man3
#install -pm 0644 build-py3/doc/man/man3/*.3 %{buildroot}%{_mandir}/man3
# Cleanup examples
rm -f %{buildroot}%{_bindir}/simple
@ -123,14 +125,14 @@ rm -rf %{buildroot}%{_datadir}/doc/libftdi1/example.conf
/lib/udev/rules.d/69-libftdi.rules
%files devel
%doc build-py3/doc/html
#%doc build-py3/doc/html
%doc %{_datadir}/libftdi/examples
%{_bindir}/ftdi_eeprom
%{_bindir}/libftdi1-config
%{_libdir}/libftdi1.so
%{_includedir}/libftdi1
%{_libdir}/pkgconfig/libftdi1.pc
%{_mandir}/man3/*
#{_mandir}/man3/*
%files -n python3-libftdi
%{python3_sitearch}/*
@ -150,6 +152,9 @@ rm -rf %{buildroot}%{_datadir}/doc/libftdi1/example.conf
%changelog
* Fri Sep 13 2019 Leigh Scott <leigh123linux@gmail.com> - 1.4-2
- Disable doxygen docs till RHEL8 has dot support
* Mon Sep 09 2019 Dan Horák <dan[at]danny.cz> - 1.4-1
- Update to 1.4

Loading…
Cancel
Save