commit
2719182294
@ -0,0 +1 @@
|
||||
cf804a6bfead79e0165e152ee53587baf9de5bc0 SOURCES/driver-manager.tar.gz
|
@ -0,0 +1 @@
|
||||
SOURCES/driver-manager.tar.gz
|
@ -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
|
Loading…
Reference in new issue