diff --git a/README.md b/README.md index 07ba083..af5667b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lrzsz +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. + diff --git a/lrzsz-0.12.20-fix_destdir.patch b/lrzsz-0.12.20-fix_destdir.patch new file mode 100644 index 0000000..d7fe7d6 --- /dev/null +++ b/lrzsz-0.12.20-fix_destdir.patch @@ -0,0 +1,20 @@ +diff -Nru lrzsz-0.12.20.orig/src/Makefile.in lrzsz-0.12.20/src/Makefile.in +--- lrzsz-0.12.20.orig/src/Makefile.in 1998-12-30 17:31:46.000000000 +0100 ++++ lrzsz-0.12.20/src/Makefile.in 2008-08-31 14:48:14.000000000 +0200 +@@ -372,13 +372,13 @@ + rm -f $(DESTDIR)/$(bindir)/`echo lsb | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lsb |sed -e '$(transform)'` +- rm -f $(bindir)/`echo lsx | sed -e '$(transform)'` ++ rm -f $(DESTDIR)/$(bindir)/`echo lsx | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lsz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lsx |sed -e '$(transform)'` +- rm -f $(bindir)/`echo lrb | sed -e '$(transform)'` ++ rm -f $(DESTDIR)/$(bindir)/`echo lrb | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lrb |sed -e '$(transform)'` +- rm -f $(bindir)/`echo lrx | sed -e '$(transform)'` ++ rm -f $(DESTDIR)/$(bindir)/`echo lrx | sed -e '$(transform)'` + ln $(DESTDIR)/$(bindir)/`echo lrz |sed -e '$(transform)'` \ + $(DESTDIR)/$(bindir)/`echo lrx |sed -e '$(transform)'` + # rm -f $(bindir)/`echo lrzszbug | sed -e '$(transform)'` diff --git a/lrzsz.spec b/lrzsz.spec new file mode 100644 index 0000000..51bcead --- /dev/null +++ b/lrzsz.spec @@ -0,0 +1,66 @@ +Name: lrzsz +Version: 0.12.20 +Release: 3mamba +Summary: An open source x/y/zmodem implementation +Group: Applications/Communication +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.ohse.de/uwe/software/lrzsz.html +Source: http://www.ohse.de/uwe/releases/lrzsz-%{version}.tar.gz +Patch0: %{name}-0.12.20-fix_destdir.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-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. + +%prep +%setup -q +%patch0 -p1 + +%build +%configure +%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 + +%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 + +%changelog +* Sun Aug 25 2013 Automatic Build System 0.12.20-3mamba +- automatic rebuild by autodist + +* Sun Aug 31 2008 Silvan Calarco 0.12.20-2mamba +- specfile updated + +* Fri Jan 19 2007 Silvan Calarco 0.12.20-1qilnx +- package created by autospec