107 lines
3.0 KiB
RPMSpec
107 lines
3.0 KiB
RPMSpec
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
Name: libesound
|
|
Version: 0.2.41
|
|
Release: 2mamba
|
|
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: https://ftp.gnome.org/pub/GNOME/sources/esound
|
|
Source: https://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: libflac-devel
|
|
BuildRequires: libogg-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libaudiofile-devel >= 0.2.6
|
|
|
|
%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} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n esound-%{version}
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
|
|
%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
|
|
* Wed Dec 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.41-2mamba
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
* 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
|