Clean up spec

i9fe changed/i9fe/driver-manager-1.0.1-1.el9
Arkady L. Shane 3 months ago
parent 4282e82687
commit 50e1ff3e93
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1,49 +1,55 @@
Name: driver-manager
Version: 1.0
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Libraries
Summary: Driver Manager
Summary: Install kmod/akmod drivers
Name: driver-manager
Version: 1.0.1
Release: 1%{?dist}
Source0: driver-manager.tar.gz
Url: https://msvsphere-os.ru
License: GPLv2+
Source0: %{name}-%{version}.tar.xz
Requires: /usr/bin/bash
Requires: perl-Locale-gettext
Requires: perl-JSON-PP
Requires: perl-Sys-Hostname
Requires: yad
BuildArch: noarch
BuildRequires: perl-Locale-gettext
BuildRequires: perl-JSON-PP
BuildRequires: perl-Sys-Hostname
BuildRequires: yad
BuildRequires: make
Requires: bash
Requires: perl-Locale-gettext
Requires: perl-JSON-PP
Requires: perl-Sys-Hostname
Requires: yad
# Gnome Deps
Suggests: gnome-tweaks
BuildRequires: perl-Locale-gettext
BuildRequires: perl-JSON-PP
BuildRequires: perl-Sys-Hostname
BuildRequires: yad
BuildRequires: make
# KDE Deps
Suggests: kde-runtime
%description
Program for managing third-party drivers for some devices
%prep
%autosetup -p1 -n driver-manager
%autosetup -p1
%build
%install
DESTDIR=%{buildroot} BIN_DIR=%{_bindir} LIB_DIR=%{_usr}/lib DATA_DIR=%{_datadir} SYSCONFDIR=%{_sysconfdir} make install
pushd %{buildroot}%{_bindir}
ln -s driver-manager.pl driver-manager
popd
%description
Program for managing third-party drivers for some devices
%find_lang %{name}
%files
%files -f %{name}.lang
%doc README.md
%license COPYING
%config(noreplace) %{_sysconfdir}/xdg/autostart/driver-manager-auto.desktop
%{_usr}/lib/%{name}
%{_bindir}/*
%{_datadir}/*
%{_sysconfdir}/*
%{_bindir}/driver-manager*
%{_datadir}/icons/hicolor/*
%{_datadir}/applications/driver-manager-auto.desktop
%{_datadir}/applications/driver-manager.desktop
%post
pushd %{_bindir} >/dev/null
ln -s driver-manager.pl driver-manager
popd >/dev/null
%changelog
* Thu Aug 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.1-1
- Added stk83xx driver detection
%preun
rm -f %{_bindir}/driver-manager
* Fri Aug 2 2024 Dmitry Samoylik <Dmitriy.Samoylik@softline.com> - 1.0-1
- Initial build

Loading…
Cancel
Save