bb1e5b
Name:           mailcap
bb1e5b
Version:        2.1.48
bb1e5b
Release:        3%{?dist}
bb1e5b
Summary:        Helper application and MIME type associations for file types
bb1e5b
bb1e5b
License:        Public Domain and MIT
bb1e5b
URL:            https://pagure.io/mailcap
bb1e5b
Source0:        https://pagure.io/releases/mailcap/%{name}-%{version}.tar.xz
bb1e5b
BuildRequires:  perl-interpreter
bb1e5b
BuildArch:      noarch
bb1e5b
bb1e5b
%description
bb1e5b
The mailcap file is used by the metamail program.  Metamail reads the
bb1e5b
mailcap file to determine how it should display non-text or multimedia
bb1e5b
material.  Basically, mailcap associates a particular type of file
bb1e5b
with a particular program that a mail agent or other program can call
bb1e5b
in order to handle the file.  Mailcap should be installed to allow
bb1e5b
certain programs to be able to handle non-text files.
bb1e5b
bb1e5b
Also included in this package is the mime.types file which contains a
bb1e5b
list of MIME types and their filename "extension" associations, used
bb1e5b
by several applications e.g. to determine MIME types for filenames.
bb1e5b
bb1e5b
%package     -n nginx-mimetypes
bb1e5b
Summary:        MIME type mappings for nginx
bb1e5b
License:        Public Domain
bb1e5b
Requires:       nginx-filesystem
bb1e5b
bb1e5b
%description -n nginx-mimetypes
bb1e5b
MIME type mappings for nginx.
bb1e5b
bb1e5b
bb1e5b
%prep
bb1e5b
%setup -q
bb1e5b
bb1e5b
bb1e5b
%build
bb1e5b
%make_build
bb1e5b
bb1e5b
bb1e5b
%install
bb1e5b
rm -rf $RPM_BUILD_ROOT
bb1e5b
%make_install sysconfdir=%{_sysconfdir} mandir=%{_mandir}
bb1e5b
bb1e5b
bb1e5b
%check
bb1e5b
make check
bb1e5b
bb1e5b
bb1e5b
%files
bb1e5b
%license COPYING
bb1e5b
%doc NEWS
bb1e5b
%config(noreplace) %{_sysconfdir}/mailcap
bb1e5b
%config(noreplace) %{_sysconfdir}/mime.types
bb1e5b
%{_mandir}/man4/mailcap.*
bb1e5b
bb1e5b
%files -n nginx-mimetypes
bb1e5b
%license COPYING
bb1e5b
%doc NEWS
bb1e5b
%config(noreplace) %{_sysconfdir}/nginx/mime.types
bb1e5b
bb1e5b
bb1e5b
%changelog
bb1e5b
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-3
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bb1e5b
bb1e5b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.48-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bb1e5b
bb1e5b
* Thu May 11 2017 Ville Skyttä <ville.skytta@iki.fi> - 2.1.48-1
bb1e5b
- Update to 2.1.48
bb1e5b
bb1e5b
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.47-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bb1e5b
bb1e5b
* Tue Nov  1 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.1.47-1
bb1e5b
- Update to 2.1.47
bb1e5b
bb1e5b
* Thu Jul 28 2016 Miroslav Lichvar <mlichvar@redhat.com> - 2.1.46-2
bb1e5b
- Add build requirement for perl
bb1e5b
bb1e5b
* Sun May 29 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.1.46-1
bb1e5b
- Update to 2.1.46
bb1e5b
bb1e5b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.45-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bb1e5b
bb1e5b
* Fri Sep 25 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.1.45-1
bb1e5b
- Update to 2.1.45
bb1e5b
- Output nginx-mimetypes subpackage
bb1e5b
bb1e5b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.44-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bb1e5b
bb1e5b
* Mon Apr 27 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.1.44-1
bb1e5b
- Update to 2.1.44
bb1e5b
bb1e5b
* Tue Oct 14 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.1.43-1
bb1e5b
- Update to 2.1.43
bb1e5b
- Mark COPYING as %%license
bb1e5b
bb1e5b
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.42-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bb1e5b
bb1e5b
* Sat Oct  5 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.1.42-1
bb1e5b
- Update to 2.1.42.
bb1e5b
bb1e5b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.41-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bb1e5b
bb1e5b
* Tue May 14 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.1.41-1
bb1e5b
- Update to 2.1.41.
bb1e5b
- Fix bogus dates in %%changelog.
bb1e5b
bb1e5b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.40-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bb1e5b
bb1e5b
* Sun Aug  5 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.1.40-1
bb1e5b
- Update to 2.1.40.
bb1e5b
bb1e5b
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.39-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bb1e5b
bb1e5b
* Mon Feb 20 2012 Ville Skyttä <ville.skytta@iki.fi> - 2.1.39-1
bb1e5b
- Update to 2.1.39.
bb1e5b
bb1e5b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.38-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bb1e5b
bb1e5b
* Tue Aug 16 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.38-1
bb1e5b
- Update to 2.1.38.
bb1e5b
bb1e5b
* Tue Mar 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.37-1
bb1e5b
- Update to 2.1.37.
bb1e5b
bb1e5b
* Tue Feb 22 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.36-1
bb1e5b
- Update to 2.1.36.
bb1e5b
bb1e5b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.35-3
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bb1e5b
bb1e5b
* Thu Dec  2 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.35-2
bb1e5b
- Fix URL tag (#659210, Matt McCutchen).
bb1e5b
bb1e5b
* Wed Oct 13 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.35-1
bb1e5b
- Update to 2.1.35.
bb1e5b
bb1e5b
* Tue Aug 24 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.34-1
bb1e5b
- Update to 2.1.34.
bb1e5b
bb1e5b
* Sat Jul  3 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.33-1
bb1e5b
- Update to 2.1.33, fixes #604924.
bb1e5b
bb1e5b
* Fri Mar 19 2010 Ville Skyttä <ville.skytta@iki.fi> - 2.1.32-1
bb1e5b
- Update to 2.1.32, fixes #546116.
bb1e5b
bb1e5b
* Tue Nov 17 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.1.31-1
bb1e5b
- Update to 2.1.31, fixes #529584.
bb1e5b
bb1e5b
* Sat Sep 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.1.30-1
bb1e5b
- Update to 2.1.30, see NEWS for details.
bb1e5b
- Improve summary and description.
bb1e5b
- Add MIT to License: for mailcap.4 man page.
bb1e5b
- Specfile cleanup.
bb1e5b
bb1e5b
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.29-3
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bb1e5b
bb1e5b
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.29-2
bb1e5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bb1e5b
bb1e5b
* Mon Dec 15 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.29-1
bb1e5b
- update mime.types (Ville Skyttä) (#476455)
bb1e5b
bb1e5b
* Fri Feb 15 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.28-1
bb1e5b
- add new entries from perl-libwww-perl's media.types
bb1e5b
  (Ville Skyttä) (#432290)
bb1e5b
bb1e5b
* Thu Feb 07 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.27-1
bb1e5b
- associate *.ent with text/xml-external-parsed-entity
bb1e5b
  (Ville Skyttä) (#431722)
bb1e5b
bb1e5b
* Tue Jan 22 2008 Miroslav Lichvar <mlichvar@redhat.com> 2.1.26-1
bb1e5b
- use xdg-open (Ville Skyttä) (#388481)
bb1e5b
- spec cleanup (#226116)
bb1e5b
bb1e5b
* Tue Jul 10 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.1.25-1
bb1e5b
- add image/vnd.microsoft.icon to mime.types (#247222)
bb1e5b
bb1e5b
* Mon Jun 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 2.1.24-1
bb1e5b
- add text/x-vcard to mime.types (#243889)
bb1e5b
- mark configs noreplace, cleanup spec a bit
bb1e5b
bb1e5b
* Tue Sep 05 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.23-1
bb1e5b
- add video/x-flv to mime.types (#205239)
bb1e5b
bb1e5b
* Mon Aug 07 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.22-1
bb1e5b
- add java/mobile mime types (#201512 <ville.skytta@iki.fi>)
bb1e5b
bb1e5b
* Tue Jul 18 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.21-1
bb1e5b
- add audio and video x-ms mime types (#197840)
bb1e5b
bb1e5b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.20-1.1
bb1e5b
- rebuild
bb1e5b
bb1e5b
* Mon Feb 13 2006 Miroslav Lichvar <mlichvar@redhat.com> 2.1.20-1
bb1e5b
- add OpenOffice.org 2.0 mime types (#173789)
bb1e5b
bb1e5b
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
bb1e5b
- rebuilt
bb1e5b
bb1e5b
* Mon Mar  7 2005 Bill Nottingham <notting@redhat.com> 2.1.19-1
bb1e5b
- s/ggv/evince/ (#150509)
bb1e5b
bb1e5b
* Fri Jan 21 2005 Bill Nottingham <notting@redhat.com> 2.1.18-1
bb1e5b
- add iso, img to octet-stream (#142459 <ville.skytta@iki.fi>)
bb1e5b
bb1e5b
* Mon Oct 11 2004 Bill Nottingham <notting@redhat.com> 2.1.17-1
bb1e5b
- pdfs -> back to ggv
bb1e5b
bb1e5b
* Thu Sep 23 2004 Bill Nottingham <notting@redhat.com> 2.1.16-1
bb1e5b
- eog -> gthumb
bb1e5b
- pdfs -> gpdf
bb1e5b
bb1e5b
* Mon May  3 2004 Bill Nottingham <notting@redhat.com> 2.1.15-1
bb1e5b
- xpdf/gv -> ggv (#118401)
bb1e5b
- add application/x-bittorrent (#118752)
bb1e5b
bb1e5b
* Fri Jul 11 2003 Bill Nottingham <notting@redhat.com> 2.1.14-1
bb1e5b
- add application/ogg and OpenOffice.org mime.types
bb1e5b
bb1e5b
* Fri Feb  7 2003 Bill Nottingham <notting@redhat.com> 2.1.13-1
bb1e5b
- resync mime.types with apache
bb1e5b
- clean out mailcap some
bb1e5b
bb1e5b
* Tue Sep  3 2002 Bill Nottingham <notting@redhat.com> 2.1.12-1
bb1e5b
- add application/x-ogg to mime.types
bb1e5b
bb1e5b
* Fri Jul 19 2002 Jens Petersen <petersen@redhat.com> 2.1.11-1
bb1e5b
- use eog instead of ee
bb1e5b
bb1e5b
* Tue Jun 18 2002 Nalin Dahyabhai <nalin@redhat.com> 2.1.10-1
bb1e5b
- resync mime.types with apache 1.3.26
bb1e5b
bb1e5b
* Mon Dec 24 2001 Bill Nottingham <notting@rehdat.com> 2.1.9-1
bb1e5b
- fix Sep. 17 changes (#57362)
bb1e5b
bb1e5b
* Tue Oct 23 2001 Nalin Dahyabhai <nalin@redhat.com> 2.1.8-1
bb1e5b
- resync mime.types with apache 1.3.22
bb1e5b
bb1e5b
* Mon Sep 17 2001 Bill Nottingham <notting@redhat.com> 2.1.7-1
bb1e5b
- associate PS files with gv (#53734)
bb1e5b
bb1e5b
* Fri Aug 10 2001 Bill Nottingham <notting@redhat.com>
bb1e5b
- switch gtv & xanim order (#51408)
bb1e5b
bb1e5b
* Tue Jul 17 2001 Bill Nottingham <notting@redhat.com>
bb1e5b
- use htmlview for text/html (#48141)
bb1e5b
bb1e5b
* Wed Mar 21 2001 Tim Waugh <twaugh@redhat.com> 2.1.4-2
bb1e5b
- Use gtv not xanim for video/mpeg, since we no longer ship the codecs.
bb1e5b
bb1e5b
* Thu Jan 18 2001 Bill Nottingham <notting@redhat.com>
bb1e5b
- use gpg, not pgp (#13816, others)
bb1e5b
bb1e5b
* Sat Jan  6 2001 Bill Nottingham <notting@redhat.com>
bb1e5b
- fix typo (#23409)
bb1e5b
bb1e5b
* Thu Dec 28 2000 Bill Nottingham <notting@redhat.com>
bb1e5b
- reintegrate stuff into the package so it doesn't get lost 
bb1e5b
bb1e5b
* Thu Dec 28 2000 Than Ngo <than@redhat.com>
bb1e5b
- add ms(TM) word document entry (Bug #17474)
bb1e5b
- bzip2 sources
bb1e5b
bb1e5b
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
bb1e5b
- add wap entries
bb1e5b
bb1e5b
* Fri Jun  9 2000 Bill Nottingham <notting@redhat.com>
bb1e5b
- remove mailcap.vga
bb1e5b
bb1e5b
* Thu Feb  3 2000 Bill Nottingham <notting@redhat.com>
bb1e5b
- handle compressed man pages
bb1e5b
bb1e5b
* Tue Jan 18 2000 Bill Nottingham <notting@redhat.com>
bb1e5b
- add .bz2
bb1e5b
bb1e5b
* Thu Jan 13 2000 Bill Nottingham <notting@redhat.com>
bb1e5b
- add tgz/gz to gzip
bb1e5b
bb1e5b
* Wed Jun 16 1999 Bill Nottingham <notting@redhat.com>
bb1e5b
- rpm files are RPM files. :)
bb1e5b
bb1e5b
* Sat May 15 1999 Jeff Johnson <jbj@redhat.com>
bb1e5b
- fix typo in pdf entry (#2618).
bb1e5b
bb1e5b
* Mon Mar 29 1999 Bill Nottingham <notting@redhat.com>
bb1e5b
- comment out play
bb1e5b
bb1e5b
* Fri Mar 19 1999 Preston Brown <pbrown@redhat.com>
bb1e5b
- updated mime type for images from xv to ee
bb1e5b
- cleaned up for our new version of the package which is in CVS
bb1e5b
bb1e5b
* Sat Mar 13 1999 Matt Wilson <msw@redhat.com>
bb1e5b
- updated mime.types
bb1e5b
bb1e5b
* Fri Feb 12 1999 Bill Nottingham <notting@redhat.com>
bb1e5b
- comment out backticked %%variables to work around security problems
bb1e5b
bb1e5b
* Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
bb1e5b
- glibc version 2.1
bb1e5b
bb1e5b
* Mon Sep 21 1998 Bill Nottingham <notting@redhat.com>
bb1e5b
- we don't ship tracker, use mikmod instead
bb1e5b
bb1e5b
* Wed Jul 29 1998 Jeff Johnson <jbj@redhat.com>
bb1e5b
- build root
bb1e5b
bb1e5b
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
bb1e5b
- translations modified for de, fr, tr
bb1e5b
bb1e5b
* Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
bb1e5b
- added /etc/mime.types from mutt to this package to make it universal
bb1e5b
bb1e5b
* Tue Sep 09 1997 Erik Troan <ewt@redhat.com>
bb1e5b
- made a noarch package