This commit is contained in:
commit
5e1429dae2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libcanberra-0.8.tar.bz2
Normal file
3
libcanberra-0.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39cf8627cff99b80ba106a3b852465bcc61cd258fe698d21e49e68c1e5779fe9
|
||||
size 571299
|
10
libcanberra-gtk-module.sh
Normal file
10
libcanberra-gtk-module.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$GTK_MODULES" ] ; then
|
||||
GTK_MODULES="canberra-gtk-module"
|
||||
else
|
||||
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
|
||||
fi
|
||||
|
||||
export GTK_MODULES
|
||||
|
37
libcanberra.changes
Normal file
37
libcanberra.changes
Normal file
@ -0,0 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 29 12:36:49 CEST 2008 - rodrigo@suse.de
|
||||
|
||||
- Update to version 0.8:
|
||||
+ New OSS and GStreamer backends
|
||||
+ Portability fixes for FreeBSD/Solaris
|
||||
+ Multi backend works now
|
||||
- Splitted packages a bit more, adding a -gtk subpackage to contain
|
||||
the GTK stuff
|
||||
- Renamed -gtk2 subpackage to -gtk0
|
||||
- Some other fixes in the .spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 12:59:51 CEST 2008 - rodrigo@suse.de
|
||||
|
||||
- BuildRequire update-desktop-files
|
||||
- Added missing %description for libcanberra
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 10:37:21 CEST 2008 - rodrigo@suse.de
|
||||
|
||||
- Fixed rpmlint errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 27 16:58:19 CEST 2008 - rodrigo@suse.de
|
||||
|
||||
- Don't remove README file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 27 15:53:12 CEST 2008 - rodrigo@suse.de
|
||||
|
||||
- Fixed Source file name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 27 13:50:58 CEST 2008 - rodrigo@suse.de
|
||||
|
||||
- First package of libcanberra, needed for new gnome-control-center
|
256
libcanberra.spec
Normal file
256
libcanberra.spec
Normal file
@ -0,0 +1,256 @@
|
||||
#
|
||||
# spec file for package libcanberra (Version 0.8)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: libcanberra
|
||||
Summary: Portable sound event library
|
||||
BuildRequires: alsa-devel gstreamer-0_10-devel gtk-doc gtk2-devel libpulse-devel >= 0.9.11 libvorbis-devel lynx update-desktop-files
|
||||
Url: http://0pointer.de/lennart/projects/libcanberra/
|
||||
License: LGPL v2.0 or later
|
||||
Version: 0.8
|
||||
Release: 2
|
||||
Group: System/Libraries
|
||||
Source: libcanberra-%{version}.tar.bz2
|
||||
Source1: libcanberra-gtk-module.sh
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define debug_package_requires libcanberra0 = %{version}-%{release}
|
||||
|
||||
%package -n libcanberra0
|
||||
License: LGPL v2.0 or later
|
||||
Summary: Portable sound event library
|
||||
Group: System/Libraries
|
||||
Requires: sound-theme-freedesktop
|
||||
Requires: libpulse0 >= 0.9.11
|
||||
|
||||
%description
|
||||
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, null) and is
|
||||
designed to be portable. It consists of the following parts:
|
||||
|
||||
1. 1. libcanberra: the main library
|
||||
|
||||
|
||||
2. 2. libcanberra-gtk: some glue code to make it easier to use
|
||||
libcanberra from Gtk+ applications
|
||||
|
||||
|
||||
3. 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
|
||||
trigger input feedback event sounds
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lennart Poettering
|
||||
|
||||
%description -n libcanberra0
|
||||
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, null) and is
|
||||
designed to be portable. It consists of the following parts:
|
||||
|
||||
1. 1. libcanberra: the main library
|
||||
|
||||
|
||||
2. 2. libcanberra-gtk: some glue code to make it easier to use
|
||||
libcanberra from Gtk+ applications
|
||||
|
||||
|
||||
3. 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
|
||||
trigger input feedback event sounds
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lennart Poettering
|
||||
|
||||
%package gtk0
|
||||
License: LGPL v2.0 or later
|
||||
Summary: Portable sound event library
|
||||
Group: System/Libraries
|
||||
Requires: libcanberra0 = %{version}-%{release}
|
||||
|
||||
%description gtk0
|
||||
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, null) and is
|
||||
designed to be portable. It consists of the following parts:
|
||||
|
||||
1. 1. libcanberra: the main library
|
||||
|
||||
|
||||
2. 2. libcanberra-gtk: some glue code to make it easier to use
|
||||
libcanberra from Gtk+ applications
|
||||
|
||||
|
||||
3. 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
|
||||
trigger input feedback event sounds
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lennart Poettering
|
||||
|
||||
%package gtk
|
||||
License: LGPL v2.0 or later
|
||||
Summary: Portable sound event library
|
||||
Group: System/Libraries
|
||||
Requires: libcanberra0 = %{version}-%{release}
|
||||
|
||||
%description gtk
|
||||
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, null) and is
|
||||
designed to be portable. It consists of the following parts:
|
||||
|
||||
1. 1. libcanberra: the main library
|
||||
|
||||
|
||||
2. 2. libcanberra-gtk: some glue code to make it easier to use
|
||||
libcanberra from Gtk+ applications
|
||||
|
||||
|
||||
3. 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
|
||||
trigger input feedback event sounds
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lennart Poettering
|
||||
|
||||
%package devel
|
||||
License: LGPL v2.0 or later
|
||||
Summary: Portable sound event library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libcanberra0 = %{version}
|
||||
Requires: pkgconfig
|
||||
Requires: gtk-doc
|
||||
Requires: gtk2-devel
|
||||
|
||||
%description devel
|
||||
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, null) and is
|
||||
designed to be portable. It consists of the following parts:
|
||||
|
||||
1. 1. libcanberra: the main library
|
||||
|
||||
|
||||
2. 2. libcanberra-gtk: some glue code to make it easier to use
|
||||
libcanberra from Gtk+ applications
|
||||
|
||||
|
||||
3. 3. libcanberra-gtk-module: a Gtk+ module that uses libcanberra-gtk to
|
||||
trigger input feedback event sounds
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Lennart Poettering
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath --enable-pulse --enable-alsa --enable-null --with-builtin=dso
|
||||
%__make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%suse_update_desktop_file $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/libcanberra-login-sound.desktop
|
||||
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
|
||||
install -D -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libcanberra/libcanberra-multi.so
|
||||
rm $RPM_BUILD_ROOT%{_datadir}/doc/libcanberra/README
|
||||
|
||||
%post -n libcanberra0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libcanberra0 -p /sbin/ldconfig
|
||||
|
||||
%post gtk0 -p /sbin/ldconfig
|
||||
|
||||
%postun gtk0 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -n libcanberra0
|
||||
%defattr(-,root,root)
|
||||
%doc README LGPL
|
||||
%{_libdir}/libcanberra.so.*
|
||||
%dir %{_libdir}/libcanberra
|
||||
%{_libdir}/libcanberra/libcanberra-alsa.so
|
||||
%{_libdir}/libcanberra/libcanberra-gstreamer.so
|
||||
%{_libdir}/libcanberra/libcanberra-null.so
|
||||
%{_libdir}/libcanberra/libcanberra-oss.so
|
||||
%{_libdir}/libcanberra/libcanberra-pulse.so
|
||||
|
||||
%files gtk0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcanberra-gtk.so.*
|
||||
|
||||
%files gtk
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so
|
||||
%dir %{_sysconfdir}/X11/xinit
|
||||
%dir %{_sysconfdir}/X11/xinit/xinitrc.d
|
||||
%{_sysconfdir}/X11/xinit/xinitrc.d/libcanberra-gtk-module.sh
|
||||
%{_bindir}/canberra-gtk-play
|
||||
%dir %{_datadir}/gnome
|
||||
%dir %{_datadir}/gnome/autostart
|
||||
%{_datadir}/gnome/autostart/libcanberra-login-sound.desktop
|
||||
%dir %{_datadir}/gnome/shutdown
|
||||
%{_datadir}/gnome/shutdown/libcanberra-logout-sound.sh
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_datadir}/gtk-doc/html/libcanberra
|
||||
%{_includedir}/canberra-gtk.h
|
||||
%{_includedir}/canberra.h
|
||||
%{_libdir}/libcanberra-gtk.so
|
||||
%{_libdir}/libcanberra.so
|
||||
%{_libdir}/pkgconfig/libcanberra-gtk.pc
|
||||
%{_libdir}/pkgconfig/libcanberra.pc
|
||||
|
||||
%changelog
|
||||
* Fri Aug 29 2008 rodrigo@suse.de
|
||||
- Update to version 0.8:
|
||||
+ New OSS and GStreamer backends
|
||||
+ Portability fixes for FreeBSD/Solaris
|
||||
+ Multi backend works now
|
||||
- Splitted packages a bit more, adding a -gtk subpackage to contain
|
||||
the GTK stuff
|
||||
- Renamed -gtk2 subpackage to -gtk0
|
||||
- Some other fixes in the .spec file
|
||||
* Thu Aug 28 2008 rodrigo@suse.de
|
||||
- BuildRequire update-desktop-files
|
||||
- Added missing %%description for libcanberra
|
||||
* Thu Aug 28 2008 rodrigo@suse.de
|
||||
- Fixed rpmlint errors
|
||||
* Wed Aug 27 2008 rodrigo@suse.de
|
||||
- Don't remove README file
|
||||
* Wed Aug 27 2008 rodrigo@suse.de
|
||||
- Fixed Source file name
|
||||
* Wed Aug 27 2008 rodrigo@suse.de
|
||||
- First package of libcanberra, needed for new gnome-control-center
|
Loading…
Reference in New Issue
Block a user