Add vim files (#1142849)

This commit is contained in:
Jamie Nguyen 2014-10-22 19:17:55 +01:00
parent 24a9355337
commit 790674dc4a

View File

@ -27,7 +27,7 @@
Name: nginx Name: nginx
Epoch: 1 Epoch: 1
Version: 1.6.2 Version: 1.6.2
Release: 2%{?dist} Release: 3%{?dist}
Summary: A high performance web server and reverse proxy server Summary: A high performance web server and reverse proxy server
Group: System Environment/Daemons Group: System Environment/Daemons
@ -212,6 +212,11 @@ install -p -D -m 0644 %{_builddir}/nginx-%{version}/man/nginx.8 \
install -p -D -m 0755 %{SOURCE13} %{buildroot}%{_bindir}/nginx-upgrade install -p -D -m 0755 %{SOURCE13} %{buildroot}%{_bindir}/nginx-upgrade
install -p -D -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man8/nginx-upgrade.8 install -p -D -m 0644 %{SOURCE14} %{buildroot}%{_mandir}/man8/nginx-upgrade.8
for i in ftdetect indent syntax; do
install -p -D -m644 contrib/vim/${i}/nginx.vim \
%{buildroot}%{_datadir}/vim/vimfiles/${i}/nginx.vim
done
%pre filesystem %pre filesystem
getent group %{nginx_group} > /dev/null || groupadd -r %{nginx_group} getent group %{nginx_group} > /dev/null || groupadd -r %{nginx_group}
@ -259,6 +264,9 @@ fi
%{nginx_datadir}/html/* %{nginx_datadir}/html/*
%{_bindir}/nginx-upgrade %{_bindir}/nginx-upgrade
%{_sbindir}/nginx %{_sbindir}/nginx
%{_datadir}/vim/vimfiles/ftdetect/nginx.vim
%{_datadir}/vim/vimfiles/syntax/nginx.vim
%{_datadir}/vim/vimfiles/indent/nginx.vim
%{_mandir}/man3/nginx.3pm* %{_mandir}/man3/nginx.3pm*
%{_mandir}/man8/nginx.8* %{_mandir}/man8/nginx.8*
%{_mandir}/man8/nginx-upgrade.8* %{_mandir}/man8/nginx-upgrade.8*
@ -302,6 +310,9 @@ fi
%changelog %changelog
* Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-3
- add vim files (#1142849)
* Mon Sep 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-2 * Mon Sep 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1:1.6.2-2
- create nginx-filesystem subpackage (patch from Remi Collet) - create nginx-filesystem subpackage (patch from Remi Collet)
- create /etc/nginx/default.d as a drop-in directory for configuration files - create /etc/nginx/default.d as a drop-in directory for configuration files