Name: libcanberra Version: 0.30 Release: 1%{?dist} Summary: A implementation of the XDG Sound Theme and Name Specifications License: LGPL-2.1-or-later URL: http://0pointer.de/lennart/projects/libcanberra/ Source0: https://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.xz BuildRequires: gcc BuildRequires: make BuildRequires: alsa-lib-devel BuildRequires: libvorbis-devel BuildRequires: libtool-ltdl-devel BuildRequires: libtdb-devel BuildRequires: gettext-devel BuildRequires: systemd-devel %description libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops. Trimmed from Fedora's spec: no PulseAudio backend (not packaged on this server-focused target -- ALSA covers the same audio-notification need), no GTK2/GTK3/GStreamer subpackages, no gtk-doc. %package backend-alsa Summary: ALSA backend for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description backend-alsa The ALSA event sound backend for %{name}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %configure \ --disable-static \ --disable-pulse \ --enable-alsa \ --disable-gtk \ --disable-gstreamer \ --enable-null \ --disable-oss \ --with-builtin=dso \ --with-systemdsystemunitdir=%{_unitdir} %make_build %install %make_install find %{buildroot} \( -name '*.a' -o -name '*.la' \) -exec rm {} \; rm -f %{buildroot}%{_docdir}/libcanberra/README %files %license LGPL %doc README LGPL %{_libdir}/libcanberra.so.* %dir %{_libdir}/libcanberra-%{version} %{_libdir}/libcanberra-%{version}/libcanberra-null.so %{_libdir}/libcanberra-%{version}/libcanberra-multi.so %{_prefix}/lib/systemd/system/canberra-system-bootup.service %{_prefix}/lib/systemd/system/canberra-system-shutdown-reboot.service %{_prefix}/lib/systemd/system/canberra-system-shutdown.service %{_bindir}/canberra-boot %files backend-alsa %{_libdir}/libcanberra-%{version}/libcanberra-alsa.so %files devel %{_includedir}/canberra.h %{_libdir}/libcanberra.so %{_libdir}/pkgconfig/libcanberra.pc %changelog * Sat Aug 29 2026 Smech - 0.30-1 - Real upstream source, ALSA-only backend (no PulseAudio on this target), no GTK/GStreamer/docs