]> git.pld-linux.org Git - packages/email2sms.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 2 Dec 2002 15:57:05 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    email2sms.spec -> 1.1

email2sms.spec [new file with mode: 0644]

diff --git a/email2sms.spec b/email2sms.spec
new file mode 100644 (file)
index 0000000..4918e7b
--- /dev/null
@@ -0,0 +1,41 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       An Email-to-SMS formatter
+Summary(pl):   Formatowanie wiadomo¶ci Poczta->SMS
+Name:          email2sms
+Version:       0.1
+Release:       1
+License:       GPL
+Group:         Applications/Mail
+Source0:       http://adamspiers.org/computing/%{name}/email2sms.tar.gz
+URL:           http://adamspiers.org/computing/email2sms/
+BuildRequires: perl
+BuildRequires: perl-Lingua-EN-Squeeze
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+email2sms is a filter written in Perl which converts an e-mail into a
+form suitable for sending as an SMS message. Its main advantage over
+the alternatives is that it uses the CPAN module Lingua::EN::Squeeze
+to compress the text down to as little as 40% of its original size, so
+you can get much more of your e-mail into the 160 character limit
+imposed by SMS. It is fully MIME compatible, and has many configurable
+options, including removal of quoted text. Ideal for use with
+procmail. A Perl script for sending the output to a typical e-mail to
+SMS web gateway is included.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install email2sms $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog *.html sample*
+%attr(755,root,root) %{_bindir}/*
This page took 0.070507 seconds and 4 git commands to generate.