|
@@ -1,12 +1,15 @@
|
|
-Summary: Associates helper applications with particular file types.
|
|
+Summary: Helper application and MIME type associations for file types
|
|
-Summary(ja): ファイル形式とヘルパーアプリケーションを関連付ける
|
|
+Summary(ja): ファイル形式に対するヘルパーアプリケーションとMIMEタイプの対応データベース
|
|
Name: mailcap
|
|
Name: mailcap
|
|
-Version: 2.1.23
|
|
+Version: 2.1.37
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-License: public domain
|
|
+
|
|
|
|
+License: Public Domain and MIT
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
-Source0: %{name}-%{version}.tar.gz
|
|
+URL: http://git.fedorahosted.org/git/mailcap.git
|
|
-Patch0: mailcap-2.1.14-text_html.patch
|
|
+
|
|
|
|
+Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz
|
|
|
|
+
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -15,10 +18,8 @@ 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 with
|
|
material. Basically, mailcap associates a particular type of file with
|
|
a particular program that a mail agent or other program can call to
|
|
a particular program that a mail agent or other program can call to
|
|
-handle the file.
|
|
+handle the file. Mailcap should be installed to allow certain programs
|
|
-
|
|
+to be able to handle non-text files.
|
|
-Mailcap should be installed to allow certain programs to be able to
|
|
|
|
-handle non-text files.
|
|
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
mailcap は metamail プログラムが使用します.Metamail は非テキスト形式の
|
|
mailcap は metamail プログラムが使用します.Metamail は非テキスト形式の
|
|
@@ -29,28 +30,31 @@ mailcap の情報を読み込みます. mailcap は基本的には, 特定のフ
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-mkdir -p $RPM_BUILD_ROOT/etc
|
|
+make install DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir}
|
|
-install -m 644 mailcap $RPM_BUILD_ROOT/etc
|
|
+mandir=%{_mandir}
|
|
-install -m 644 mime.types $RPM_BUILD_ROOT/etc
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man4
|
|
|
|
-install -m 644 mailcap.4 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%config /etc/mailcap
|
|
+%doc COPYING NEWS
|
|
-%config /etc/mime.types
|
|
+%config(noreplace) %{_sysconfdir}/mailcap
|
|
|
|
+%config(noreplace) %{_sysconfdir}/mime.types
|
|
%{_mandir}/man4/mailcap.*
|
|
%{_mandir}/man4/mailcap.*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.37-1
|
|
|
|
+- new upstream release
|
|
|
|
+- add URL
|
|
|
|
+- add MIT to License:
|
|
|
|
+- cleanup spec file
|
|
|
|
+
|
|
* Fri Jun 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.23-1
|
|
* Fri Jun 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.23-1
|
|
- applied new versioning policy
|
|
- applied new versioning policy
|
|
- spec in UTF-8
|
|
- spec in UTF-8
|