Name: xcoral Version: 3.47 Release: 1 Summary: Programmable text editor for Unix users License: GPL Group: Editors Source: %{name}-%{version}.tar.gz Url: http://xcoral.free.fr BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Xcoral is a multiwindow mouse-based text editor for the X Window System. Syntax highlighting (C, C++, Java, LaTeX) and auto-indentation are available. A built-in browser enables you to navigate through C functions, C++ and Java classes, methods and files. A SMall Ansi C Interpreter (Smac) is also built-in to dynamically extend the editor's possibilities (user functions, key bindings, modes etc). %prep %setup -q %build export CC="xlc" ./configure \ --prefix=%{_prefix} \ --with-x # doesn't like more than one compile thread... make %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/%{name} make X_BINDIR=${RPM_BUILD_ROOT}%{_bindir} XC_LIBDIR=${RPM_BUILD_ROOT}%{_libdir}/%{name} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -s ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(644,root,system,755) %doc FIXES INSTALL README %{_bindir}/* %dir %{_libdir}/%{name} %{_libdir}/%{name}/* /usr/bin/* %changelog * Mon Apr 28 2008 Michael Perzl - 3.47-1 - first version for AIX V5.1 and higher