Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 431a0817b5b66742d2f072d6c2306ac5 > files > 2

s3270-3.3.6-1mdv2008.0.src.rpm

Summary:	Scripted 3270 Emulator
Name:		s3270
Version:	3.3.6
Release:	%mkrel 1
License:	GPL
Group:		Terminals
URL:		http://www.geocities.com/SiliconValley/Peaks/7814/
Source0:	s3270-%{version}.tgz
Requires:	x3270 =< %{version}
BuildRequires:	X11-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

# fix strange perms
find . -type d -perm 0700 -exec chmod 755 {} \;
find . -type f -perm 0555 -exec chmod 755 {} \;
find . -type f -perm 0444 -exec chmod 644 {} \;

perl -p -i -e "s|^#!/usr/local|#!/usr|g" Examples/cms_cmd.expect

%build

%configure2_5x

%make %{name}

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

install -d %{buildroot}%{_bindir}
install -d %{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
* Wed Jun 27 2007 Funda Wang <fundawang@mandriva.org> 3.3.6-1mdv2008.0
+ Revision: 44875
- New version
- Import s3270



* Thu Apr 20 2006 Lenny Cartier <lenny@mandriva.com> 3.3.4p6-1mdk
- 3.3.4p6

* Wed Nov 30 2005 Oden Eriksson <oeriksson@mandriva.com> 3.3.4p3-2mdk
- rebuilt against openssl-0.9.8a

* Thu Jul 07 2005 Lenny Cartier <lenny@mandriva.com> 3.3.4p3-1mdk
- 3.3.4p3

* Tue Jun 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 3.3.2p1-1mdk
- new version
- fix strange perms
- fix deps

* Fri Jul 11 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 3.2.20-1mdk
- 3.2.20
- use the %%configure2_5x macro

* Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 3.2.19-3mdk
- rebuild

* Mon Jan 27 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 3.2.19-2mdk
- build release
- misc spec file fixes

* 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