]>
Commit | Line | Data |
---|---|---|
6029f997 | 1 | Summary: alterMIME is a small program which is used to alter mime-encoded mailpacks |
2 | Name: altermime | |
3 | Version: 0.3.6 | |
4 | Release: 1 | |
5 | License: BSD | |
6 | Group: Networking/Utilities | |
7 | Source0: http://pldaniels.com/altermime/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: a9dc3962b00e4a6d6f3b93f10858bd35 | |
9 | URL: http://www.pldaniels.com/altermime/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | alterMIME is a small program which is used to alter your mime-encoded | |
14 | mailpacks as typically received by Inflex, Xamime and AMaViS. | |
15 | ||
16 | What can alterMIME do? | |
17 | - Insert disclaimers | |
18 | - Insert arbitary X-headers | |
19 | - Modify existing headers | |
20 | - Remove attachments based on filename or content-type | |
21 | - Replace attachments based on filename | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | ||
26 | %build | |
27 | %{__make} \ | |
28 | CC="%{__cc}" \ | |
29 | CFLAGS="%{rpmcflags}" | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT%{_bindir} | |
34 | ||
35 | install altermime $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc CHANGELOG README LICENCE | |
43 | %attr(755,root,root) %{_bindir}/* |