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
|
||||
Version: 2.1.44
|
||||
Release: 2%{?dist}
|
||||
Version: 2.1.45
|
||||
Release: 1%{?dist}
|
||||
Summary: Helper application and MIME type associations for file types
|
||||
|
||||
Group: System Environment/Base
|
||||
License: Public Domain and MIT
|
||||
URL: http://git.fedorahosted.org/git/mailcap.git
|
||||
Source0: https://fedorahosted.org/released/mailcap/%{name}-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
|
||||
%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
|
||||
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
|
||||
%setup -q
|
||||
@ -32,28 +38,31 @@ by several applications e.g. to determine MIME types for filenames.
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} mandir=%{_mandir}
|
||||
%make_install sysconfdir=%{_sysconfdir} mandir=%{_mandir}
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%config(noreplace) %{_sysconfdir}/mailcap
|
||||
%config(noreplace) %{_sysconfdir}/mime.types
|
||||
%{_mandir}/man4/mailcap.*
|
||||
|
||||
%files -n nginx-mimetypes
|
||||
%license COPYING
|
||||
%doc NEWS
|
||||
%config(noreplace) %{_sysconfdir}/nginx/mime.types
|
||||
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user