package created using the webbuild interface [release 1.9.0-1mamba;Sun Nov 19 2023]
This commit is contained in:
parent
a63d75efd4
commit
f04d89e012
98
sndio.spec
Normal file
98
sndio.spec
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
Name: sndio
|
||||||
|
Version: 1.9.0
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A small audio and MIDI framework
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://sndio.org
|
||||||
|
Source: https://sndio.org/sndio-%{version}.tar.gz
|
||||||
|
License: ISC
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libalsa-devel
|
||||||
|
BuildRequires: libbsd-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
A small audio and MIDI framework.
|
||||||
|
|
||||||
|
%package -n lib%{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Shared libraries for %{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--libdir=%{_libdir} \
|
||||||
|
--pkgconfdir=%{_libdir}/pkgconfig \
|
||||||
|
--enable-alsa \
|
||||||
|
--with-libbsd
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
install -D -m 644 contrib/sndiod.service \
|
||||||
|
%{buildroot}%{_unitdir}/sndiod.service
|
||||||
|
install -D -m 644 contrib/default.sndiod \
|
||||||
|
%{buildroot}%{_sysconfdir}/default/sndiodì
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%config(noreplace) %{_sysconfdir}/default/sndiodì
|
||||||
|
%{_bindir}/aucat
|
||||||
|
%{_bindir}/midicat
|
||||||
|
%{_bindir}/sndioctl
|
||||||
|
%{_bindir}/sndiod
|
||||||
|
%{_unitdir}/sndiod.service
|
||||||
|
%{_mandir}/man1/aucat.1*
|
||||||
|
%{_mandir}/man1/midicat.1*
|
||||||
|
%{_mandir}/man1/sndioctl.1*
|
||||||
|
%{_mandir}/man8/sndiod.8*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libsndio.so.*
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/sndio.h
|
||||||
|
%{_libdir}/libsndio.so
|
||||||
|
%{_mandir}/man3/mio_*.3*
|
||||||
|
%{_mandir}/man3/sio_*.3*
|
||||||
|
%{_mandir}/man3/sioctl_*.3*
|
||||||
|
%{_mandir}/man7/sndio.7*
|
||||||
|
%{_libdir}/pkgconfig/sndio.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Nov 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user