]> git.pld-linux.org Git - packages/email2sms.git/blob - email2sms.spec
- BR: s/perl/perl-base/
[packages/email2sms.git] / email2sms.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        An Email-to-SMS formatter
3 Summary(pl):    Formatowanie wiadomo¶ci Poczta->SMS
4 Name:           email2sms
5 Version:        0.1
6 Release:        1
7 License:        GPL
8 Group:          Applications/Mail
9 Source0:        http://adamspiers.org/computing/%{name}/email2sms.tar.gz
10 # Source0-md5:  c822bdc3a3af7fd44529189bf1e3ac26
11 URL:            http://adamspiers.org/computing/email2sms/
12 BuildRequires:  perl-base
13 BuildRequires:  perl-Lingua-EN-Squeeze
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
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 0.075266 seconds and 3 git commands to generate.