%bcond_without dist_kernel # without distribution kernel
%bcond_with oslec # with Open Source Line Echo Canceller
%bcond_without xpp # without Astribank
%bcond_without dist_kernel # without distribution kernel
%bcond_with oslec # with Open Source Line Echo Canceller
%bcond_without xpp # without Astribank
%define pname dahdi-linux
%define FIRMWARE_URL http://downloads.digium.com/pub/telephony/firmware/releases
Summary: DAHDI telephony device support
%define pname dahdi-linux
%define FIRMWARE_URL http://downloads.digium.com/pub/telephony/firmware/releases
Summary: DAHDI telephony device support
# Source5-md5: e1c7231d6225ac999cb18f4e858f66b6
Source6: %{FIRMWARE_URL}/dahdi-fw-tc400m-MR6.12.tar.gz
# Source6-md5: 2ea860bb8a9d8ede2858b9557b74ee3c
# Source5-md5: e1c7231d6225ac999cb18f4e858f66b6
Source6: %{FIRMWARE_URL}/dahdi-fw-tc400m-MR6.12.tar.gz
# Source6-md5: 2ea860bb8a9d8ede2858b9557b74ee3c
URL: http://www.asterisk.org/
%if %{with kernel} && %{with dist_kernel}
BuildRequires: kernel%{_alt_kernel}-module-build
URL: http://www.asterisk.org/
%if %{with kernel} && %{with dist_kernel}
BuildRequires: kernel%{_alt_kernel}-module-build
%files devel
%defattr(644,root,root,755)
%{_includedir}/dahdi
%files devel
%defattr(644,root,root,755)
%{_includedir}/dahdi
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/dahdi.rules
%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xpp.rules
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/dahdi.rules
%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/xpp.rules
%files -n kernel%{_alt_kernel}-%{pname}
%defattr(644,root,root,755)
%files -n kernel%{_alt_kernel}-%{pname}
%defattr(644,root,root,755)