File modprobed-db.spec of Package modprobed-db
Name: modprobed-db
Version: 2.x
Release: 0
Summary: Keeps track of every kernel module that has ever been probed
License: MIT
Group: Productivity/Text/Utilities
URL: https://github.com/graysky2/modprobed-db
Source: %{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: make
BuildRequires: zsh
BuildArch: noarch
%description
Modprobed-db is a useful utility for users wishing to build a minimal kernel via a make localmodconfig. In a nutshell, this make target creates a config based on the current config and a list of modules you define (modprobed-db keeps for you). It then disables any module option that is not needed thus not building hundreds/potentially thousands of extraneous modules. This results in a system-specific, streamlined kernel package and footprint as well as reduced compilation times.
%prep
%setup -q -n %{name}-%{version}
%build
%make_build
%install
%make_install
%files
%doc README.md
%license MIT
%{_bindir}/%{name}
%{_mandir}/man8/%{name}.8.gz
%{_datadir}/zsh/site-functions/_%{name}
%{_datadir}/bash-completion/completions/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/%{name}.skel
/usr/lib/systemd/user/%{name}.service
/usr/lib/systemd/user/%{name}.timer
%changelog