ALT repositories
Last updated at Sat, 06 Jun 2020 00:41:50 +0000 | SRPMs: 16893
en ru
SRPMs in branches
hide window
  • 0.1-alt5.k.267131.0.M80C.1
  • 0.1-alt3.264523.0.M80C.1
  • 0.1-alt5.267225.0.M80P.1
  • 0.1-alt3.262449.0.M70P.1
  • 0.1-alt3.262449.0.M70P.1
  • 0.1-alt2.197376.0.M60P.1
  • 0.1-alt3.197721.0.M60P.1
  • 0.1-alt3.197721.0.M60P.1
Group :: System/Kernel and hardware
Source RPM: kernel-modules-acpi_call-un-def
Raw spec file

%define module_name acpi_call
%define module_version 0.1

%define module_release alt5.k

%define flavour un-def
%define karch x86_64 i586
BuildRequires(pre):
rpm-build-kernel
BuildRequires(pre):
kernel-headers-modules-un-def

%setup_kernel_module %flavour

%define module_dir /lib/modules/%kversion-%flavour-%krelease/misc

Summary: acpi_call module
Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release.%kcode.%kbuildrelease
License: GPL
Group: System/Kernel and hardware

Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>

Patch0: acpi_call-4.12.patch

ExclusiveOS: Linux
Url: https://github.com/mkottman/acpi_call
BuildRequires(pre):
rpm-build-kernel
BuildRequires: perl
BuildRequires: rpm >= 4.0.2-75
BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
BuildRequires: kernel-source-%module_name = %module_version
Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release

PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease
ExclusiveArch: %karch

Requires: %module_name

%description
This package contains acpi_call module

%prep
rm -rf %module_name-%{module_version}*
tar xf %kernel_src/%module_name-%module_version.tar.*
%setup -D -T -n %module_name-%module_version
%patch0 -p0

%build
. %_usrsrc/linux-%kversion-%flavour-%krelease/gcc_version.inc
make KDIR=%_usrsrc/linux-%kversion-%flavour-%krelease

%install
mkdir -p %buildroot/%module_dir
install -pD -m644 %module_name.ko \
%buildroot%module_dir/

%files
%defattr(644,root,root,755)
%module_dir

%changelog
* %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release
- Build for kernel-image-%flavour-%kversion-%krelease.

* Mon Dec 17 2012 Gleb F-Malinovskiy <glebfm at altlinux.org> 0.1-alt3
- new template

* Wed May 11 2011 Anton Protopopov <aspsk at altlinux.org> 0.1-alt2
- Use kernelarch macro for %%buildarch

* Tue Apr 19 2011 Mykola Grechukh <gns at altlinux.ru> 0.1-alt1.132647.1.rc4
- rc4

* Fri Apr 15 2011 Mykola Grechukh <gns at altlinux.ru> 0.1-alt1.132647.1.rc3
- first build for ALT Linux
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.