Группа :: Система/Ядро и оборудование
Пакет: martian
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%add_strip_skiplist %_sbindir/martian_modem
Name: martian
Version: 20061203
Release: alt0.2
Summary: Linux support for Agere WinModem hardware
License: Distributable
Group: System/Kernel and hardware
Url: http://martian.barrelsoutofbond.org/
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
ExclusiveArch: %ix86
Source: %name-%version.tar.bz2
%define module_name %name
%define module_version %version
%define module_release %release
BuildPreReq: kernel-build-tools
%description
Martian is an alternative to the ltmodem and provides Linux support for
Agere WinModem hardware. Major difference is that core moved to the user
space.
%package -n kernel-source-%module_name
Summary: Linux support for Agere WinModem hardware - kernel part
Group: System/Kernel and hardware
%description -n kernel-source-%module_name
Martian is an alternative to the ltmodem and provides Linux support for
Agere WinModem hardware. Major difference is that core moved to the user
space.
%prep
%setup
cp -a modem/README README.modem
%build
%make_build -C modem all martian_modem.stripped
%install
%__mkdir_p %buildroot%_sbindir/
install -p -m755 modem/martian_modem.stripped %buildroot%_sbindir/martian_modem
%__mkdir_p %buildroot%kernel_src/kernel-source-%module_name-%module_version/
cp -a martian.h kmodule/ %buildroot%kernel_src/kernel-source-%module_name-%module_version/
cd %buildroot%kernel_src
tar -c kernel-source-%module_name-%module_version | bzip2 -c > \
%buildroot%kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%files
%_sbindir/*
%doc ChangeLog Concept INSTALL README README.modem modem/ASWMLICENSE scripts/
%files -n kernel-source-%module_name
%kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%changelog
…
Полный changelog можно просмотреть здесь
Name: martian
Version: 20061203
Release: alt0.2
Summary: Linux support for Agere WinModem hardware
License: Distributable
Group: System/Kernel and hardware
Url: http://martian.barrelsoutofbond.org/
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
ExclusiveArch: %ix86
Source: %name-%version.tar.bz2
%define module_name %name
%define module_version %version
%define module_release %release
BuildPreReq: kernel-build-tools
%description
Martian is an alternative to the ltmodem and provides Linux support for
Agere WinModem hardware. Major difference is that core moved to the user
space.
%package -n kernel-source-%module_name
Summary: Linux support for Agere WinModem hardware - kernel part
Group: System/Kernel and hardware
%description -n kernel-source-%module_name
Martian is an alternative to the ltmodem and provides Linux support for
Agere WinModem hardware. Major difference is that core moved to the user
space.
%prep
%setup
cp -a modem/README README.modem
%build
%make_build -C modem all martian_modem.stripped
%install
%__mkdir_p %buildroot%_sbindir/
install -p -m755 modem/martian_modem.stripped %buildroot%_sbindir/martian_modem
%__mkdir_p %buildroot%kernel_src/kernel-source-%module_name-%module_version/
cp -a martian.h kmodule/ %buildroot%kernel_src/kernel-source-%module_name-%module_version/
cd %buildroot%kernel_src
tar -c kernel-source-%module_name-%module_version | bzip2 -c > \
%buildroot%kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%files
%_sbindir/*
%doc ChangeLog Concept INSTALL README README.modem modem/ASWMLICENSE scripts/
%files -n kernel-source-%module_name
%kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%changelog
…
Полный changelog можно просмотреть здесь