diff --git a/tn5250.spec b/tn5250.spec index 2797cf4..0ca2682 100644 --- a/tn5250.spec +++ b/tn5250.spec @@ -1,13 +1,13 @@ Name: tn5250 -Version: 0.17.4 -Release: 3mamba +Version: 0.17.6 +Release: 1mamba 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 -URL: http://tn5250.sourceforge.net/ -Source: http://downloads.sourceforge.net/sourceforge/tn5250/%{name}-%{version}.tar.gz +URL: https://tn5250.sourceforge.net/ +Source: https://github.com/tn5250/tn5250.git/v%{version}/tn5250-%{version}.tar.bz2 Patch0: tn5250-0.17.4-openssl-1.1.patch License: LGPL ## AUTOBUILDREQ-BEGIN @@ -20,12 +20,21 @@ BuildRequires: libopenssl-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. -%package devel +%package -n lib%{name} +Summary: Shared libraries for %{name} +Group: System/Libraries + +%description -n lib%{name} +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 the shared libraries provided with %{name}. + +%package -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries -Requires: %{name} = %{version} +Requires: lib%{name} = %{version}-%{release} -%description devel +%description -n lib%{name}-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 needed for development. @@ -34,8 +43,6 @@ This package contains static libraries and header files needed for development. %prep %setup -q -%patch0 -p1 - autoreconf -f -i %build @@ -56,7 +63,7 @@ autoreconf -f -i %{_bindir}/tn5250 %{_bindir}/xt5250 %{_bindir}/5250keys -%{_libdir}/*.so.* +#%{_libdir}/*.so.* %{_mandir}/man1/lp5250d.* %{_mandir}/man1/scs2ascii.* %{_mandir}/man1/scs2pdf.* @@ -64,21 +71,24 @@ autoreconf -f -i %{_mandir}/man1/tn5250.* %{_mandir}/man5/tn5250rc.* %{_datadir}/tn5250/* -%doc AUTHORS COPYING -#ChangeLog NEWS README README.ssl TODO -%files devel +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/lib5250.so.* +%doc AUTHORS COPYING + +%files -n lib%{name}-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 +%{_libdir}/lib5250.a +%{_libdir}/lib5250.so +%doc ChangeLog NEWS README README.ssl TODO %changelog +* Thu Mar 14 2024 Silvan Calarco 0.17.6-1mamba +- update to 0.17.6 + * Fri May 21 2021 Silvan Calarco 0.17.4-3mamba - rebuilt with debug package and specfile fixes