]> git.pld-linux.org Git - packages/email2sms.git/blame - email2sms.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/email2sms.git] / email2sms.spec
CommitLineData
58380ee8 1Summary: An Email-to-SMS formatter
1b14d1ec 2Summary(pl.UTF-8): Formatowanie wiadomości Poczta->SMS
58380ee8
AM
3Name: email2sms
4Version: 0.1
5Release: 1
6License: GPL
7Group: Applications/Mail
8Source0: http://adamspiers.org/computing/%{name}/email2sms.tar.gz
188a390b 9# Source0-md5: c822bdc3a3af7fd44529189bf1e3ac26
58380ee8 10URL: http://adamspiers.org/computing/email2sms/
004e6cf9 11BuildRequires: perl-base
58380ee8 12BuildRequires: perl-Lingua-EN-Squeeze
bdc5e594 13Requires: perl-MIME-tools
58380ee8
AM
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18email2sms is a filter written in Perl which converts an e-mail into a
19form suitable for sending as an SMS message. Its main advantage over
20the alternatives is that it uses the CPAN module Lingua::EN::Squeeze
21to compress the text down to as little as 40% of its original size, so
22you can get much more of your e-mail into the 160 character limit
23imposed by SMS. It is fully MIME compatible, and has many configurable
24options, including removal of quoted text. Ideal for use with
25procmail. A Perl script for sending the output to a typical e-mail to
26SMS web gateway is included.
27
ae406117
JR
28%description -l pl.UTF-8
29email2sms to napisany w Perlu filtr konwertujący listy elektroniczne
30do postaci nadającej się do wysyłania jako wiadomość SMS. Główną
31zaletą nad innymi programami tego typu jest to, że używa modułu CPAN
32Lingua::EN::Squeeze, aby skompresować tekst do około 40% oryginalnego
33rozmiaru, co pozwala zmieścić więcej w ograniczeniu do 160 znaków.
34Program jest w pełni kompatybilny z MIME i ma wiele opcji, włącznie z
35usuwaniem cytowanego tekstu. Idealny do używania z procmailem.
36Załączony jest skrypt perlowy do wysyłania wyjścia przez typową
37bramkę e-mail-SMS.
51fc12fa 38
58380ee8
AM
39%prep
40%setup -q -c
41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -d $RPM_BUILD_ROOT%{_bindir}
45install email2sms $RPM_BUILD_ROOT%{_bindir}
46
47%clean
48rm -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.078321 seconds and 4 git commands to generate.