- Update to 2.1.30, see NEWS for details.

- Improve summary and description.
- Add MIT to License: for mailcap.4 man page.
- Specfile cleanup.
This commit is contained in:
Ville Skyttä 2009-09-19 14:32:33 +00:00
parent 34af853cb8
commit 88e5df88a0
4 changed files with 36 additions and 39 deletions

View File

@ -1 +1 @@
mailcap-2.1.29.tar.gz mailcap-2.1.30.tar.gz

21
COPYING
View File

@ -1,21 +0,0 @@
Red Hat disclaims any copyright on the "mailcap" and "mime-types" files and places them in the public domain. You are
free to do whatever you wish with these files.
The mailcap.4 man page is under an MIT license:
Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
Permission to use, copy, modify, and distribute this material
for any purpose and without fee is hereby granted, provided
that the above copyright notice and this permission notice
appear in all copies, and that the name of Bellcore not be
used in advertising or publicity pertaining to this
material without the specific, prior written permission
of an authorized representative of Bellcore. BELLCORE
MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
OF THIS MATERIAL FOR ANY PURPOSE. IT IS PROVIDED "AS IS",
WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
Tom Callaway, Fedora Legal, Red Hat
Thu Sep 17, 2009

View File

@ -1,45 +1,63 @@
Summary: Associates helper applications with particular file types Name: mailcap
Name: mailcap Version: 2.1.30
Version: 2.1.29 Release: 1%{?dist}
Release: 3%{?dist} Summary: Helper application and MIME type associations for file types
License: Public Domain
Group: System Environment/Base Group: System Environment/Base
Source0: https://fedorahosted.org/releases/m/a/mailcap/%{name}-%{version}.tar.gz License: Public Domain and MIT
BuildArch: noarch URL: http://git.fedoraproject.org/git/mailcap.git
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description %description
The mailcap file is used by the metamail program. Metamail reads the The mailcap file is used by the metamail program. Metamail reads the
mailcap file to determine how it should display non-text or multimedia mailcap file to determine how it should display non-text or multimedia
material. Basically, mailcap associates a particular type of file material. Basically, mailcap associates a particular type of file
with a particular program that a mail agent or other program can call with a particular program that a mail agent or other program can call
in order to handle the file. in order to handle the file. Mailcap should be installed to allow
certain programs to be able to handle non-text files.
Also included in this package is the mime.types file which contains a
list of MIME types and their filename "extension" associations, used
by several applications e.g. to determine MIME types for filenames.
Mailcap should be installed to allow certain programs to be able to
handle non-text files.
%prep %prep
%setup -q %setup -q
%build %build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} make install DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} mandir=%{_mandir}
install -p -m 644 mailcap mime.types $RPM_BUILD_ROOT%{_sysconfdir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man4
install -p -m 644 mailcap.4 $RPM_BUILD_ROOT%{_mandir}/man4 %check
make check
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING NEWS
%config(noreplace) %{_sysconfdir}/mailcap %config(noreplace) %{_sysconfdir}/mailcap
%config(noreplace) %{_sysconfdir}/mime.types %config(noreplace) %{_sysconfdir}/mime.types
%{_mandir}/man4/mailcap.* %{_mandir}/man4/mailcap.*
%changelog %changelog
* Sat Sep 19 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.1.30-1
- Update to 2.1.30, see NEWS for details.
- Improve summary and description.
- Add MIT to License: for mailcap.4 man page.
- Specfile cleanup.
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.29-3 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.29-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
cf60f7b3db605b4029b99bcb2966b9be mailcap-2.1.29.tar.gz 904ba32dedb36d8432943e8aaa5653fa mailcap-2.1.30.tar.gz