- updated to 2.2a
authorkura <kura@pld-linux.org>
Mon, 21 Feb 2000 23:18:34 +0000 (23:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed problem with datadir

Changed files:
    elvis.spec -> 1.17

elvis.spec

index 1f956e6..a420b60 100644 (file)
@@ -1,8 +1,8 @@
 Summary:       Elvis is a clone of vi/ex
 Summary(pl):   Elvis jest klonem edytora vi
 Name:          elvis
-Version:       2.1
-Release:       3
+Version:       2.2a
+Release:       4
 Copyright:     Artistic License
 Group:         Applications/Editors
 Group(pl):     Aplikacje/Edytory
@@ -45,7 +45,8 @@ przydaje si
 CC="cc $RPM_OPT_FLAGS"; export CC
 LDFLAGS="-static -s"; export LDFLAGS
 %configure \
-       --without-x
+       --without-x \
+       --datadir=%{_datadir}/elvis
        
 make LIBS="-ltinfo"
 mv elvis elvis.static
@@ -54,7 +55,8 @@ make clean
 
 LDFLAGS="-s";export LDFLAGS
 %configure \
-       --with-x
+       --with-x \
+       --datadir=%{_datadir}/elvis
 
 make LIBS="-ltinfo -lX11 -L/usr/X11R6/lib"
 
@@ -64,13 +66,13 @@ install -d $RPM_BUILD_ROOT/{bin,%{_bindir},%{_mandir}/man1,%{_datadir}/elvis}
 
 install -s elvis ref $RPM_BUILD_ROOT%{_bindir}
 install -s elvis.static $RPM_BUILD_ROOT/bin/vi
-install lib/ref.man $RPM_BUILD_ROOT%{_mandir}/man1
+install lib/*.man $RPM_BUILD_ROOT%{_mandir}/man1
 
 rm -f  lib/*.man
 mv lib/license .
 install        lib/* $RPM_BUILD_ROOT%{_libdir}/elvis
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
        license BUGS
 
 %clean
This page took 0.030697 seconds and 4 git commands to generate.