parent
4282e82687
commit
50e1ff3e93
@ -1,49 +1,55 @@
|
|||||||
Name: driver-manager
|
Summary: Install kmod/akmod drivers
|
||||||
Version: 1.0
|
Name: driver-manager
|
||||||
Release: 1%{?dist}
|
Version: 1.0.1
|
||||||
License: GPLv2
|
Release: 1%{?dist}
|
||||||
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: perl-Locale-gettext
|
|
||||||
Requires: perl-JSON-PP
|
|
||||||
Requires: perl-Sys-Hostname
|
|
||||||
Requires: yad
|
|
||||||
|
|
||||||
BuildRequires: perl-Locale-gettext
|
Requires: bash
|
||||||
BuildRequires: perl-JSON-PP
|
Requires: perl-Locale-gettext
|
||||||
BuildRequires: perl-Sys-Hostname
|
Requires: perl-JSON-PP
|
||||||
BuildRequires: yad
|
Requires: perl-Sys-Hostname
|
||||||
BuildRequires: make
|
Requires: yad
|
||||||
|
|
||||||
# Gnome Deps
|
BuildRequires: perl-Locale-gettext
|
||||||
Suggests: gnome-tweaks
|
BuildRequires: perl-JSON-PP
|
||||||
|
BuildRequires: perl-Sys-Hostname
|
||||||
|
BuildRequires: yad
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
# KDE Deps
|
%description
|
||||||
Suggests: kde-runtime
|
Program for managing third-party drivers for some devices
|
||||||
|
|
||||||
%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…
Reference in new issue