Implement tc[io]flush methods & deprecate broken purge_buffers methods.
[libftdi] / libftdi1.spec.in
index e5c45b1..a5d9f5d 100644 (file)
@@ -7,13 +7,13 @@ Release:   1
 License:   LGPL for libftdi and GPLv2+linking exception for the C++ wrapper
 Group:     System Environment/Libraries
 Vendor:    Intra2net AG
-Source:    http://www.intra2net.com/en/developer/libftdi/download/%{name}-%{version}.tar.bz2
+Source:    https://www.intra2net.com/en/developer/libftdi/download/%{name}-%{version}.tar.bz2
 Buildroot: /tmp/%{name}-%{version}-root
 Requires:  libusb1
 BuildRequires: libusb1, libusb1-devel, pkgconfig, doxygen
 BuildRequires: swig python-devel
 Prefix:    /usr
-URL:       http://www.intra2net.com/en/developer/libftdi
+URL:       https://www.intra2net.com/en/developer/libftdi
 
 %package   devel
 Summary:   Header files and static libraries for libftdi1
@@ -67,6 +67,11 @@ rm -f $RPM_BUILD_ROOT/usr/bin/baud_test
 # Clean python compiled files in examples dir
 find $RPM_BUILD_ROOT%{prefix}/share/libftdi/examples -name "*.pyc" -or -name "*.pyo" -exec rm -f \{\} \;
 
+# move documentation to version specific directory
+# Is there an easy way in cmake to set the DOCDIR?
+mkdir -p $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}-%{version}
+mv $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}/* $RPM_BUILD_ROOT%{prefix}/share/doc/%{name}-%{version}
+
 %clean
 rm -fr $RPM_BUILD_ROOT