Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:please_try_again:Fedora
Elvis
elvis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File elvis.spec of Package Elvis
Summary: Elvis is a clone of vi/ex Name: elvis Release: 16.1 Version: 2.2_0 License: Artistic (see LICENSE) Group: Applications/Editors Vendor: Steve Kirkendall <kirkenda@cs.pdx.edu> Url: http://elvis.vi-editor.org/ Source0: ftp://ftp.cs.pdx.edu/pub/elvis/unreleased/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %if 0%{?suse_version} > 1110 %define docdir %{_docdir}/%{name} BuildRequires: ncurses-devel xorg-x11-libX11-devel xorg-x11-libXt-devel Patch1: elvis.clr-openSUSE.patch %endif %if 0%{?mandriva_version} %define docdir %{_docdir}/%{name} %ifarch x86_64 BuildRequires: lib64xorg-x11-devel lib64xt-devel %else BuildRequires: libxorg-x11-devel libxt-devel %endif BuildRequires: libncurses-devel Patch1: elvis.clr-Mandriva.patch %endif %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} %define docdir %{_docdir}/%{name}-%{version} BuildRequires: ncurses-devel libX11-devel libXt-devel Patch1: elvis.clr-Fedora.patch %endif %description Elvis is a text editor, compatible with vi. It has all the usual extensions (multiple buffers, multiple windows, syntax coloring, etc.) plus a variety of display modes including "html" and "man". Author: Steve Kirkendall <kirkenda@cs.pdx.edu> %prep %setup -q %patch0 -p0 %patch1 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"; ./configure --prefix=%{prefix} --libs="-lX11 -lncurses -lresolv" make %install %{__mkdir_p} %{buildroot}%{_bindir} %{__mkdir_p} %{buildroot}%{_mandir}/man1 %{__mkdir_p} %{buildroot}%{_datadir}/%{name}/{icons,doc,scripts,stubs,themes} %{__mkdir_p} %{buildroot}%{docdir} %{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name} install -s -m755 elvis %{buildroot}%{_bindir} install -s -m755 elvfmt %{buildroot}%{_bindir} install -s -m755 elvtags ref %{buildroot}%{_bindir} install -s -m755 ref %{buildroot}%{_bindir} install -m644 doc/elvis.man %{buildroot}%{_mandir}/man1/elvis.1 install -m644 doc/ref.man %{buildroot}%{_mandir}/man1/ref.1 install -m644 data/elvis.* %{buildroot}%{_sysconfdir}/%{name} cp data/icons/*.xpm %{buildroot}%{_datadir}/%{name}/icons cp data/scripts/* %{buildroot}%{_datadir}/%{name}/scripts cp data/stubs/* %{buildroot}%{_datadir}/%{name}/stubs cp data/themes/* %{buildroot}%{_datadir}/%{name}/themes cp doc/* %{buildroot}%{_datadir}/%{name}/doc cp data/elvis.* %{buildroot}%{docdir} rm %{buildroot}%{_datadir}/%{name}/doc/*.man %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING BUGS INSTALL README.html %dir %{_datadir}/%{name} %dir %{_sysconfdir}/%{name} %{_bindir}/elvis %{_bindir}/elvfmt %{_bindir}/elvtags %{_bindir}/ref %{_mandir}/man1/* %{_datadir}/%{name}/* %{_sysconfdir}/%{name}/* %changelog * Sat Jul 9 2011 Agnelo de la Crotche <agnelo@unixversal.com> - - added color patches for openSUSE, Fedora and Mandriva * Fri Mar 18 2010 Agnelo de la Crotche <agnelo@unixversal.com> - - elvis is back in openSUSE. :-)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor