|
@@ -1,14 +1,16 @@
|
|
Name: kmod
|
|
Name: kmod
|
|
-Version: 25
|
|
|
|
-Release: 1%{?_dist_release}
|
|
|
|
Summary: Linux kernel module management utilities
|
|
Summary: Linux kernel module management utilities
|
|
Summary(ja): Linux カーネルモジュール管理ユーティリティ
|
|
Summary(ja): Linux カーネルモジュール管理ユーティリティ
|
|
-
|
|
|
|
|
|
+Version: 27
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Group: System Environment/Kernel
|
|
Group: System Environment/Kernel
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Packager: daisuke
|
|
|
|
+
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
|
URL: http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
|
|
-Source0: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
|
|
|
|
-Exclusiveos: Linux
|
|
|
|
|
|
+Source0: https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: chrpath
|
|
BuildRequires: chrpath
|
|
@@ -22,16 +24,13 @@ Provides: modutils = 4.0-1
|
|
Obsoletes: modutils < 4.0-1
|
|
Obsoletes: modutils < 4.0-1
|
|
Provides: /sbin/modprobe
|
|
Provides: /sbin/modprobe
|
|
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Packager: daisuke
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
The kmod package provides various programs needed for automatic
|
|
The kmod package provides various programs needed for automatic
|
|
loading and unloading of modules under 2.6, 3.x, and later kernels, as well
|
|
loading and unloading of modules under 2.6, 3.x, and later kernels, as well
|
|
as other module management programs. Device drivers and filesystems are two
|
|
as other module management programs. Device drivers and filesystems are two
|
|
examples of loaded and unloaded modules.
|
|
examples of loaded and unloaded modules.
|
|
|
|
|
|
|
|
+
|
|
%package libs
|
|
%package libs
|
|
Summary: Libraries to handle kernel module loading and unloading
|
|
Summary: Libraries to handle kernel module loading and unloading
|
|
Summary(ja): kernelモジュールのロード/アンロードを扱うライブラリ
|
|
Summary(ja): kernelモジュールのロード/アンロードを扱うライブラリ
|
|
@@ -42,6 +41,7 @@ Group: System Environment/Libraries
|
|
The kmod-libs package provides runtime libraries for any application that
|
|
The kmod-libs package provides runtime libraries for any application that
|
|
wishes to load or unload Linux kernel modules from the running system.
|
|
wishes to load or unload Linux kernel modules from the running system.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Header files for kmod development
|
|
Summary: Header files for kmod development
|
|
Summary(ja): kmodを使うアプリケーション開発のためのヘッダファイル
|
|
Summary(ja): kmodを使うアプリケーション開発のためのヘッダファイル
|
|
@@ -52,9 +52,11 @@ Requires: %{name} = %{version}-%{release}
|
|
The kmod-devel package provides header files used for development of
|
|
The kmod-devel package provides header files used for development of
|
|
applications that wish to load or unload Linux kernel modules.
|
|
applications that wish to load or unload Linux kernel modules.
|
|
|
|
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
export V=1
|
|
export V=1
|
|
%configure \
|
|
%configure \
|
|
@@ -64,6 +66,7 @@ export V=1
|
|
--with-xz
|
|
--with-xz
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
@@ -89,15 +92,18 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
|
|
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
+
|
|
%post libs
|
|
%post libs
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
%postun libs
|
|
%postun libs
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%dir %{_sysconfdir}/depmod.d
|
|
%dir %{_sysconfdir}/depmod.d
|
|
@@ -114,7 +120,9 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
|
|
%attr(0644,root,root) %{_mandir}/man8/*.8*
|
|
%attr(0644,root,root) %{_mandir}/man8/*.8*
|
|
%doc NEWS README TODO
|
|
%doc NEWS README TODO
|
|
%license COPYING
|
|
%license COPYING
|
|
-%exclude %{_datadir}/bash-completion/completions/kmod
|
|
|
|
|
|
+%dir %{_datadir}/bash-completion/completions
|
|
|
|
+%dir %{_datadir}/bash-completion
|
|
|
|
+%{_datadir}/bash-completion/completions/kmod
|
|
|
|
|
|
%files libs
|
|
%files libs
|
|
/%{_lib}/libkmod.so.*
|
|
/%{_lib}/libkmod.so.*
|
|
@@ -125,9 +133,13 @@ mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d
|
|
%{_libdir}/libkmod.so
|
|
%{_libdir}/libkmod.so
|
|
/%{_lib}/libkmod.so
|
|
/%{_lib}/libkmod.so
|
|
|
|
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jul 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 27-1
|
|
|
|
+- updated to 27.
|
|
|
|
+
|
|
* Fri Feb 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 25-1
|
|
* Fri Feb 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 25-1
|
|
-- updated to 23.
|
|
|
|
|
|
+- updated to 25.
|
|
|
|
|
|
* Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 23-1
|
|
* Sat Jul 23 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 23-1
|
|
- update to 23
|
|
- update to 23
|