Clean up spec

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

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

Loading…
Cancel
Save