]>
Commit | Line | Data |
---|---|---|
58380ee8 | 1 | Summary: An Email-to-SMS formatter |
1b14d1ec | 2 | Summary(pl.UTF-8): Formatowanie wiadomości Poczta->SMS |
58380ee8 AM |
3 | Name: email2sms |
4 | Version: 0.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Mail | |
8 | Source0: http://adamspiers.org/computing/%{name}/email2sms.tar.gz | |
188a390b | 9 | # Source0-md5: c822bdc3a3af7fd44529189bf1e3ac26 |
58380ee8 | 10 | URL: http://adamspiers.org/computing/email2sms/ |
004e6cf9 | 11 | BuildRequires: perl-base |
58380ee8 | 12 | BuildRequires: perl-Lingua-EN-Squeeze |
bdc5e594 | 13 | Requires: perl-MIME-tools |
58380ee8 AM |
14 | BuildArch: noarch |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
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. | |
27 | ||
ae406117 JR |
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ą | |
37 | bramkę e-mail-SMS. | |
51fc12fa | 38 | |
58380ee8 AM |
39 | %prep |
40 | %setup -q -c | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | install -d $RPM_BUILD_ROOT%{_bindir} | |
45 | install email2sms $RPM_BUILD_ROOT%{_bindir} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc AUTHORS ChangeLog *.html sample* | |
53 | %attr(755,root,root) %{_bindir}/* |