2019-09-30 11:03:15 -04:00
|
|
|
Name: mailcap
|
2020-07-28 22:41:33 +08:00
|
|
|
Version: 2.1.49
|
|
|
|
|
Release: 1
|
2019-09-30 11:03:15 -04:00
|
|
|
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
|
|
|
|
|
|
2019-12-25 15:57:57 +08:00
|
|
|
Provides: nginx-mimetypes
|
|
|
|
|
Obsoletes: nginx-mimetypes
|
|
|
|
|
|
2019-09-30 11:03:15 -04:00
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
%files help
|
2020-07-28 22:41:33 +08:00
|
|
|
%{_mandir}/man5/mailcap.*
|
2020-07-09 10:49:35 +08:00
|
|
|
%config(noreplace) %{_sysconfdir}/nginx/mime.types
|
2019-09-30 11:03:15 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2020-07-28 22:41:33 +08:00
|
|
|
* Thu Jul 28 2020 wenzhanli<wenzhanli2@huawei.com> - 2.1.49-1
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update version 2.1.49
|
|
|
|
|
|
2020-07-09 10:49:35 +08:00
|
|
|
* Thu Jul 9 2020 wangye <wangye70@huawei.com> - 2.1.48-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:move mime.types to help
|
|
|
|
|
|
2019-12-25 15:57:57 +08:00
|
|
|
* Mon Dec 23 2019 chengquan <chengquan3@huawei.com> - 2.1.48-6
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:transfer nginx function into main package
|
|
|
|
|
|
2019-09-30 11:03:15 -04:00
|
|
|
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.1.48-5
|
|
|
|
|
- Package init
|