rebuilt with --program-transform-name=s/l// to fix conflict with lrzip; added debug package [release 0.12.20-4mamba;Thu Dec 31 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:29:20 +01:00
parent c5d5cbe2b2
commit fb58830305

View File

@ -1,6 +1,6 @@
Name: lrzsz
Version: 0.12.20
Release: 3mamba
Release: 4mamba
Summary: An open source x/y/zmodem implementation
Group: Applications/Communication
Vendor: openmamba
@ -12,50 +12,57 @@ Patch0: %{name}-0.12.20-fix_destdir.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libnsl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
lrzsz is a unix communication package providing the XMODEM, YMODEM ZMODEM file transfer protocols. lrzsz is a heavily rehacked version of the last public domain release of Omen Technologies rzsz package, and is now free software and released under the GNU General Public Licence.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
%configure
%configure \
--disable-pubdir \
--enable-syslog \
--program-transform-name=s/l//
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
for a in rb rx rz sb sx sz; do
ln -s l$a %{buildroot}%{_bindir}/$a
done
#for a in rb rx rz sb sx sz; do
# ln -s l$a %{buildroot}%{_bindir}/$a
#done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/lrb
%{_bindir}/lrx
%{_bindir}/lrz
%{_bindir}/lsb
%{_bindir}/lsx
%{_bindir}/lsz
%{_bindir}/rb
%{_bindir}/rx
%{_bindir}/rz
%{_bindir}/sb
%{_bindir}/sx
%{_bindir}/sz
%{_mandir}/man1/lrz.1.gz
%{_mandir}/man1/lsz.1.gz
%doc AUTHORS COPYING ChangeLog NEWS README README.cvs README.gettext
%doc README.isdn4linux README.tests THANKS TODO
%{_mandir}/man1/rz.1*
%{_mandir}/man1/sz.1*
%doc AUTHORS COPYING
#ChangeLog NEWS README README.cvs README.gettext
#%doc README.isdn4linux README.tests THANKS TODO
%changelog
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.20-4mamba
- rebuilt with --program-transform-name=s/l// to fix conflict with lrzip; added debug package
* Sun Aug 25 2013 Automatic Build System <autodist@mambasoft.it> 0.12.20-3mamba
- automatic rebuild by autodist