Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
dahdi-tools
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
dahdi-tools.spec
@@ -0,0 +1,176 @@ +# +# spec file for package dahdi-tools (Version 2.0.0) +# +# + +# norootforbuild +# usedforbuild aaa_base acl attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 capi4linux capisuite coreutils cpio cpp cpp41 cracklib cvs cyrus-sasl dahdi-linux-devel dahdi-linux dahdi-linux-kmp-default db diffutils e2fsprogs file filesystem fillup findutils flex gawk gcc gcc41 gdbm gdbm-devel gettext gettext-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kernel-source kernel-syms klogd less libacl libattr libcom_err libgcc41 libltdl libmudflap41 libnscd libstdc++41 libtool libvolume_id libxcrypt libzio linux-kernel-headers m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch perl permissions popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone udev unzip util-linux vim zlib zlib-devel + +Name: dahdi-tools +BuildRequires: kernel-source kernel-syms udev newt-devel wget module-init-tools dahdi-linux-kmp-default dahdi-linux dahdi-linux-devel +URL: http://www.asterisk.org +Summary: Tools for the Zapata Telephony Interface Driver +Version: 2.0.0 +Release: 32.1 +License: GNU General Public License (GPL) +Group: Productivity/Telephony/Utilities +PreReq: %insserv_prereq %fillup_prereq udev +Excludearch: s390 s390x +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: http://ftp.digium.com/pub/dahdi/dahdi-tools-%{version}.tar.bz2 +Source1: dahdi-init.tar.bz2 + +%description +This package contains configuration files, header files, and setup +tools needed for the zapata telephony interface drivers. + +See /usr/share/doc/packages/dahdi/README for a list of supported +hardware. + +Authors: +-------- + Mark Spencer <markster@digium.com> + + +%package devel +Summary: Development files for dahdi +Group: Development/Libraries +PreReq: dahdi-tools + +%description devel +This package contains the header files and libraries necessary for +developing applications which use zpatel. + + +Install dahdi-devel if you want to develop applications which depend on +asterisk. + +Authors: +-------- + Mark Spencer <markster@digium.com> + +%prep +%setup -n %name-%{version} +tar xvjf %SOURCE1 + +%build +./bootstrap.sh +%configure + + +%install +%{__install} -D -p -m 0755 dahdi.init %{buildroot}%{_initrddir}/dahdi +%{__install} -D -p -m 0755 dahdi %{buildroot}/etc/sysconfig/dahdi +make DESTDIR=%{buildroot} +%makeinstall DESTDIR=%{buildroot} +make config DESTDIR=%{buildroot} +%{__install} -D -p -m 0755 dahdi.init %{buildroot}%{_initrddir}/dahdi +%{__install} -D -p -m 0755 dahdi %{buildroot}/etc/sysconfig/dahdi + +%clean +rm -rf %buildroot + +%postun +%{?insserv_cleanup:%insserv_cleanup} +%{?run_ldconfig:%run_ldconfig} + +%preun +%{?stop_on_removal:%stop_on_removal dahdi} + + +%if %suse_version > 1020 +%files +%defattr(-,root,root,-) +/etc/dahdi/system.conf +/etc/hotplug/usb/xpp_fxloader +/etc/hotplug/usb/xpp_fxloader.usermap +/etc/init.d/dahdi +/etc/sysconfig/dahdi +/etc/dahdi/init.conf +/etc/dahdi/modules +/etc/modprobe.d/dahdi +/etc/modprobe.d/dahdi.blacklist +/usr/lib/perl5/site_perl/* +%{_sbindir}/dahdi_cfg +%{_sbindir}/dahdi_genconf +%{_sbindir}/dahdi_hardware +%{_sbindir}/dahdi_monitor +%{_sbindir}/dahdi_registration +%{_sbindir}/dahdi_scan +%{_sbindir}/dahdi_speed +%{_sbindir}/dahdi_test +%{_sbindir}/dahdi_tool +%{_sbindir}/fxotune +%{_sbindir}/lsdahdi +%{_sbindir}/xpp_blink +%{_sbindir}/xpp_sync +/usr/share/dahdi/xpp_fxloader +%{_mandir}/man8/dahdi_cfg.8.gz +%{_mandir}/man8/dahdi_genconf.8.gz +%{_mandir}/man8/dahdi_hardware.8.gz +%{_mandir}/man8/dahdi_monitor.8.gz +%{_mandir}/man8/dahdi_registration.8.gz +%{_mandir}/man8/dahdi_scan.8.gz +%{_mandir}/man8/dahdi_test.8.gz +%{_mandir}/man8/dahdi_tool.8.gz +%{_mandir}/man8/fxotune.8.gz +%{_mandir}/man8/lsdahdi.8.gz +%{_mandir}/man8/xpp_blink.8.gz +%{_mandir}/man8/xpp_sync.8.gz +%endif + +%if %suse_version <= 1020 +%files +%defattr(-,root,root,-) +/etc/dahdi/system.conf +/etc/hotplug/usb/xpp_fxloader +/etc/hotplug/usb/xpp_fxloader.usermap +/etc/init.d/dahdi +/etc/sysconfig/dahdi +/etc/dahdi/init.conf +/etc/dahdi/modules +/etc/modprobe.d/dahdi +/etc/modprobe.d/dahdi.blacklist +/usr/lib/perl5/site_perl/* +%{_sbindir}/dahdi_cfg +%{_sbindir}/dahdi_genconf +%{_sbindir}/dahdi_hardware +%{_sbindir}/dahdi_monitor +%{_sbindir}/dahdi_registration +%{_sbindir}/dahdi_scan +%{_sbindir}/dahdi_speed +%{_sbindir}/dahdi_test +%{_sbindir}/dahdi_tool +%{_sbindir}/fxotune +%{_sbindir}/lsdahdi +%{_sbindir}/xpp_blink +%{_sbindir}/xpp_sync +%{_sbindir}/sethdlc +/usr/share/dahdi/xpp_fxloader +%{_mandir}/man8/dahdi_cfg.8.gz +%{_mandir}/man8/dahdi_genconf.8.gz +%{_mandir}/man8/dahdi_hardware.8.gz +%{_mandir}/man8/dahdi_monitor.8.gz +%{_mandir}/man8/dahdi_registration.8.gz +%{_mandir}/man8/dahdi_scan.8.gz +%{_mandir}/man8/dahdi_test.8.gz +%{_mandir}/man8/dahdi_tool.8.gz +%{_mandir}/man8/fxotune.8.gz +%{_mandir}/man8/lsdahdi.8.gz +%{_mandir}/man8/xpp_blink.8.gz +%{_mandir}/man8/xpp_sync.8.gz +%endif + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libtonezone.a +%{_libdir}/libtonezone.so +%{_libdir}/libtonezone.so.1 +%{_libdir}/libtonezone.so.1.0 +%{_includedir}/dahdi/tonezone.h + +%changelog -n dahdi-tools +* Sat Oct 04 2008 - vittorio@vitsoft.bz +- dahdi-tools 2.0.0 +* Mon Sep 08 2008 - vittorio@vitsoft.bz +- dahdi-tools 2.0.0 rc2