From 3346d38f173f496cf440fde7257b15961f732ee2 Mon Sep 17 00:00:00 2001 From: kura Date: Thu, 29 Apr 1999 14:09:03 +0000 Subject: [PATCH] initial release Changed files: elvis.spec -> 1.1 --- elvis.spec | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 elvis.spec diff --git a/elvis.spec b/elvis.spec new file mode 100644 index 0000000..f93eab6 --- /dev/null +++ b/elvis.spec @@ -0,0 +1,89 @@ +Summary: Elvis is a clone of vi/ex +Summary(pl): Elvis jest klonem edytora vi +Name: elvis +Version: 2.1 +Release: 1 +Group: Applications/Editors +Group(pl): Aplikacje/Edytory +Copyright: Artistic License +Vendor: PLD +#URL: - +Source: ftp://ftp.cs.pdx.edu/pub/elvis/%{name}-%{version}.tar.gz +BuildRoot: /tmp/%{name}-%{version}-root + +%description +Vi clone. + +%description -l pl +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 +Group: Applications/Editors +Group(pl): Aplikacje/Edytory +Provides: vi +Obsoletes: vi + +%description static +The classic unix /bin/vi - small, static compiled 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. + +%prep +%setup -q + +%build +CC="cc $RPM_OPT_FLAGS" LDFLAGS="-static -s" \ +./configure \ + --prefix=/usr \ + --without-x \ + linux +make LIBS="-static -lncurses" +mv elvis elvis.static + +make clean + +CC="cc $RPM_OPT_FLAGS" LDFLAGS="-s" \ +./configure \ + --prefix=/usr \ + --with-x \ + linux +make LIBS=" -lX11 -lncurses" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/usr/{bin,man/man1,lib/elvis} + +install -s elvis $RPM_BUILD_ROOT/usr/bin +install -s elvis.static $RPM_BUILD_ROOT/bin/vi +install -s ref $RPM_BUILD_ROOT/usr/bin/ + +rm -f lib/*man +install lib/* $RPM_BUILD_ROOT/usr/lib/elvis + +gzip -9nf $RPM_BUILD_ROOT/usr/man/man*/* +gzip -9nf lib/license BUGS + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc {lib/license,BUGS}.gz README.html +%attr(755,root,root) /usr/bin/elvis +%attr(755,root,root) /usr/bin/ref +%attr(755,root,root) /bin/vi +/usr/lib/elvis + +%files static +%attr(755,root,root) /bin/vi + +%changelog +* Tue Apr 27 1999 Micha³ Kuratczyk + [2.1-1] +- built for PLD -- 2.43.0