]> git.pld-linux.org Git - packages/elvis.git/blobdiff - elvis.spec
- updated URLs, use __mv macro
[packages/elvis.git] / elvis.spec
index ed447ab6ad27271b529caa4dd528565a562de4b1..6138c8a83f4772648b46efbada732f64e2998a18 100644 (file)
@@ -1,32 +1,34 @@
 Summary:       Elvis is a clone of vi/ex
-Summary(pl):   Elvis jest klonem edytora vi
+Summary(pl.UTF-8):     Elvis jest klonem edytora vi
 Name:          elvis
 Version:       2.2_0
-Release:       1
+Release:       2
 Epoch:         1
 License:       Artistic (see LICENSE.html)
 Group:         Applications/Editors
-Source0:       ftp://ftp.cs.pdx.edu/pub/elvis/%{name}-%{version}.tar.gz
+Source0:       http://www.the-little-red-haired-girl.org/pub/elvis/%{name}-%{version}.tar.gz
 # Source0-md5: 6831b8df3e4a530395e66c2889783752
-URL:           http://elvis.vi-editor.org/
-BuildRequires: XFree86-devel
+URL:           http://elvis.the-little-red-haired-girl.org/
 BuildRequires: glibc-static
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: ncurses-static
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXft-devel
+BuildRequires: xorg-lib-libXpm-devel
 Obsoletes:     elvis-X11
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 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,
-posiada bogate mo¿liwo¶ci i bardzo dobr± dokumentacjê.
+%description -l pl.UTF-8
+Elvis to jeden z popularniejszych klonów edytora vi. Jest szybki,
+posiada bogate możliwości i bardzo dobrą dokumentację.
 
 %package static
 Summary:       Static elvis
-Summary(pl):   elvis skompilowany statycznie
+Summary(pl.UTF-8):     elvis skompilowany statycznie
 Group:         Applications/Editors
 Provides:      vi
 Obsoletes:     vi
@@ -34,12 +36,12 @@ Obsoletes:  vim-static
 Obsoletes:     nvi
 
 %description static
-The classic unix /bin/vi - small, statically linked editor which is
+The classic Unix /bin/vi - small, statically linked editor which is
 useful as a rescue tool.
 
-%description static -l pl
-Klasyczny unixowy /bin/vi - ma³y, skompilowany statycznie edytor,
-który przydaje siê przy awarii systemu.
+%description static -l pl.UTF-8
+Klasyczny uniksowy /bin/vi - mały, skompilowany statycznie edytor,
+który przydaje się przy awarii systemu.
 
 %prep
 %setup -q
@@ -52,7 +54,8 @@ CC="%{__cc} %{rpmcflags}"; export CC
 
 %{__make} \
        LIBS="%{rpmldflags} -static -ltinfo"
-mv -f elvis elvis.static
+
+%{__mv} elvis elvis.static
 
 %{__make} clean
 
@@ -61,7 +64,7 @@ mv -f elvis elvis.static
        --datadir=%{_datadir}/elvis
 
 %{__make} \
-       LIBS="%{rpmldflags} -ltinfo -lX11 -L/usr/X11R6/%{_lib}"
+       LIBS="%{rpmldflags} -ltinfo -lXft -lXpm -lX11 -L/usr/X11R6/%{_lib}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -76,7 +79,7 @@ done
 
 cp -rf data/* $RPM_BUILD_ROOT%{_datadir}/elvis
 
-mv -f doc/license.html LICENSE.html
+%{__mv} doc/license.html LICENSE.html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.108074 seconds and 4 git commands to generate.