]> git.pld-linux.org Git - SPECS.git/blob - email2sms.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / email2sms.spec
1 Summary:        An Email-to-SMS formatter
2 Summary(pl.UTF-8):      Formatowanie wiadomości Poczta->SMS
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
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
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
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.
38
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}/*
This page took 1.541707 seconds and 3 git commands to generate.