tn5250/tn5250.spec

90 lines
2.4 KiB
RPMSpec

Name: tn5250
Version: 0.17.4
Release: 2mamba
Summary: A telnet client for the IBM AS/400 that emulates 5250 terminals and printers
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@openmamba.org>
URL: http://tn5250.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/tn5250/%{name}-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
tn5250 is a telnet client for the IBM AS/400 that emulates 5250 terminals and printers.
This function is the same as that provided by the 5250 emulator in IBM Client Access.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
tn5250 is a telnet client for the IBM AS/400 that emulates 5250 terminals and printers.
This function is the same as that provided by the 5250 emulator in IBM Client Access.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/lp5250d
%{_bindir}/scs*
%{_bindir}/tn5250
%{_bindir}/xt5250
%{_bindir}/5250keys
%{_libdir}/*.so.*
%{_mandir}/man1/lp5250d.*
%{_mandir}/man1/scs2ascii.*
%{_mandir}/man1/scs2pdf.*
%{_mandir}/man1/scs2ps.*
%{_mandir}/man1/tn5250.*
%{_mandir}/man5/tn5250rc.*
%{_datadir}/tn5250/*
%doc AUTHORS COPYING ChangeLog NEWS README README.ssl TODO
%files devel
%defattr(-,root,root)
#%{_bindir}/tn5250-config
%{_includedir}/*.h
%{_includedir}/tn5250/*.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la
#%{_datadir}/aclocal/tn5250.m4
#%{_libdir}/pkgconfig/tn5250.pc
%changelog
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 0.17.4-2mamba
- automatic version update by autodist
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.4-1mamba
- automatic update by autodist
* Wed Jun 11 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.17.3-1mamba
- update to 0.17.3, removed tn5250-0.16.5-gcc34.patch
* Thu Mar 31 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.5-1qilnx
- package created by autospec