]> git.pld-linux.org Git - packages/email2sms.git/blob - email2sms.spec
- initial pld release
[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 URL:            http://adamspiers.org/computing/email2sms/
11 BuildRequires:  perl
12 BuildRequires:  perl-Lingua-EN-Squeeze
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 email2sms is a filter written in Perl which converts an e-mail into a
18 form suitable for sending as an SMS message. Its main advantage over
19 the alternatives is that it uses the CPAN module Lingua::EN::Squeeze
20 to compress the text down to as little as 40% of its original size, so
21 you can get much more of your e-mail into the 160 character limit
22 imposed by SMS. It is fully MIME compatible, and has many configurable
23 options, including removal of quoted text. Ideal for use with
24 procmail. A Perl script for sending the output to a typical e-mail to
25 SMS web gateway is included.
26
27 %prep
28 %setup -q -c
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_bindir}
33 install email2sms $RPM_BUILD_ROOT%{_bindir}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc AUTHORS ChangeLog *.html sample*
41 %attr(755,root,root) %{_bindir}/*
This page took 0.065128 seconds and 3 git commands to generate.