Summary: Scripted 3270 Emulator Name: s3270 Version: 3.3.5 Release: 1%{?dist} License: GPL Group: Applications/Communications URL: http://superb-east.dl.sourceforge.net/sourceforge/x3270/%{name}-%{version}.tgz Source0: %{name}-%{version}.tgz Requires: x3270 =< %{version} Requires: expect BuildRequires: glibc-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Complete IBM 3278/3279 emulation, TN3270E support, structured fields, color xterm emulation, highly configurable %prep %setup -q -n %{name}-3.3 perl -p -i -e "s|^#!/usr/local|#!/usr|g" Examples/cms_cmd.expect # Remove executable perms on Example script chmod a-x Examples/cms_cmd.expect %build %configure make %{name} %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -s -m755 %{name} %{buildroot}%{_bindir}/ install -m644 %{name}.man %{buildroot}%{_mandir}/man1/%{name}.1 %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc html/Bugs.html html/Build.html html/FAQ.html html/Intro.html %doc html/Lineage.html html/New.html html/README.html %doc html/s3270-man.html html/Wishlist.html README %doc Examples/cms_cmd.expect %{_bindir}/%{name} %{_mandir}/man1/%{name}* %changelog * Wed Apr 04 2007 Bill Peck 3.3.5-1 - Borrowed spec file from Mandrake