File rzsz.spec of Package rzsz

#
# spec file for package rzsz (Version 0.12.20)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           rzsz
License:        GPL v2 or later
Group:          Hardware/Modem
Provides:       lrzsz 
AutoReqProv:    on
Url:            http://www.ohse.de/uwe/software/lrzsz.html
Version:        0.12.20
Release:        934
Summary:        X-, Y-, and Z-Modem Data Transfer Protocols
Source:         http://www.ohse.de/uwe/releases/lrzsz-%{version}.tar.bz2
Patch:          lrzsz-%{version}.dif
Patch1:         lrzsz-po.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
rzsz allows you to use "sz filename" to send a file to your local
system.



%prep
%setup -n lrzsz-%{version}
%patch
%patch1

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \
        --mandir=%{_mandir} \
	--program-transform-name=sx^lxx
make 

%install
make prefix=$RPM_BUILD_ROOT/usr \
     mandir=$RPM_BUILD_ROOT/%{_mandir} install
%find_lang lrzsz

%clean
rm -rf $RPM_BUILD_ROOT

%files -f lrzsz.lang
%defattr(-,root,root)
%{_mandir}/man1/rz.1.gz
%{_mandir}/man1/sz.1.gz
%doc README.* ABOUT-NLS AUTHORS COMPATABILITY COPYING ChangeLog NEWS THANKS TODO
/usr/bin/rb
/usr/bin/rx
/usr/bin/rz
/usr/bin/sb
/usr/bin/sx
/usr/bin/sz

%changelog
* Mon Feb 25 2008 crrodriguez@suse.de
- use find_lang macro
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jun 17 2005 meissner@suse.de
- use RPM_OPT_FLAGS.
* Mon Jan 24 2005 meissner@suse.de
- fixed some implicit warnings, fixed one execle.
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Thu Aug 22 2002 nadvornik@suse.cz
- installed /usr/bin/sx again (sx from package sp was renamed)
* Mon Jan 22 2001 nadvornik@suse.cz
- fixed typo in german po file
* Mon Oct 09 2000 nadvornik@suse.cz
- fixed Copyright
- used bzip2
* Thu Apr 20 2000 nadvornik@suse.cz
- added BuildRoot
- added URL
- removed Makefile.Linux
* Thu Mar 02 2000 zoz@suse.de
- /usr/man -> /usr/share/man
* Fri Oct 01 1999 zoz@suse.de
- manpage sx removed, added remark to man sz
- added README.SuSE with same remark
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Mar 01 1999 ro@suse.de
- don't redeclare strstr if already defined as a macro
* Wed Jan 20 1999 bs@suse.de
- removed /usr/bin/sx from file list (is in package sp)
* Tue Jan 19 1999 florian@suse.de
- update to lrzsz 0.12.20
- fixed list of files
* Sun Sep 27 1998 ro@suse.de
- define DST_NONE if undefined
* Thu Oct 23 1997 ro@suse.de
- ready for autobuild
  update to new version lrzsz 0.12b
openSUSE Build Service is sponsored by