-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathemail.spec
85 lines (65 loc) · 2.6 KB
/
email.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Summary: A command line SMTP client that's simple
Name: email
Version: 3.2.3
Release: 2%{?dist}
License: GPL
Group: Applications/Text
URL: https://github.com/deanproxy/eMail
Source0: https://github.com/deanproxy/eMail/archive/%{version}.zip
# dlib version tag
%global dlibtag 1.0
Source1: https://github.com/deanproxy/dlib/archive/%{dlibtag}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: binutils, gcc, make, autoconf, automake
BuildRequires: glibc-devel
BuildRequires: openssl-devel
Requires: gnupg
Provides: %{_bindir}/email
%description
Email is a program for the Unix environment that sends messages. You may think
that this has already been done, and it has, but not with the quality and
enhancements that email has! Have you ever wanted to send email from the
command line using your SMTP server instead of sendmail? Have you ever wanted
to send email without entering a confusing menu application and you only wanted
to push a few command line options to route your email to the SMTP server of
your choice? Did you want to encrypt that email with gpg before it was sent but
wanted the email client to do it for you? If you answered yes to all of these
questions, then email is for you. You can now send email via the command line
to remote SMTP servers. You can have it encrypted to the recipient of your
choice. This and many other possibilities are easily implemented with email.
Email boasts a lot of other qualities as well.
* Email supports SMTP Authentication.
* Email makes it possible to send to multiple recipients and also CC and
BCC multiple recipients.
* You can use an address book that is in an easy to format method.
* You are also able to send attachments using a swift flick on the command
line to specifying multiple files.
* Personalized signature file with dynamic options.
%prep
%setup -q -n eMail-%{version} -a 1
rmdir dlib
mv -f dlib-%{dlibtag} dlib
echo %{version} > VERSION
%build
export CFLAGS="%{optflags} -I../include -I../dlib/include"
export LDFLAGS="-L../dlib"
%configure
%{__make} %{?_smp_mflags}
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc COPYING ChangeLog README.md THANKS AUTHORS
%doc %{_mandir}/man?/*
%{_bindir}/*
%dir %{_sysconfdir}/email/
%config(noreplace) %{_sysconfdir}/email/*
%changelog
* Mon Aug 29 2016 Igor Velkov <[email protected]> - 3.2.3-2
- Roll up to upstream
* Fri Nov 27 2009 Steve Huff <[email protected]> - 3.1.2-2
- Entered the correct project URL.
* Thu Nov 19 2009 Steve Huff <[email protected]> - 3.1.2-1
- Initial package.