]> git.pld-linux.org Git - packages/elvis.git/commitdiff
initial release
authorkura <kura@pld-linux.org>
Thu, 29 Apr 1999 14:09:03 +0000 (14:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elvis.spec -> 1.1

elvis.spec [new file with mode: 0644]

diff --git a/elvis.spec b/elvis.spec
new file mode 100644 (file)
index 0000000..f93eab6
--- /dev/null
@@ -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 <kura@pld.org.pl>
+  [2.1-1]
+- built for PLD
This page took 0.100681 seconds and 4 git commands to generate.