packages: vim-plugin-latex/vim-plugin-latex.spec, vim-plugin-latex/vim-plug...
atler
atler at pld-linux.org
Sat Aug 14 12:30:18 CEST 2010
Author: atler Date: Sat Aug 14 10:30:18 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- use provided makefile for install
- makefile patch with pld paths
- proper %files (don't own vim's directories)
---- Files affected:
packages/vim-plugin-latex:
vim-plugin-latex.spec (1.3 -> 1.4) , vim-plugin-latex-makefile.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/vim-plugin-latex/vim-plugin-latex.spec
diff -u packages/vim-plugin-latex/vim-plugin-latex.spec:1.3 packages/vim-plugin-latex/vim-plugin-latex.spec:1.4
--- packages/vim-plugin-latex/vim-plugin-latex.spec:1.3 Thu Jun 3 16:51:55 2010
+++ packages/vim-plugin-latex/vim-plugin-latex.spec Sat Aug 14 12:30:13 2010
@@ -10,6 +10,7 @@
Group: Applications/Editors/Vim
Source0: http://downloads.sourceforge.net/project/%{shortname}/snapshots/%{shortname}-1.8.23-%{snapdate}-r%{rev}.tar.gz
# Source0-md5: 1d8e6a05a2e07245d22f1afbae474f5e
+Patch0: %{name}-makefile.patch
Epoch: 1
URL: http://vim-latex.sourceforge.net/
Requires: vim-rt >= 4:6.3.058-3
@@ -29,19 +30,27 @@
documents to compiling tex files to forward searching .dvi documents.
%prep
-%setup -qc
+%setup -qn vim-latex-%{version}-%{snapdate}-r%{rev}
+%patch0
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_vimdatadir}
-cp -a . $RPM_BUILD_ROOT%{_vimdatadir}
+%{__make} install \
+ DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%{_vimdatadir}/*
+%attr(755,root,root) %{_bindir}/latextags
+%attr(755,root,root) %{_bindir}/ltags
+%{_vimdatadir}/compiler/*
+%{_vimdatadir}/doc/*
+%{_vimdatadir}/ftplugin/*
+%{_vimdatadir}/indent/*
+%{_vimdatadir}/plugin/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -49,6 +58,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2010/08/14 10:30:13 atler
+- use provided makefile for install
+- makefile patch with pld paths
+- proper %files (don't own vim's directories)
+
Revision 1.3 2010/06/03 14:51:55 uzsolt
- 1.8.23, rev 1104
================================================================
Index: packages/vim-plugin-latex/vim-plugin-latex-makefile.patch
diff -u /dev/null packages/vim-plugin-latex/vim-plugin-latex-makefile.patch:1.1
--- /dev/null Sat Aug 14 12:30:18 2010
+++ packages/vim-plugin-latex/vim-plugin-latex-makefile.patch Sat Aug 14 12:30:13 2010
@@ -0,0 +1,10 @@
+--- Makefile.old 2010-08-14 11:56:53.000000000 +0200
++++ Makefile 2010-08-14 11:57:06.000000000 +0200
+@@ -1,5 +1,5 @@
+-PREFIX = /usr/local
+-VIMDIR = $(PREFIX)/share/vim
++PREFIX = /usr
++VIMDIR = $(PREFIX)/share/vim/vimfiles
+ BINDIR = $(PREFIX)/bin
+
+ VERSION=1.8.23
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-plugin-latex/vim-plugin-latex.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list