X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=elvis.spec;h=602dc2c0915e7af1e11ab03d6666fd11f1ff8ca9;hb=69642a89ddaf79ce424e04429526658b4a970189;hp=95fd38974c497140754e3ad34f60d5b717b26581;hpb=e9ccd2946cd7281d223bf68fd517e76361571833;p=packages%2Felvis.git diff --git a/elvis.spec b/elvis.spec index 95fd389..602dc2c 100644 --- a/elvis.spec +++ b/elvis.spec @@ -1,25 +1,24 @@ Summary: Elvis is a clone of vi/ex Summary(pl): Elvis jest klonem edytora vi Name: elvis -Version: 2.2c +Version: 2.2h Release: 1 -License: Artistic License +License: Artistic (see LICENSE) Group: Applications/Editors -Group(de): Applikationen/Editors -Group(pl): Aplikacje/Edytory -Group(pt): Aplicações/Editores Source0: ftp://ftp.cs.pdx.edu/pub/elvis/unreleased/%{name}-%{version}.tar.gz +# Source0-md5: bb2720fe0b51c72336ff6fcf9920d71c +BuildRequires: ORBit-devel +BuildRequires: XFree86-devel BuildRequires: ncurses-devel >= 5.0 BuildRequires: ncurses-static -BuildRequires: XFree86-devel -BuildRequires: ORBit-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: elvis-X11 %define _libdir %{_datadir} %description -Vi clone. +Elvis is one of the most popular Vi clones. Its swift, well +documented and has many features. %description -l pl Elvis to jeden z popularniejszych klonów edytora vi. Jest szybki, @@ -29,14 +28,13 @@ posiada bogate mo Summary: Static elvis Summary(pl): elvis skompilowany statycznie Group: Applications/Editors -Group(de): Applikationen/Editors -Group(pl): Aplikacje/Edytory -Group(pt): Aplicações/Editores Provides: vi Obsoletes: vi +Obsoletes: vim-static +Obsoletes: nvi %description static -The classic unix /bin/vi - small, static compiled editor which is +The classic unix /bin/vi - small, statically linked editor which is useful as a rescue tool. %description static -l pl @@ -52,7 +50,7 @@ LDFLAGS="-static %{rpmldflags}" %configure \ --without-x \ --datadir=%{_datadir}/elvis - + %{__make} LIBS="-ltinfo" mv -f elvis elvis.static @@ -67,24 +65,23 @@ LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/{bin,%{_bindir},%{_mandir}/man1,%{_datadir}/elvis} +install -d $RPM_BUILD_ROOT/{bin,%{_bindir},%{_mandir}/man1,%{_datadir}/elvis/themes} install elvis ref $RPM_BUILD_ROOT%{_bindir} install elvis.static $RPM_BUILD_ROOT/bin/vi install lib/*.man $RPM_BUILD_ROOT%{_mandir}/man1 rm -f lib/*.man -mv -f lib/license . -install lib/* $RPM_BUILD_ROOT%{_libdir}/elvis - -gzip -9nf license BUGS +mv -f lib/license LICENSE +install lib/*.* $RPM_BUILD_ROOT%{_libdir}/elvis +install lib/themes/* $RPM_BUILD_ROOT%{_libdir}/elvis/themes %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz README.html +%doc LICENSE BUGS README.html %attr(755,root,root) %{_bindir}/elvis %attr(755,root,root) %{_bindir}/ref %{_mandir}/man1/*