Update to 2.1.45, output nginx-mimetypes subpackage, spec cleanups
This commit is contained in:
parent
a11089ee09
commit
d765034309
31
mailcap.spec
31
mailcap.spec
@ -1,13 +1,11 @@
|
|||||||
Name: mailcap
|
Name: mailcap
|
||||||
Version: 2.1.44
|
Version: 2.1.45
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Helper application and MIME type associations for file types
|
Summary: Helper application and MIME type associations for file types
|
||||||
|
|
||||||
Group: System Environment/Base
|
|
||||||
License: Public Domain and MIT
|
License: Public Domain and MIT
|
||||||
URL: http://git.fedorahosted.org/git/mailcap.git
|
URL: http://git.fedorahosted.org/git/mailcap.git
|
||||||
Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz
|
Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -22,6 +20,14 @@ Also included in this package is the mime.types file which contains a
|
|||||||
list of MIME types and their filename "extension" associations, used
|
list of MIME types and their filename "extension" associations, used
|
||||||
by several applications e.g. to determine MIME types for filenames.
|
by several applications e.g. to determine MIME types for filenames.
|
||||||
|
|
||||||
|
%package -n nginx-mimetypes
|
||||||
|
Summary: MIME type mappings for nginx
|
||||||
|
License: Public Domain
|
||||||
|
Requires: nginx-filesystem
|
||||||
|
|
||||||
|
%description -n nginx-mimetypes
|
||||||
|
MIME type mappings for nginx.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -32,28 +38,31 @@ by several applications e.g. to determine MIME types for filenames.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} mandir=%{_mandir}
|
%make_install sysconfdir=%{_sysconfdir} mandir=%{_mandir}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS
|
%doc 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.*
|
||||||
|
|
||||||
|
%files -n nginx-mimetypes
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS
|
||||||
|
%config(noreplace) %{_sysconfdir}/nginx/mime.types
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 25 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.1.45-1
|
||||||
|
- Update to 2.1.45
|
||||||
|
- Output nginx-mimetypes subpackage
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.44-2
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.44-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user