Summary(pl): Elvis jest klonem edytora vi
Name: elvis
Version: 2.1
-Release: 1
+Release: 2
Copyright: Artistic License
Group: Applications/Editors
Group(pl): Aplikacje/Edytory
Source: ftp://ftp.cs.pdx.edu/pub/elvis/%{name}-%{version}.tar.gz
BuildPrereq: ncurses-devel
BuildPrereq: XFree86-devel
-BuildRoot: /tmp/%{name}-%{version}-root
+BuildRoot: /tmp/%{name}-%{version}-root
Obsoletes: elvis-X11
%description
./configure \
--prefix=/usr \
--without-x \
- %{_target}
+ %{_target_platform}
make LIBS="-lncurses"
mv elvis elvis.static
./configure \
--prefix=/usr \
--with-x \
- %{_target}
+ %{_target_platform}
make LIBS="-lncurses -lX11 -L/usr/X11R6/lib"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{bin,usr/{bin,man/man1,lib/elvis}}
+install -d $RPM_BUILD_ROOT/{bin,usr/{bin,share/man/man1,lib/elvis}}
-install -s elvis $RPM_BUILD_ROOT/usr/bin
+install -s elvis $RPM_BUILD_ROOT%{_bindir}
install -s elvis.static $RPM_BUILD_ROOT/bin/vi
-install -s ref $RPM_BUILD_ROOT/usr/bin/
+install -s ref $RPM_BUILD_ROOT%{_bindir}/
install lib/ref.man $RPM_BUILD_ROOT%{_mandir}/man1
rm -f lib/*.man
%files
%defattr(644,root,root,755)
%doc {license,BUGS}.gz README.html
-%attr(755,root,root) /usr/bin/elvis
-%attr(755,root,root) /usr/bin/ref
+%attr(755,root,root) %{_bindir}/elvis
+%attr(755,root,root) %{_bindir}/ref
%{_mandir}/man1/*
%{_libdir}/elvis
%attr(755,root,root) /bin/vi
%changelog
+* Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
+ [2.1-2]
+- spec cleanup
+
* Wed Apr 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
[2.1-1]
- added BuildPrereq rules,