Name: libcanberra Version: 0.30 Release: 8mamba Summary: Portable Sound Event Library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://0pointer.de/lennart/projects/libcanberra/ Source: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.xz Patch: libcanberra-0.10-autostart.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libalsa-devel BuildRequires: libatk-devel BuildRequires: libblkid-devel BuildRequires: libbsd-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libdw-devel BuildRequires: libelf-devel BuildRequires: libexpat-devel BuildRequires: libffi-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libfribidi-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgraphite2-devel BuildRequires: libgstreamer-devel BuildRequires: libgtk-devel BuildRequires: libgtk2-devel BuildRequires: libharfbuzz-devel BuildRequires: libltdl-devel BuildRequires: liblzma-devel BuildRequires: libmount-devel BuildRequires: libogg-devel BuildRequires: libpango-devel BuildRequires: libpcre-devel BuildRequires: libpng-devel %if "%{stage1}" != "1" BuildRequires: libpulseaudio-devel %endif BuildRequires: libselinux-devel BuildRequires: libsepol-devel BuildRequires: libtdb-devel BuildRequires: libthai-devel BuildRequires: libunwind-devel BuildRequires: libuuid-devel BuildRequires: libvorbis-devel BuildRequires: libxcb-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libpulseaudio-devel >= 12.2-1mamba BuildRequires: libtdb-devel BuildRequires: GConf-devel Requires: sound-theme-freedesktop BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. %package devel Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-gtk2 = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name}-gtk3 = %{?epoch:%epoch:}%{version}-%{release} %description devel %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. This package contains libraries and header files need for development. %package static Group: Development/Libraries Summary: Static libraries for %{name} Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. This package contains static libraries needed for development. %package system-bootup-sounds Group: Applications/Multimedia Summary: Provides sounds for system bootup, shutdown and reboot Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description system-bootup-sounds %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. This package provides sounds for system bootup, shutdown and reboot. %package gtk2 Group: System/Libraries Summary: Gtk2 Bindings for libcanberra Requires: %{name} = %{version}-%{release} %description gtk2 %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. This package contains Gtk2 bindings for %{name}. %package gtk3 Group: System/Libraries Summary: Gtk3 Bindings for libcanberra Requires: %{name} = %{version}-%{release} %description gtk3 %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. This package contains Gtk3 bindings for %{name}. %package apidocs Summary: %{name} API documentation Group: Documentation Requires: gtk-doc Requires: %{name} = %{version}-%{release} %description apidocs %{name} is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, OSS, GStreamer, null) and is designed to be portable. This package contains %{name} API documentation. %prep %setup -q #%patch -p1 %build %configure \ --disable-static \ --enable-alsa \ --enable-null \ --enable-gstreamer \ --enable-pulse \ --enable-oss \ --with-builtin=dso \ --disable-schemas-install \ --with-systemdsystemunitdir=%{_unitdir} # --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -rf %{buildroot}%{_datadir}/doc/libcanberra %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post system-bootup-sounds /sbin/ldconfig %systemd_post canberra-system-bootup %systemd_post canberra-system-shutdown-reboot %systemd_post canberra-system-shutdown : %preun system-bootup-sounds %systemd_preun canberra-system-bootup %systemd_preun canberra-system-shutdown-reboot %systemd_preun canberra-system-shutdown : %postun system-bootup-sounds %systemd_postun canberra-system-bootup %systemd_postun canberra-system-shutdown-reboot %systemd_postun canberra-system-shutdown : %files %defattr(-,root,root) %{_bindir}/canberra-boot %{_libdir}/libcanberra-gtk.so.* %{_libdir}/libcanberra.so.* %dir %{_libdir}/libcanberra-%{version} %{_libdir}/libcanberra-%{version}/libcanberra-alsa.so %{_libdir}/libcanberra-%{version}/libcanberra-gstreamer.so %{_libdir}/libcanberra-%{version}/libcanberra-multi.so %{_libdir}/libcanberra-%{version}/libcanberra-null.so %{_libdir}/libcanberra-%{version}/libcanberra-oss.so %if "%{stage1}" != "1" %{_libdir}/libcanberra-%{version}/libcanberra-pulse.so %endif %{_datadir}/vala/vapi/libcanberra.vapi %doc README LGPL %files devel %defattr(-,root,root) %dir %{_includedir} %{_includedir}/*.h %{_libdir}/libcanberra.so %{_libdir}/libcanberra-gtk.so %{_libdir}/libcanberra-gtk3.so %{_libdir}/pkgconfig/*.pc %{_libdir}/libcanberra-%{version}/libcanberra-*.la %{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.la %{_libdir}/*.la %files system-bootup-sounds %defattr(-,root,root) %{_unitdir}/canberra-system-bootup.service %{_unitdir}/canberra-system-shutdown-reboot.service %{_unitdir}/canberra-system-shutdown.service %files gtk2 %defattr(-,root,root) %{_bindir}/canberra-gtk-play %{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so %{_datadir}/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop %{_datadir}/gnome/autostart/libcanberra-login-sound.desktop %{_datadir}/gnome/shutdown/libcanberra-logout-sound.sh %{_datadir}/vala/vapi/libcanberra-gtk.vapi %files gtk3 %defattr(-,root,root) %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop %{_libdir}/libcanberra-gtk3.so.* %{_libdir}/gtk-3.0/modules/libcanberra-gtk-module.so %{_libdir}/gtk-3.0/modules/libcanberra-gtk3-module.* %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/libcanberra %{_datadir}/gtk-doc/html/libcanberra/*.png %{_datadir}/gtk-doc/html/libcanberra/*.html %{_datadir}/gtk-doc/html/libcanberra/*.sgml #%{_datadir}/gtk-doc/html/libcanberra/libcanberra.devhelp %{_datadir}/gtk-doc/html/libcanberra/libcanberra.devhelp2 %{_datadir}/gtk-doc/html/libcanberra/style.css %changelog * Sun Oct 20 2019 Silvan Calarco 0.30-8mamba - package system-bootup sounds services apart * Sat Jan 19 2019 Silvan Calarco 0.30-7mamba - rebuilt with more configure options; disable static build * Sat Aug 11 2018 Silvan Calarco 0.30-6mamba - rebuilt with pulseaudio 12.2 * Sat Jun 25 2016 Automatic Build System 0.30-5mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=9.0-1mamba * Sat Apr 02 2016 Silvan Calarco 0.30-4mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=8.0-1mamba * Sun Mar 15 2015 Silvan Calarco 0.30-3mamba - rebuilt by autoport with build requirements: libpulseaudio-devel>=6.0-1mamba * Fri Mar 07 2014 Silvan Calarco 0.30-2mamba - rebuilt with pulseaudio 4.0 (x86_64) * Thu Oct 11 2012 Automatic Build System 0.30-1mamba - automatic version update by autodist * Mon Aug 06 2012 Automatic Build System 0.29-1mamba - update to 0.29 * Wed Apr 20 2011 Silvan Calarco 0.28-1mamba - update to 0.28 * Sat Jun 26 2010 Automatic Build System 0.25-1mamba - automatic update by autodist * Sun May 09 2010 Automatic Build System 0.24-1mamba - automatic update by autodist * Mon Aug 31 2009 Automatic Build System 0.16-1mamba - automatic update by autodist * Mon Aug 10 2009 Automatic Build System 0.15-1mamba - automatic update by autodist * Fri Jul 03 2009 Automatic Build System 0.14-1mamba - automatic update by autodist * Wed Jun 24 2009 Automatic Build System 0.13-1mamba - automatic update by autodist * Wed May 20 2009 Automatic Build System 0.12-2mamba - automatic rebuild by autodist * Thu Apr 16 2009 Silvan Calarco 0.12-1mamba - automatic update by autodist * Sat Mar 07 2009 Silvan Calarco 0.11-1mamba - automatic update by autodist * Tue Dec 02 2008 gil 0.10-1mamba - package created by autospec