commit b2a8ad94b46c2564bbfee5783be570dda5eeab36 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:03:15 2019 -0400 Package init diff --git a/mailcap-2.1.48.tar.xz b/mailcap-2.1.48.tar.xz new file mode 100644 index 0000000..597932f Binary files /dev/null and b/mailcap-2.1.48.tar.xz differ diff --git a/mailcap.spec b/mailcap.spec new file mode 100644 index 0000000..4757194 --- /dev/null +++ b/mailcap.spec @@ -0,0 +1,56 @@ +Name: mailcap +Version: 2.1.48 +Release: 5 +Summary: Configuration tool for MIME-aware applications +License: Public Domain and MIT +URL: https://pagure.io/mailcap +Source0: https://pagure.io/releases/mailcap/%{name}-%{version}.tar.xz + +BuildRequires: perl-interpreter +BuildArch: noarch + +%description +Mailcap files are used to configure how MIME-aware applications such as +mail readers and Web browsers react to files with different MIME types. +(The name “mailcap” is derived from the phrase “mail capability”.) For example, +a mailcap file might contain a line like video/mpeg; xmpeg %s. Then, if the +user encounters an email message or Web document with the MIME type video/mpeg, +%s will be replaced by a filename (usually one belonging to a temporary file) and +the xmpeg program can be automatically started to view the file. + +%package_help + +%prep +%autosetup + +%build +%make_build + +%install +%make_install + +%check +make check + +%pre + +%preun + +%post + +%postun + +%files +%defattr(-,root,root) +%doc NEWS +%license COPYING +%config(noreplace) %{_sysconfdir}/mailcap +%config(noreplace) %{_sysconfdir}/mime.types +%config(noreplace) %{_sysconfdir}/nginx/mime.types + +%files help +%{_mandir}/man4/mailcap.* + +%changelog +* Thu Aug 29 2019 openEuler Buildteam - 2.1.48-5 +- Package init