rebuilt with pulseaudio 4.0 (x86_64) [release 0.30-2mamba;Fri Mar 07 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 03:56:53 +01:00
parent 2bc3869d01
commit 6fdf8bc84d
3 changed files with 264 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libcanberra
libcanberra 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.

View File

@ -0,0 +1,24 @@
diff -Nru libcanberra-0.10/src/Makefile.am libcanberra-0.10/src-gil/Makefile.am
--- libcanberra-0.10/src/Makefile.am 2008-12-02 19:25:47.000000000 +0100
+++ libcanberra-0.10/src-gil/Makefile.am 2008-12-02 19:31:01.000000000 +0100
@@ -22,7 +22,7 @@
gnomeshutdowndir = $(datadir)/gnome/shutdown
-gnomeautostartdir = $(datadir)/gnome/autostart
+gnomeautostartdir = /opt/kde3/share/autostart
AM_CFLAGS = $(PTHREAD_CFLAGS) -DCA_PLUGIN_PATH=\"$(plugindir)\"
AM_CXXFLAGS = $(PTHREAD_CFLAGS)
diff -Nru libcanberra-0.10/src/Makefile.in libcanberra-0.10/src-gil/Makefile.in
--- libcanberra-0.10/src/Makefile.in 2008-12-02 19:25:47.000000000 +0100
+++ libcanberra-0.10/src-gil/Makefile.in 2008-12-02 19:30:33.000000000 +0100
@@ -522,7 +522,7 @@
gtkmoduledir = @GTK_MODULES_DIR@
plugindir = $(libdir)/libcanberra
gnomeshutdowndir = $(datadir)/gnome/shutdown
-gnomeautostartdir = $(datadir)/gnome/autostart
+gnomeautostartdir = /opt/kde3/share/autostart
AM_CFLAGS = $(PTHREAD_CFLAGS) -DCA_PLUGIN_PATH=\"$(plugindir)\"
AM_CXXFLAGS = $(PTHREAD_CFLAGS)
AM_LDADD = $(PTHREAD_LIBS)

238
libcanberra.spec Normal file
View File

@ -0,0 +1,238 @@
Name: libcanberra
Version: 0.30
Release: 2mamba
Summary: Portable Sound Event Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
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: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
%if "%{stage1}" != "1"
BuildRequires: libpulseaudio-devel
%endif
BuildRequires: libselinux-devel
BuildRequires: libtdb-devel
BuildRequires: libvorbis-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
BuildRequires: udev-devel
## AUTOBUILDREQ-END
BuildRequires: libtdb-devel
BuildRequires: GConf-devel
BuildRequires: libpulseaudio-devel >= 4.0
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 need for development.
%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 \
--enable-alsa \
--enable-null \
--with-builtin=dso \
--disable-schemas-install \
--enable-static
%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
%files
%defattr(-,root,root)
%{_bindir}/canberra-boot
/lib/systemd/system/canberra-system-bootup.service
/lib/systemd/system/canberra-system-shutdown-reboot.service
/lib/systemd/system/canberra-system-shutdown.service
%{_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
%files static
%defattr(-,root,root)
%{_libdir}/libcanberra-%{version}/libcanberra-*.a
%{_libdir}/libcanberra-%{version}/libcanberra-*.la
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.a
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.la
%{_libdir}/*.a
%{_libdir}/*.la
%files gtk2
%defattr(-,root,root)
#%{_sysconfdir}/gconf/schemas/libcanberra.schemas
%{_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
* Fri Mar 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-2mamba
- rebuilt with pulseaudio 4.0 (x86_64)
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 0.30-1mamba
- automatic version update by autodist
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 0.29-1mamba
- update to 0.29
* Wed Apr 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.28-1mamba
- update to 0.28
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 0.25-1mamba
- automatic update by autodist
* Sun May 09 2010 Automatic Build System <autodist@mambasoft.it> 0.24-1mamba
- automatic update by autodist
* Mon Aug 31 2009 Automatic Build System <autodist@mambasoft.it> 0.16-1mamba
- automatic update by autodist
* Mon Aug 10 2009 Automatic Build System <autodist@mambasoft.it> 0.15-1mamba
- automatic update by autodist
* Fri Jul 03 2009 Automatic Build System <autodist@mambasoft.it> 0.14-1mamba
- automatic update by autodist
* Wed Jun 24 2009 Automatic Build System <autodist@mambasoft.it> 0.13-1mamba
- automatic update by autodist
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 0.12-2mamba
- automatic rebuild by autodist
* Thu Apr 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-1mamba
- automatic update by autodist
* Sat Mar 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-1mamba
- automatic update by autodist
* Tue Dec 02 2008 gil <puntogil@libero.it> 0.10-1mamba
- package created by autospec