SPECS: iaxmodem.spec (NEW) - from ALT Linux, adapterized for PLD, ...

marcus marcus at pld-linux.org
Thu Sep 27 10:44:31 CEST 2007


Author: marcus                       Date: Thu Sep 27 08:44:31 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- from ALT Linux, adapterized for PLD, need work

---- Files affected:
SPECS:
   iaxmodem.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/iaxmodem.spec
diff -u /dev/null SPECS/iaxmodem.spec:1.1
--- /dev/null	Thu Sep 27 10:44:31 2007
+++ SPECS/iaxmodem.spec	Thu Sep 27 10:44:26 2007
@@ -0,0 +1,114 @@
+# $Revision$, $Date$
+Name:		iaxmodem
+Version:	0.3.1
+Release:	1
+Summary:	IAX software fax modem
+Summary(pl):	Programowy faxmodem komunikuj±cy siê za pomoc± protoko³u IAX
+License:	GPL
+Group:          Applications/System
+URL:		http://iaxmodem.sourceforge.net
+
+Source0:	http://downloads.sourceforge.net/iaxmodem/%{name}-%{version}.tar.gz
+# Source0-md5:	de2d1ca6ed6e864ad50f92dfa0933772
+Source2:	%{name}.init
+Source3:	%{name}-sysconfig
+Source4:	%{name}.ttyIAX
+
+Patch0:		%{name}.as-needed.patch
+
+BuildRequires:	automake
+BuildRequires:	autoconf
+BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+IAXmodem is a software modem written in C that uses an IAX channel (commonly provided by an Asterisk PBX system) 
+instead of a traditional phone line and uses a DSP library instead of DSP hardware chipsets. 
+
+%description -l pl
+IAXmodem jest programowym faxmodemem, napisanym w jêzyku C, który u¿ywa protoko³u IAX (zwykle udostêpnianego
+przez centralê Asterisk) i bibliotekê DSP zamiast sprzêtowych chipsetów DSP
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+./build static
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d  ${RPM_BUILD_ROOT}%{_sbindir} \
+    	    ${RPM_BUILD_ROOT}/etc/{rc.d/init.d,%{name},sysconfig} \
+    	    ${RPM_BUILD_ROOT}%{_mandir}/man1 \
+	    ${RPM_BUILD_ROOT}/var/log/%{name}
+
+install %{name}    $RPM_BUILD_ROOT/%{_sbindir}
+install %{name}.1  $RPM_BUILD_ROOT/%{_mandir}/man1/
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
+install %{SOURCE4} $RPM_BUILD_ROOT/etc/%{name}/ttyIAX
+
+touch $RPM_BUILD_ROOT/var/log/%{name}/%{name}
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/*
+%{_mandir}/man1/*
+/etc/rc.d/init.d/%{name}
+%config(noreplace) %{_sysconfdir}/%name/*
+/etc/sysconfig/%{name}
+%dir /var/log/%{name}
+%dir /etc/%{name}
+%doc TODO README FAQ CHANGES *.ttyIAX
+
+%ghost /var/log/%{name}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/09/27 08:44:26  marcus
+- from ALT Linux, adapterized for PLD, need work
+
+* Mon Jun 11 2007 Denis Smirnov <mithraen at altlinux.ru> 0.3.0-alt1
+- skip non-regular files in /etc/iaxmodem (Julien BLACHE)
+- take caution against bad refresh negotiations from the server
+- update spandsp to snapshot 20070502 (adds V.17 rx support)
+- improve the ability to detect quiet signalling (spandsp: fsk min_power)
+- improve the sensitivity to carrier loss (spandsp: power_meter)
+- improve tcflushing when getty not reading pty and buffer fills,  prevents
+  fast looping when buffer is filled
+
+* Wed Apr 18 2007 Denis Smirnov <mithraen at altlinux.ru> 0.2.1-alt1
+- upstream update 0.2.0->0.2.1
+
+* Tue Feb 20 2007 Denis Smirnov <mithraen at altlinux.ru> 0.2.0-alt1
+- upstream update 0.1.14->0.2.0
+
+* Thu Jan 11 2007 Denis Smirnov <mithraen at altlinux.ru> 0.1.14-alt5
+- LSB initscript
+- start after Asterisk if installed
+- do not requires bash for initscript
+
+* Fri Oct 27 2006 Denis Smirnov <mithraen at altlinux.ru> 0.1.14-alt4
+- update initscript (thanks to Ivan Kurbanov)
+- add sysconfig (thanks to Ivan Kurbanov)
+- patch for creating pidfile in /var/run/iaxmodem/
+- add log dir for iaxmodem
+- add default config (thanks to Ivan Kurbanov)
+
+* Wed Oct 25 2006 Denis Smirnov <mithraen at altlinux.ru> 0.1.14-alt3
+- create log dir
+
+* Wed Oct 25 2006 Denis Smirnov <mithraen at altlinux.ru> 0.1.14-alt2
+- fix requires
+- add initscript
+
+* Tue Oct 24 2006 Denis Smirnov <mithraen at altlinux.ru> 0.1.14-alt1
+- first build for Sisyphus
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
================================================================


More information about the pld-cvs-commit mailing list