Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37524455
en ru br
ALT Linux repositórios
S:3.1.0-alt1
5.0: 2.2.0.1-alt1

Group :: Sistema/Kernel e hardware
RPM: dahdi-linux

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#============================================================================
# Please do not edit!
# Created by specgen utility from files in specs/ subdir
#============================================================================
Name: dahdi-linux
Summary: DAHDI drivers for Digium hardware and Asterisk
Version: 3.0.0
Release: alt1
License: GPL
Group: System/Kernel and hardware
Packager: Denis Smirnov <mithraen at altlinux.ru>
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Source2: %name.watch
Url: http://downloads.asterisk.org/pub/telephony/dahdi-linux/

%package headers
Summary: DAHDI headers
Group: System/Kernel and hardware

%description headers
DAHDI headers

%package -n firmware-dahdi
Summary: firmware for Digium cards
Group: System/Kernel and hardware
BuildArch: noarch

%description -n firmware-dahdi
firmware for Digium cards

%package -n kernel-source-dahdi
Summary: Linux DAHDI module sources
Group: Development/Kernel
BuildArch: noarch

%description -n kernel-source-dahdi
This package contains DAHDI sources for Linux kernel module


%description -n kernel-source-dahdi -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÉÓÈÏÄÎÉËÉ DAHDI ÄÌÑ ÍÏÄÕÌÑ ÑÄÒÁ ìÉÎÕËÓ


%description
Dahdi drivers only


%prep
%setup
%patch -p1
sed -i 's/^all:.*/all:/' drivers/dahdi/firmware/Makefile
t="$RPM_SOURCE_DIR/kernel-source-dahdi-%version"
rm -rf "$t"
mkdir -p $t/dahdi
cp -a ./ "$t/dahdi"
mv "$t" .

%install
make DESTDIR=%buildroot install-include
mkdir -p %buildroot/lib/firmware
install -m 6400  drivers/dahdi/firmware/*.bin %buildroot/lib/firmware/
mkdir -p %buildroot%_usrsrc/kernel/sources
du -hsc kernel-source-dahdi-%version
tar cjf \
%buildroot%_usrsrc/kernel/sources/kernel-source-dahdi-%version.tar.bz2 \
kernel-source-dahdi-%version

%files headers
%dir %_includedir/dahdi
%_includedir/dahdi/dahdi_config.h
%_includedir/dahdi/fasthdlc.h
%_includedir/dahdi/kernel.h
%_includedir/dahdi/user.h
%_includedir/dahdi/wctdm_user.h

%files -n firmware-dahdi
/lib/firmware/*

%files -n kernel-source-dahdi
%_usrsrc/kernel/sources/kernel-source-dahdi-%version.tar.bz2

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009