Пакет fbset-modes-sm750-bfk3: Specfile

%define _unpackaged_files_terminate_build 1

Name: fbset-modes-sm750-bfk3
Version: 2.0
Release: alt1
Summary: Config file for BFK3 SM750 video
License: %pubdomain
Group: System/Configuration/Hardware
BuildArch: noarch

Source: sm750-bfk3-%version.tar

BuildRequires(pre): rpm-build-licenses

Requires: fbset

%description
This package contains the configuration file with modes for
the video card SM750 connected to the evaluation board BFK 3.
There are no black bars on the right or bottom in these modes.

%prep
%setup -q -n sm750-bfk3-%version

%install
install -Dm0644 fb.modes.sm750 -t %buildroot%_sysconfdir/
install -Dm0644 "98-sm750-set-mode.rules" -t %buildroot%_udevrulesdir/
install -Dm0755 sm750-fbset -t %buildroot/lib/sm750-bfk3/
install -Dm0644 sysconfig/sm750-fbset -t  %buildroot%_sysconfdir/sysconfig

%files
%config(noreplace) %_sysconfdir/fb.modes.sm750
%config(noreplace) %_sysconfdir/sysconfig/sm750-fbset
%_udevrulesdir/*
/lib/sm750-bfk3

%changelog
* Mon Mar 30 2020 Ivan A. Melnikov <iv@altlinux.org> 2.0-alt1
- Add udev rule to set the mode automatically.

* Thu Jan 17 2019 Dmitry Terekhin <jqt4@altlinux.org> 1.0-alt1
- Initial build.