Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37846042
en ru br
Репозитории ALT
S:14-alt3.gae26ba2
www.altlinux.org/Changes

Группа :: Разработка/Ядро
Пакет: kernel-source-anbox

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# -*- rpm-spec -*-
%define module_name anbox
# use debian numeration
%define module_version  14
%define git ae26ba2

#### MODULE SOURCES ####

Name: kernel-source-%module_name
Version: %module_version
Release: alt2.g%{git}
Provides: kernel-source-%module_name-%module_version
Summary: Anbox kernel modules sources
License: GPLv3/GPLv2
Group: Development/Kernel
Url: http://github.com/anbox/anbox-modules
Packager: Kernel Maintainer Team <kernel at packages.altlinux.org>

Source0: %name-%version.tar

BuildPreReq: kernel-build-tools
BuildArch: noarch

%description
Anbox kernel modules sources.

%package -n anbox-kernel-conf
Group: System/Kernel and hardware
Summary: Anbox kernel modules configuration
BuildArch: noarch

%description -n anbox-kernel-conf
Configuration for anbox kernel modules.

%prep
%setup -c -q

%install
# ashmem_linux non needed for kernels >= 5.18
sed -i -e '/^ashmem_linux/d' %name-%version/anbox.conf
install -m644 -pD %name-%version/anbox.conf %buildroot%_sysconfdir/modules-load.d/anbox.conf
install -m644 -pD %name-%version/99-anbox.rules %buildroot%_udevrulesdir/99-anbox.rules

mkdir -p %kernel_srcdir
tar jcf %kernel_srcdir/%name-%version.tar.bz2 %name-%version

%files
%attr(0644,root,root) %kernel_src/%name-%version.tar.bz2

%files -n anbox-kernel-conf
%_sysconfdir/modules-load.d/anbox.conf
%_udevrulesdir/99-anbox.rules

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin