File buffer.spec of Package buffer

#
# spec file for package buffer (Version 1.19)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#

# norootforbuild

Name:         buffer
License:      GPL
Group:        System/Base
Autoreqprov:  on
Version:      1.19
Release:      710
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 -n buffer
* 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