%global debug_package %{nil} Name: evdi Version: 1.5.1 Release: 2 Summary: DisplayLink VGA/HDMI driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx adapters Group: User Interface/X Hardware Support License: GPL v2.0, LGPL v2.1 and Proprietary URL: https://github.com/DisplayLink/evdi Source0: https://github.com/DisplayLink/evdi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: libdrm-devel Requires: kernel-devel Requires: dkms %description This adds support for HDMI/VGA adapters built upon the DisplayLink DL-6xxx, DL-5xxx, DL-41xx and DL-3xxx series of chipsets. This includes numerous docking stations, USB monitors, and USB adapters. %prep %setup -q sed -i 's/\r//' README.md %build cd library make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT/usr/libexec/displaylink \ $RPM_BUILD_ROOT/usr/src/evdi-%{version} # Kernel driver sources pushd $RPM_BUILD_ROOT/usr/src/evdi-%{version} ; \ cp -a $OLDPWD/module/* . ; \ popd # Library cp library/libevdi.so $RPM_BUILD_ROOT/usr/libexec/displaylink %post dkms install evdi/%{version} %files %doc README.md %dir /usr/src/evdi-%{version} /usr/src/evdi-%{version}/* %dir /usr/libexec/displaylink /usr/libexec/displaylink/* %preun dkms remove evdi/%{version} --all %changelog * Fri Jan 17 2020 Pavel Lisý 1.5.1-2 - Rebuild package for EPEL8 * Wed Nov 21 2018 Wei-Lun Chao 1.5.1 - Rebuild package * Sun Feb 19 2017 Richard Hofer 1.3.52 - Bump downloaded version to 1.3.52 - Note support for DL-6xxx devices * Tue Oct 11 2016 Aaron Aichlmayr 1.2.64 - Bump downloaded version to 1.2.64 * Tue Oct 04 2016 Victor Rehorst 1.2.55-2 - Fix systemd-sleep support for DisplayLink driver 1.2.58 (which is now current for v1.2) * Thu Sep 22 2016 Santiago Saavedra 1.2.55-1 - Bump upstream version for both evdi and DisplayLink driver * Mon May 30 2016 Santiago Saavedra 1.1.65-5 - Add systemd-sleep support * Tue May 24 2016 Bastien Nocera 1.1.65-4 - Really copy the libevdi.so from the sources * Sun May 22 2016 Bastien Nocera 1.1.65-3 - Add missing libdrm-devel BR * Tue May 17 2016 Bastien Nocera 1.1.65-2 - Update to daemon 1.1.62 (with a zip file called 1.1.68, sigh) * Tue May 17 2016 Bastien Nocera 1.1.65-1 - Update to 1.1.65 * Tue May 10 2016 Bastien Nocera 1.1.61-1 - Update to 1.1.61 * Thu Apr 28 2016 Bastien Nocera 1.0.453-1 - Update to 1.0.453 - Compile the library from source * Mon Dec 14 2015 Bastien Nocera 1.0.335-1 - Update to 1.0.335 * Mon Sep 07 2015 Bastien Nocera 1.0.138-4 - Disable debuginfo subpackage creation * Mon Sep 07 2015 Bastien Nocera 1.0.138-3 - Create RPM directly from downloaded zip file - Add LICENSE - Create i386 RPM * Sun Sep 6 2015 Eric Nothen - 1.0.138-2 - Modified installed kernels detection section to be more precise * Wed Sep 2 2015 Eric Nothen - 1.0.138-1 - Updated driver to version 1.0.138, as published by DisplayLink * Wed Aug 19 2015 Eric Nothen - 1.0.68-2 - Changed udev rule to detect devices based on vendor rather than model * Thu Aug 13 2015 Eric Nothen - 1.0.68-1 - Initial package based on module version 1.0.68 available at http://www.displaylink.com/downloads/ubuntu.php