libesound/libesound.spec

100 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
Name: libesound
Version: 0.2.41
Release: 1mamba
Summary: Mixes multiple digitized audio streams and samples together for playback by a single audio device
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.tux.org/~ricdude/EsounD.html
Source: ftp://ftp.gnome.org/pub/GNOME/sources/esound/%{majversion}/esound-%{version}.tar.bz2
Source1: esound-0.2.38-conf
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libaudiofile-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libaudiofile-devel >= 0.2.6
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
EsounD mixes multiple digitized audio streams and samples together for playback by a single audio device.
It also allows monitoring of mixed output, and recording. Network connections to the daemon are supported as well.
%package devel
Summary: Development files for libesound
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
EsounD mixes multiple digitized audio streams and samples together for playback by a single audio device.
It also allows monitoring of mixed output, and recording. Network connections to the daemon are supported as well.
This is the development package.
%prep
%setup -q -n esound-%{version}
%build
%configure \
--with-audiofile \
--enable-ipv6 \
--enable-oss \
--disable-alsa \
--disable-arts \
CFLAGS="-lm"
# --enable-alsa
# --enable-arts
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install %{SOURCE1} %{buildroot}%{_sysconfdir}/esd.conf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%config %{_sysconfdir}/esd.conf
%{_bindir}/*
%{_mandir}/man1/*
%{_libdir}/*.so.*
%doc AUTHORS ChangeLog COPYING.LIB MAINTAINERS NEWS README TIPS TODO
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/esound.pc
%{_datadir}/aclocal/esd.m4
%{_docdir}/esound/*.html
%{_includedir}/esd.h
%changelog
* Thu Jan 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.41-1mamba
- automatic update by autodist
* Wed Aug 01 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.38-1mamba
- update to 0.2.38
- rebuilt with oss support
* Mon Aug 29 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.36-1qilnx
- update to version 0.2.36 by autospec
* Wed Jun 01 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.2.35-1qilnx
- update to version 0.2.35 by autospec
- specfile updates and fixes
* Fri Mar 05 2004 Silvan Calarco <silvan.calarco@qinet.it> 0.2.33-1qilnx
- first build