You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
driver-manager/SPECS/driver-manager.spec

64 lines
1.6 KiB

1 month ago
Summary: Install kmod/akmod drivers
Name: driver-manager
Version: 1.1
1 month ago
Release: 1%{?dist}
1 month ago
Url: https://msvsphere-os.ru
License: GPLv2+
Source0: %{name}-%{version}.tar.xz
1 month ago
BuildArch: noarch
1 month ago
Requires: bash
Requires: perl-Locale-gettext
Requires: perl-JSON-PP
Requires: perl-Sys-Hostname
Requires: yad
BuildRequires: desktop-file-utils
1 month ago
BuildRequires: perl-Locale-gettext
BuildRequires: perl-JSON-PP
BuildRequires: perl-Sys-Hostname
BuildRequires: yad
BuildRequires: make
1 month ago
%description
Program for managing third-party drivers for some devices
%prep
1 month ago
%autosetup -p1
%build
1 month ago
%install
DESTDIR=%{buildroot} BIN_DIR=%{_bindir} LIB_DIR=%{_usr}/lib DATA_DIR=%{_datadir} SYSCONFDIR=%{_sysconfdir} make install
1 month ago
pushd %{buildroot}%{_bindir}
ln -s driver-manager.pl driver-manager
popd
1 month ago
%find_lang %{name}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/driver-manager.desktop
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/driver-manager-auto.desktop
1 month ago
%files -f %{name}.lang
%doc README.md
%license COPYING
%config(noreplace) %{_sysconfdir}/xdg/autostart/driver-manager-auto.desktop
%{_usr}/lib/%{name}
1 month ago
%{_bindir}/driver-manager*
%{_datadir}/icons/hicolor/*/apps/%{name}*.*
1 month ago
%{_datadir}/applications/driver-manager.desktop
1 month ago
%changelog
* Thu Aug 22 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.1-1
- Rewrite install/uninstall scripts
- Optimize icons and deskop files
1 month ago
* Thu Aug 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.1-1
- Added stk83xx driver detection
1 month ago
* Fri Aug 2 2024 Dmitry Samoylik <Dmitriy.Samoylik@softline.com> - 1.0-1
- Initial build