Name: tack Version: 1.07 Release: 1 Summary: Terminfo action checker Group: Development/Tools License: GPLv2+ URL: http://invisible-island.net/ncurses/ncurses.html Source0: ftp://invisible-island.net/ncurses/%{name}-%{version}.tgz #Source1: ftp://invisible-island.net/ncurses/%{name}-%{version}.tgz.asc Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: ncurses-devel >= 5.6-2 Requires: ncurses >= 5.6-2 %description The tack program has three purposes: to help you build a new terminfo entry describing an unknown terminal, to test the correctness of an existing entry, and to develop the correct pad timings needed to ensure that screen updates don't fall behind the incoming data stream. %prep %setup -q %patch0 %build export CC=xlc_r ./configure \ --prefix=%{_prefix} \ --with-ncurses \ --with-curses-dir=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/linux/bin cd usr/linux/bin ln -sf ../../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc CHANGES COPYING HISTORY README %{_bindir}/* %{_mandir}/man1/* /usr/linux/bin/* %changelog * Tue May 15 2012 Michael Perzl - 1.07-1 - updated to version 1.07 * Tue May 15 2012 Michael Perzl - 1.06-1 - first version for AIX5L v5.1 and higher