1 |
Summary: Helper application and MIME type associations for file types |
2 |
Name: mailcap |
3 |
Version: 2.1.42 |
4 |
Release: %mkrel 1 |
5 |
License: Public Domain and MIT |
6 |
Group: System Environment/Base |
7 |
Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz |
8 |
Patch0: mailcap-2.1.42-mga-mailcap-modifications.patch |
9 |
BuildArch: noarch |
10 |
|
11 |
%description |
12 |
The mailcap file is used by the metamail program. Metamail reads the |
13 |
mailcap file to determine how it should display non-text or multimedia |
14 |
material. Basically, mailcap associates a particular type of file |
15 |
with a particular program that a mail agent or other program can call |
16 |
in order to handle the file. |
17 |
|
18 |
Mailcap should be installed to allow certain programs to be able to |
19 |
handle non-text files. |
20 |
|
21 |
Also included in this package is the mime.types file which contains a |
22 |
list of MIME types and their filename "extension" associations, used |
23 |
by several applications e.g. to determine MIME types for filenames. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
|
28 |
%apply_patches |
29 |
|
30 |
%install |
31 |
%makeinstall |
32 |
|
33 |
|
34 |
%files |
35 |
%config(noreplace) %{_sysconfdir}/mailcap |
36 |
%config(noreplace) %{_sysconfdir}/mime.types |
37 |
%{_mandir}/man4/* |