Group :: Sistema/Configurações/Hadware
RPM: encled
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: encled
Version: 2018
Release: alt4
Summary: utility to change location / fault LED for enclosure
License: GPLv2+
Group: System/Configuration/Hardware
Url: https://github.com/amarao/sdled
BuildArch: noarch
Source0: %name-%version.tar
Patch0: port-on-python3.patch
BuildRequires: rpm-build-python3
%description
Encled - utility to change location / fault LED for enclosure.
I'm not sure if it works with every avaible enclosures, but at least it
works with Supermicro chases with SAS enclosures (LSI).
Encled heavily depends on linux kernel's /sys/class/enclosure
Previous name was sdled, but now it supports not only 'sd' devices
but empty disk slots too.
%prep
%setup
%patch0 -p1
%build
%install
install -p -m 755 -D encled %buildroot%_sbindir/encled
install -p -m 755 -D sdled %buildroot%_sbindir/sdled
install -p -m 644 -D encled.8 %buildroot%_man8dir/encled.8
%files
%doc README
%_man8dir/encled.8*
%_sbindir/encled
%_sbindir/sdled
%changelog
…
Todas as alterações você pod ver aqui
Version: 2018
Release: alt4
Summary: utility to change location / fault LED for enclosure
License: GPLv2+
Group: System/Configuration/Hardware
Url: https://github.com/amarao/sdled
BuildArch: noarch
Source0: %name-%version.tar
Patch0: port-on-python3.patch
BuildRequires: rpm-build-python3
%description
Encled - utility to change location / fault LED for enclosure.
I'm not sure if it works with every avaible enclosures, but at least it
works with Supermicro chases with SAS enclosures (LSI).
Encled heavily depends on linux kernel's /sys/class/enclosure
Previous name was sdled, but now it supports not only 'sd' devices
but empty disk slots too.
%prep
%setup
%patch0 -p1
%build
%install
install -p -m 755 -D encled %buildroot%_sbindir/encled
install -p -m 755 -D sdled %buildroot%_sbindir/sdled
install -p -m 644 -D encled.8 %buildroot%_man8dir/encled.8
%files
%doc README
%_man8dir/encled.8*
%_sbindir/encled
%_sbindir/sdled
%changelog
…
Todas as alterações você pod ver aqui