File buffer.spec of Package buffer

#
# spec file for package buffer (Version 1.19)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           buffer
License:        GPL v2 or later
Group:          System/Base
AutoReqProv:    on
Version:        1.19
Release:        843
Summary:        Buffering stdin and stdout
Source:         buffer-%{version}.tar.gz
Patch:          buffer-%{version}.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This is a program designed to speed up writing tapes on remote tape
drives.  When this program is put "in the pipe," two processes are
started.  One process reads from standard-in and the other writes to
standard-out.  Both processes communicate via shared memory.



Authors:
--------
    Lee McLoughlin <L.McLoughlin@doc.ic.ac.uk>

%prep
%setup
%patch

%build
make CFLAGS="$RPM_OPT_FLAGS"

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT%{_mandir}/man1
make install INSTBIN=$RPM_BUILD_ROOT/usr/bin \
     	     INSTMAN=$RPM_BUILD_ROOT%{_mandir}/man1 S=1

%files
%defattr(-,root,root)
%attr(755,root,root) /usr/bin/buffer
%doc %{_mandir}/man1/buffer.1.gz

%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jul 05 2005 schwab@suse.de
- Add missing includes.
- Fix printf format.
* Thu Sep 16 2004 schwab@suse.de
- Fix return type.
* Tue Jan 20 2004 schwab@suse.de
- Remove conflicting declaration.
* Wed Apr 23 2003 schwab@suse.de
- Use BuildRoot.
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Mon Sep 25 2000 schwab@suse.de
- Add group tag.
* Thu Jan 20 2000 schwab@suse.de
- /usr/man -> /usr/share/man
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Fri Aug 27 1999 schwab@suse.de
- update to 1.19
* Mon Nov 09 1998 ro@suse.de
- cast argument for semctl to union semun
* Thu Aug 27 1998 ro@suse.de
- define sem_semun for glibc
openSUSE Build Service is sponsored by