commit 27191822947f51cff27f82923781ead375b2aabe Author: Dmitry Samoylik Date: Fri Aug 2 13:36:06 2024 +0300 import driver-manager-1.0-1.el9 diff --git a/.driver-manager.metadata b/.driver-manager.metadata new file mode 100644 index 0000000..a12bea0 --- /dev/null +++ b/.driver-manager.metadata @@ -0,0 +1 @@ +cf804a6bfead79e0165e152ee53587baf9de5bc0 SOURCES/driver-manager.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ac1dba --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/driver-manager.tar.gz diff --git a/SPECS/driver-manager.spec b/SPECS/driver-manager.spec new file mode 100644 index 0000000..5404ac7 --- /dev/null +++ b/SPECS/driver-manager.spec @@ -0,0 +1,43 @@ +Name: driver-manager +Version: 1.0 +Release: 1%{?dist} +License: GPLv2 +Group: System Environment/Libraries +Summary: Driver Manager + +Source0: driver-manager.tar.gz + +Requires: /usr/bin/bash +Requires: perl-Locale-gettext +Requires: perl-JSON-PP +Requires: perl-Sys-Hostname +Requires: yad + +# Gnome Deps +Suggests: gnome-tweaks + +# KDE Deps +Suggests: kde-runtime + +%prep +%autosetup -p1 -n driver-manager + +%build +DESTDIR=%{buildroot} BIN_DIR=%{_bindir} LIB_DIR=%{_usr}/lib DATA_DIR=%{_datadir} SYSCONFDIR=%{_sysconfdir} make install + +%description +Program for managing third-party drivers for some devices + +%files +%{_usr}/lib/%{name} +%{_bindir}/* +%{_datadir}/* +%{_sysconfdir}/* + +%post +pushd %{_bindir} >/dev/null +ln -s driver-manager.pl driver-manager +popd >/dev/null + +%preun +rm -f %{_bindir}/driver-manager