SPECS: iaxmodem.spec - convert to utf8, cleanup, adapter

glen glen at pld-linux.org
Mon Dec 31 12:08:37 CET 2007


Author: glen                         Date: Mon Dec 31 11:08:37 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- convert to utf8, cleanup, adapter

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

---- Diffs:

================================================================
Index: SPECS/iaxmodem.spec
diff -u SPECS/iaxmodem.spec:1.1 SPECS/iaxmodem.spec:1.2
--- SPECS/iaxmodem.spec:1.1	Thu Sep 27 10:44:26 2007
+++ SPECS/iaxmodem.spec	Mon Dec 31 12:08:32 2007
@@ -1,32 +1,31 @@
 # $Revision$, $Date$
+Summary:	IAX software fax modem
+Summary(pl.UTF-8):	Programowy faxmodem komunikujący się za pomocą protokołu IAX
 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
+Group:		Applications/System
 URL:		http://iaxmodem.sourceforge.net
-
-Source0:	http://downloads.sourceforge.net/iaxmodem/%{name}-%{version}.tar.gz
+Source0:	http://dl.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)
+BuildRequires:	automake
+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
+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.UTF-8
+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
@@ -37,30 +36,31 @@
 
 %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 -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 %{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
-
+install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/ttyIAX
 touch $RPM_BUILD_ROOT/var/log/%{name}/%{name}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %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}
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%config(noreplace) %{_sysconfdir}/%{name}/*
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %dir /var/log/%{name}
-%dir /etc/%{name}
+%dir %{_sysconfdir}/%{name}
 %doc TODO README FAQ CHANGES *.ttyIAX
-
 %ghost /var/log/%{name}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -69,46 +69,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007-12-31 11:08:32  glen
+- convert to utf8, cleanup, adapter
+
 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iaxmodem.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list