Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 92ce4438467148f70bfaca224dc0f317 > files > 3

rplay-3.3.2-2mdv2007.0.src.rpm

%define name rplay
%define version 3.3.2
%define release %mkrel 2

%define libname %{_lib}%{name}
%define libnamedevel %{_lib}%{name}-devel

Summary: A flexible network audio system
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{name}-%{version}.tar.bz2
Patch0: rplay-3.3.2-use-gnu.patch.bz2
License: GPL
Group: Sound
Url: http://rplay.doit.org/
BuildRoot: %{_tmppath}/%{name}-buildroot
Requires(pre): rpm-helper
Requires(preun): rpm-helper

%description
rplay is a flexible network audio system that allows sounds to be
played to and from local and remote Unix systems.  Sounds can be
played with or without sending audio data over the network using
either UDP or TCP.  rplay audio servers can be configured to share
sound files with each other.

Support for rplay is included in several applications.  These include
xpilot, xlockmore, xboing, fvwm, and ctwm.

%package -n %{libname}
Group: Sound
Summary: The rplay libraries

%description -n %{libname}
rplay is a flexible network audio system that allows sounds to be
played to and from local and remote Unix systems.  Sounds can be
played with or without sending audio data over the network using
either UDP or TCP.  rplay audio servers can be configured to share
sound files with each other.

Support for rplay is included in several applications.  These include
xpilot, xlockmore, xboing, fvwm, and ctwm.

%package -n %{libnamedevel}
Group: Sound
Summary: The rplay libraries
Requires: %{libname} = %{version}
Provides: %{name}-devel = %{version}-%{release}

%description -n %{libnamedevel}
rplay is a flexible network audio system that allows sounds to be
played to and from local and remote Unix systems.  Sounds can be
played with or without sending audio data over the network using
either UDP or TCP.  rplay audio servers can be configured to share
sound files with each other.

Support for rplay is included in several applications.  These include
xpilot, xlockmore, xboing, fvwm, and ctwm.

%prep
%setup -q
%patch0 -p0 -b .usegnu

%build
%configure

%make

%install
%makeinstall

%post
%_install_info %{name}.info
%_install_info librplay.info
%_install_info RPTP.info
%_install_info RPLAY.info

%preun
%_remove_install_info %{name}.info
%_remove_install_info librplay.info
%_remove_install_info RPTP.info
%_remove_install_info RPLAY.info

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc ChangeLog NEWS PORTING README README.linux TODO
%{_bindir}/*
%{_mandir}/*/*
%{_infodir}/*

%files -n %{libname}
%defattr(-,root,root)
%doc ChangeLog NEWS PORTING README README.linux TODO
%{_libdir}/*.so

%files -n %{libnamedevel}
%defattr(-,root,root)
%doc ChangeLog NEWS PORTING README README.linux TODO
%{_includedir}/*
%{_libdir}/*.a

%changelog
* Sun Aug 13 2006 Olivier Thauvin <nanardon@mandriva.org>
+ 08/13/06 21:36:07 (55853)
- rebuild

* Sun Aug 13 2006 Olivier Thauvin <nanardon@mandriva.org>
+ 08/13/06 21:34:25 (55852)
Import rplay

* Tue Nov 15 2005 Olivier Thauvin <nanardon@mandriva.org> 3.3.2-1mdk
- Initial contrib