Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37497936
en ru br
ALT Linux repos
S:2.1.48-alt1
5.0: 2.1.23-alt1
4.1: 2.1.23-alt1
4.0: 2.1.23-alt1
3.0: 2.1.12-alt1

Group :: System/Configuration/Networking
RPM: mailcap

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: mailcap
Version: 2.1.48
Release: alt1

Summary: Associates helper applications with particular file types
License: Public domain and MIT
Group: System/Configuration/Networking

# https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz

Source: %name-%version.tar.gz
Patch: %name-2.1.46-alt.patch
Packager: Michael Shigorin <mike at altlinux.org>

BuildRequires: perl
BuildArch: noarch

%description
The mailcap file is used by the metamail program.  Metamail reads the
mailcap file to determine how it should display non-text or multimedia
material.  Basically, mailcap associates a particular type of file
with a particular program that a mail agent or other program can call
in order to handle the file.

Mailcap should be installed to allow certain programs to be able to
handle non-text files.

%prep
%setup
%patch -p1

%build

%install
mkdir -p %buildroot{%_sysconfdir,%_man4dir}
install -pm644 mailcap mime.types %buildroot%_sysconfdir
install -pm644 mailcap.4 %buildroot%_man4dir

%check
make check

%files
%config(noreplace) %_sysconfdir/*
%doc NEWS
%_man4dir/*

# TODO

# - add nginx-mimetypes?

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin