1 Summary: An Email-to-SMS formatter
2 Summary(pl.UTF-8): Formatowanie wiadomości Poczta->SMS
7 Group: Applications/Mail
8 Source0: http://adamspiers.org/computing/%{name}/email2sms.tar.gz
9 # Source0-md5: c822bdc3a3af7fd44529189bf1e3ac26
10 URL: http://adamspiers.org/computing/email2sms/
11 BuildRequires: perl-base
12 BuildRequires: perl-Lingua-EN-Squeeze
13 Requires: perl-MIME-tools
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 email2sms is a filter written in Perl which converts an e-mail into a
19 form suitable for sending as an SMS message. Its main advantage over
20 the alternatives is that it uses the CPAN module Lingua::EN::Squeeze
21 to compress the text down to as little as 40% of its original size, so
22 you can get much more of your e-mail into the 160 character limit
23 imposed by SMS. It is fully MIME compatible, and has many configurable
24 options, including removal of quoted text. Ideal for use with
25 procmail. A Perl script for sending the output to a typical e-mail to
26 SMS web gateway is included.
28 %description -l pl.UTF-8
29 email2sms to napisany w Perlu filtr konwertujący listy elektroniczne
30 do postaci nadającej się do wysyłania jako wiadomość SMS. Główną
31 zaletą nad innymi programami tego typu jest to, że używa modułu CPAN
32 Lingua::EN::Squeeze, aby skompresować tekst do około 40% oryginalnego
33 rozmiaru, co pozwala zmieścić więcej w ograniczeniu do 160 znaków.
34 Program jest w pełni kompatybilny z MIME i ma wiele opcji, włącznie z
35 usuwaniem cytowanego tekstu. Idealny do używania z procmailem.
36 Załączony jest skrypt perlowy do wysyłania wyjścia przez typową
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_bindir}
45 install email2sms $RPM_BUILD_ROOT%{_bindir}
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc AUTHORS ChangeLog *.html sample*
53 %attr(755,root,root) %{_bindir}/*