Группа :: Система/Ядро и оборудование
Пакет: kernel-modules-fuse-std-smp
Главная Изменения Спек Патчи Загрузить Bugs and FR
%define module_name fuse
%define module_version 2.3.0
%define module_release alt0.M24.2
%define kversion 2.4.26
%define krelease alt13
%define flavour std-smp
%define base_arch %(echo %_target_cpu | sed 's/i.86/i386/;s/athlon/i386/')
%define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name
Summary: %module_name modules
Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release
License: GPL
Group: System/Kernel and hardware
Packager: Kernel Maintainer Team <kernel at packages.altlinux.org>
ExclusiveOS: Linux
URL: http://sourceforge.net/projects/fuse
BuildPreReq: kernel-build-tools >= 0.7
BuildRequires: modutils
#BuildRequires: perl
BuildRequires: rpm >= 4.0.2-75
BuildRequires: kernel-headers-modules-%flavour = %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: coreutils
Prereq: modutils
Prereq: kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease
ExclusiveArch: %ix86
%description
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%prep
%__rm -rf kernel-source-%module_name-%module_version
%__tar -jxvf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%setup -D -T -n kernel-source-%module_name-%module_version
%build
. %_usrsrc/linux-%kversion-%flavour/gcc_version.inc
%configure --with-kernel=%_usrsrc/linux-%kversion-%flavour
%make_build
%install
%make_install fusemoduledir=%module_dir/fs/ DESTDIR=%buildroot install
%post
%post_kernel_modules %kversion-%flavour-%krelease
%postun
%postun_kernel_modules %kversion-%flavour-%krelease
%files
%module_dir
%changelog
…
Полный changelog можно просмотреть здесь
%define module_version 2.3.0
%define module_release alt0.M24.2
%define kversion 2.4.26
%define krelease alt13
%define flavour std-smp
%define base_arch %(echo %_target_cpu | sed 's/i.86/i386/;s/athlon/i386/')
%define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name
Summary: %module_name modules
Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release
License: GPL
Group: System/Kernel and hardware
Packager: Kernel Maintainer Team <kernel at packages.altlinux.org>
ExclusiveOS: Linux
URL: http://sourceforge.net/projects/fuse
BuildPreReq: kernel-build-tools >= 0.7
BuildRequires: modutils
#BuildRequires: perl
BuildRequires: rpm >= 4.0.2-75
BuildRequires: kernel-headers-modules-%flavour = %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: coreutils
Prereq: modutils
Prereq: kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease
ExclusiveArch: %ix86
%description
FUSE (Filesystem in USErspace), an excellent tool
for creating custom filesystems with minimal effort.
%prep
%__rm -rf kernel-source-%module_name-%module_version
%__tar -jxvf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%setup -D -T -n kernel-source-%module_name-%module_version
%build
. %_usrsrc/linux-%kversion-%flavour/gcc_version.inc
%configure --with-kernel=%_usrsrc/linux-%kversion-%flavour
%make_build
%install
%make_install fusemoduledir=%module_dir/fs/ DESTDIR=%buildroot install
%post
%post_kernel_modules %kversion-%flavour-%krelease
%postun
%postun_kernel_modules %kversion-%flavour-%krelease
%files
%module_dir
%changelog
…
Полный changelog можно просмотреть здесь