Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 396dd5ba42b82194fa6d397b1177ae83 > files > 2

s3270-3.2.19-1mdk.src.rpm

%define	pversion	3219

Summary:	Scripted 3270 Emulator
Name:		s3270
Version:	3.2.19
Release:	1mdk
License:	GPL
Group:		Terminals
Url:		http://www.geocities.com/SiliconValley/Peaks/7814/
Source0:	s3270-%{pversion}.tar.bz2
Requires:	x3270 =< %{version} common-licenses
BuildRequires:	XFree86-devel glibc-devel
BuildRoot:	%{_tmppath}/%{name}-%{pversion}-root

%description
Complete IBM 3278/3279 emulation, TN3270E support, structured
fields, color xterm emulation, highly configurable

%prep
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%setup -q -n %{name}-3.2
perl -p -i -e "s|^#!/usr/local|#!/usr|g" Examples/cms_cmd.expect

%build
%configure
make %{name}

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -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
* Thu May 16 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 3.2.19-1mdk
- new version
- misc spec file fixes
- rebuilt with latest system compiler (gcc3.1)

* Tue Jan  1 2002  Oden Eriksson <oden.eriksson@kvikkjokk.net> 3.2.18-1mdk
- new version

* Mon Sep 24 2001 Lenny Cartier <lenny@mandrakesoft.com> 3.2.17-1mdk
- added by Oden Eriksson <oden.eriksson@kvikkjokk.net> :
	- initial cooker contrib