update spec file template (#736774)
This commit is contained in:
parent
1619ab79ba
commit
80a1b0c085
36
spec-template.new
Normal file
36
spec-template.new
Normal file
@ -0,0 +1,36 @@
|
||||
Name:
|
||||
Version:
|
||||
Release: 1%{?dist}
|
||||
Summary:
|
||||
|
||||
Group:
|
||||
License:
|
||||
URL:
|
||||
Source0:
|
||||
|
||||
BuildRequires:
|
||||
Requires:
|
||||
|
||||
%description
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%doc
|
||||
|
||||
|
||||
|
||||
%changelog
|
5
vim.spec
5
vim.spec
@ -41,6 +41,7 @@ Source12: vi_help.txt
|
||||
Source13: vim-spell-files.tar.bz2
|
||||
%endif
|
||||
Source14: spec-template
|
||||
Source15: spec-template.new
|
||||
|
||||
Patch2002: vim-7.0-fixkeys.patch
|
||||
Patch2003: vim-6.2-specsyntax.patch
|
||||
@ -1089,7 +1090,11 @@ mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/vimfiles/{after,autoload,colors,compiler,doc,ftdetect,ftplugin,indent,keymap,lang,plugin,print,spell,syntax,tutor}
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/vimfiles/after/{autoload,colors,compiler,doc,ftdetect,ftplugin,indent,keymap,lang,plugin,print,spell,syntax,tutor}
|
||||
cp -f %{SOURCE11} .
|
||||
%if %{?fedora}%{!?fedora:0} >= 16 || %{?rhel}%{!?rhel:0} >= 6
|
||||
cp -f %{SOURCE15} $RPM_BUILD_ROOT/%{_datadir}/%{name}/vimfiles/template.spec
|
||||
%else
|
||||
cp -f %{SOURCE14} $RPM_BUILD_ROOT/%{_datadir}/%{name}/vimfiles/template.spec
|
||||
%endif
|
||||
cp runtime/doc/uganda.txt LICENSE
|
||||
# Those aren't Linux info files but some binary files for Amiga:
|
||||
rm -f README*.info
|
||||
|
Loading…
Reference in New Issue
Block a user