Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > e388b194e976c9558f573a56085e48c3 > files > 2

beep-1.2.2-7mdv2007.0.src.rpm

Summary:	Beep the pc speaker any number of ways
Name:		beep
Version:	1.2.2
Release:	%mkrel 7
License:	GPL
Group:		Sound
URL:		http://www.johnath.com/beep/
Source0:	http://www.johnath.com/beep/%{name}-%{version}.tar.bz2
Patch0:		beep_1.2.2-17.diff
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
Beep allows the user to control the pc-speaker with precision,
allowing different sounds to indicate different events. While it
can be run quite happily on the commandline, it's intended place
of residence is within shell/perl scripts, notifying the user when
something interesting occurs. Of course, it has no notion of
what's interesting, but it's real good at that notifying part.

%prep

%setup -q
%patch0 -p1

%build

gcc %{optflags} -Wall -o beep beep.c

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}/man1
install -m 755 beep %{buildroot}/%{_bindir}/
gunzip beep.1.gz
install -m 644 beep.1 %{buildroot}%{_mandir}/man1/

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGELOG COPYING CREDITS README
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Mon Jun 26 2006 Oden Eriksson <oeriksson@mandriva.com> 1.2.2-7mdv2007.0
- added one patch by debian

* Fri May 13 2005 Oden Eriksson <oeriksson@mandriva.com> 1.2.2-6mdk
- rebuild

* Wed Apr 07 2004 Michael Scherer <misc@mandrake.org> 1.2.2-5mdk 
- Build release

* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.2-4mdk
- build release

* Sun Aug  4 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.2-3mdk
- rebuilt with gcc-3.2

* Mon May 20 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.2-2mdk
- rebuilt with gcc3.1

* Fri Apr  5 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.2-1mdk
- new version

* Mon Nov 26 2001 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.2.1-2mdk
- rpmlint fixes
- re-added into cooker contribs

* Thu Nov 23 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.2.1-1mdk
- used srpm from Ryan Weaver <ryanw@infohwy.com> 
- new in contribs

* Sun Aug  6 2000 Ryan Weaver <ryanw@infohwy.com>
- installing beep with setuid so that users other than root
  can use it.
  [beep-1.2.1-1]
- fixed segfault when handling long options.

* Thu Jul 27 2000 Ryan Weaver <ryanw@infohwy.com>
  [beep-1.2.0-1]
- added -n/--new support - so beep FINALLY handles multiple
  beeps on a single command line.
- -f now takes decimal frequencies, not just whole numbers.

* Wed Jul 12 2000 Ryan Weaver <ryanw@infohwy.com>
- Initial RPM Build.
- Patched Makefile to make rpm build easier.

  [beep-1.0.2-1]
- Added more common -V option, as companion to -v and --version
- README now addresses the question of multiple beeps, and
  composing music with beep.

  [beep-1.0.1-1]
- Fixed some outdated comments in the source, and a typo in the man page.

  [beep-1.0.0-1]
- added a SIGINT handler, so Ctrl-C no longer leaves the speaker
  wailing forever
- added -v/--version and -h/--help support
- updated man page
- this release is changed from 0.8 to 1.0.0, it's worthy of it.
  Feature complete and no outstanding bugs that I know of.

  [beep-0.6.1-1]
- changed man page to gzip format (instead of bzip2)
- updated man page and README to explain ioctl problems

  [beep-0.6-1]
- added -D option. Both -d and -D set inter-repetition delay,
  but -D instructs beep to delay even after the last beep,
  where -d delays only between beeps, and terminates immediately
  after last beep.
- incorporated Rick Franchuk's idea of stdin hooks - dear god -c is annoying.
- added a man page

  [beep-0.5-1]
- changed over from manually parsing command line parms to getopt()
- changed atoi() calls into sscanf() calls, to get more meaningful error 
  handling

  [beep-0.4-1]
- first useable
- initial options supported: -f, -l, -d, -r