|
|
5280a38 |
Name: libcanberra
|
|
|
417454a |
Version: 0.18
|
|
|
7c312fa |
Release: 2%{?dist}
|
|
|
5280a38 |
Summary: Portable Sound Event Library
|
|
|
5280a38 |
Group: System Environment/Libraries
|
|
|
3310f11 |
Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
|
|
|
edab1f6 |
License: LGPLv2+
|
|
|
5280a38 |
Url: http://git.0pointer.de/?p=libcanberra.git;a=summary
|
|
|
5280a38 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5280a38 |
BuildRequires: gtk2-devel
|
|
|
5280a38 |
BuildRequires: alsa-lib-devel
|
|
|
5280a38 |
BuildRequires: libvorbis-devel
|
|
|
5280a38 |
BuildRequires: libtool-ltdl-devel
|
|
|
5280a38 |
BuildRequires: gtk-doc
|
|
|
8701a5d |
BuildRequires: pulseaudio-libs-devel >= 0.9.15
|
|
|
93dbc9c |
BuildRequires: gstreamer-devel
|
|
|
e8d76ac |
BuildRequires: libtdb-devel
|
|
|
37747da |
BuildRequires: GConf2-devel
|
|
|
cecc75b |
BuildRequires: gettext-devel
|
|
|
788eee2 |
Requires: sound-theme-freedesktop
|
|
|
8701a5d |
Requires: pulseaudio-libs >= 0.9.15
|
|
|
5280a38 |
|
|
|
5280a38 |
%description
|
|
|
5280a38 |
A small and lightweight implementation of the XDG Sound Theme Specification
|
|
|
5280a38 |
(http://0pointer.de/public/sound-theme-spec.html).
|
|
|
5280a38 |
|
|
|
5280a38 |
%package gtk2
|
|
|
5280a38 |
Summary: Gtk+ Bindings for libcanberra
|
|
|
5280a38 |
Group: System Environment/Libraries
|
|
|
5280a38 |
Requires: %{name} = %{version}-%{release}
|
|
|
2b021c3 |
Requires(pre): GConf2
|
|
|
2b021c3 |
Requires(preun): GConf2
|
|
|
2b021c3 |
Requires(post): GConf2
|
|
|
5280a38 |
|
|
|
5280a38 |
%description gtk2
|
|
|
5280a38 |
Gtk+ bindings for libcanberra
|
|
|
5280a38 |
|
|
|
5280a38 |
%package devel
|
|
|
edab1f6 |
Summary: Development Files for libcanberra Client Development
|
|
|
5280a38 |
Group: Development/Libraries
|
|
|
5280a38 |
Requires: %{name} = %{version}-%{release}
|
|
|
5280a38 |
Requires: pkgconfig
|
|
|
5280a38 |
Requires: gtk-doc
|
|
|
788eee2 |
Requires: gtk2-devel
|
|
|
5280a38 |
|
|
|
5280a38 |
%description devel
|
|
|
edab1f6 |
Development Files for libcanberra Client Development
|
|
|
5280a38 |
|
|
|
5280a38 |
%post -p /sbin/ldconfig
|
|
|
5280a38 |
%postun -p /sbin/ldconfig
|
|
|
5280a38 |
|
|
|
37747da |
%post gtk2
|
|
|
37747da |
/sbin/ldconfig
|
|
|
37747da |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
37747da |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/libcanberra.schemas > /dev/null || :
|
|
|
37747da |
|
|
|
5280a38 |
%postun gtk2 -p /sbin/ldconfig
|
|
|
5280a38 |
|
|
|
37747da |
%pre gtk2
|
|
|
37747da |
if [ "$1" -gt 1 ]; then
|
|
|
37747da |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
37747da |
gconftool-2 --makefile-install-rule \
|
|
|
37747da |
%{_sysconfdir}/gconf/schemas/libcanberra.schemas >& /dev/null || :
|
|
|
37747da |
fi
|
|
|
37747da |
|
|
|
37747da |
%preun gtk2
|
|
|
37747da |
if [ "$1" -eq 0 ]; then
|
|
|
37747da |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
|
37747da |
gconftool-2 --makefile-uninstall-rule \
|
|
|
37747da |
%{_sysconfdir}/gconf/schemas/libcanberra.schemas >& /dev/null || :
|
|
|
37747da |
fi
|
|
|
37747da |
|
|
|
5280a38 |
%prep
|
|
|
5280a38 |
%setup -q
|
|
|
5280a38 |
|
|
|
5280a38 |
%build
|
|
|
3042499 |
%configure --disable-static --enable-pulse --enable-alsa --enable-null --enable-gstreamer --disable-oss --with-builtin=dso
|
|
|
edab1f6 |
make %{?_smp_mflags}
|
|
|
5280a38 |
|
|
|
5280a38 |
%install
|
|
|
5280a38 |
rm -rf $RPM_BUILD_ROOT
|
|
|
5280a38 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
5280a38 |
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
|
|
|
3310f11 |
rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README
|
|
|
5280a38 |
|
|
|
5280a38 |
%clean
|
|
|
5280a38 |
rm -rf $RPM_BUILD_ROOT
|
|
|
5280a38 |
|
|
|
5280a38 |
%files
|
|
|
5280a38 |
%defattr(-,root,root)
|
|
|
5280a38 |
%doc README LGPL
|
|
|
5280a38 |
%{_libdir}/libcanberra.so.*
|
|
|
626caf6 |
%dir %{_libdir}/libcanberra-%{version}
|
|
|
626caf6 |
%{_libdir}/libcanberra-%{version}/libcanberra-alsa.so
|
|
|
626caf6 |
%{_libdir}/libcanberra-%{version}/libcanberra-pulse.so
|
|
|
626caf6 |
%{_libdir}/libcanberra-%{version}/libcanberra-null.so
|
|
|
626caf6 |
%{_libdir}/libcanberra-%{version}/libcanberra-multi.so
|
|
|
626caf6 |
%{_libdir}/libcanberra-%{version}/libcanberra-gstreamer.so
|
|
|
5280a38 |
|
|
|
5280a38 |
%files gtk2
|
|
|
5280a38 |
%defattr(-,root,root)
|
|
|
5280a38 |
%{_libdir}/libcanberra-gtk.so.*
|
|
|
5280a38 |
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so
|
|
|
2008286 |
%{_bindir}/canberra-gtk-play
|
|
|
14a9d10 |
%{_datadir}/gnome/autostart/libcanberra-login-sound.desktop
|
|
|
14a9d10 |
%{_datadir}/gnome/shutdown/libcanberra-logout-sound.sh
|
|
|
f18fa26 |
# co-own these directories to avoid requiring GDM (#522998)
|
|
|
f18fa26 |
%dir %{_datadir}/gdm/
|
|
|
f18fa26 |
%dir %{_datadir}/gdm/autostart/
|
|
|
f18fa26 |
%dir %{_datadir}/gdm/autostart/LoginWindow/
|
|
|
93b436a |
%{_datadir}/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop
|
|
|
37747da |
%{_sysconfdir}/gconf/schemas/libcanberra.schemas
|
|
|
5280a38 |
|
|
|
5280a38 |
%files devel
|
|
|
5280a38 |
%defattr(-,root,root)
|
|
|
5280a38 |
%doc %{_datadir}/gtk-doc/html/libcanberra
|
|
|
5280a38 |
%{_includedir}/canberra-gtk.h
|
|
|
5280a38 |
%{_includedir}/canberra.h
|
|
|
5280a38 |
%{_libdir}/libcanberra-gtk.so
|
|
|
5280a38 |
%{_libdir}/libcanberra.so
|
|
|
5280a38 |
%{_libdir}/pkgconfig/libcanberra-gtk.pc
|
|
|
5280a38 |
%{_libdir}/pkgconfig/libcanberra.pc
|
|
|
7c312fa |
# co-own these directories to avoid requiring vala
|
|
|
7c312fa |
%dir %{_datadir}/vala
|
|
|
7c312fa |
%dir %{_datadir}/vala/vapi
|
|
|
93b436a |
%{_datadir}/vala/vapi/libcanberra-gtk.vapi
|
|
|
93b436a |
%{_datadir}/vala/vapi/libcanberra.vapi
|
|
|
5280a38 |
|
|
|
5280a38 |
%changelog
|
|
|
7c312fa |
* Fri Sep 25 2009 Matthias Clasen <mclasen@redhat.com> - 0.18-2
|
|
|
7c312fa |
- Don't require vala in -devel (#523473)
|
|
|
7c312fa |
|
|
|
417454a |
* Sat Sep 19 2009 Lennart Poettering <lpoetter@redhat.com> 0.18-1
|
|
|
417454a |
- New version 0.18
|
|
|
417454a |
|
|
|
f18fa26 |
* Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.17-2
|
|
|
f18fa26 |
- Don't require gdm in -gtk2 (#522998)
|
|
|
f18fa26 |
|
|
|
93b436a |
* Fri Sep 12 2009 Lennart Poettering <lpoetter@redhat.com> 0.17-1
|
|
|
93b436a |
- New version 0.17
|
|
|
93b436a |
|
|
|
4d01808 |
* Thu Aug 27 2009 Lennart Poettering <lpoetter@redhat.com> 0.16-1
|
|
|
4d01808 |
- New version 0.16
|
|
|
4d01808 |
|
|
|
b7ad227 |
* Wed Aug 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.15-2
|
|
|
b7ad227 |
- Fix mistag
|
|
|
b7ad227 |
|
|
|
3042499 |
* Wed Aug 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.15-1
|
|
|
3042499 |
- New version 0.15
|
|
|
3042499 |
|
|
|
796146f |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
|
|
|
796146f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
796146f |
|
|
|
fedeff4 |
* Thu Jul 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.14-2
|
|
|
fedeff4 |
- Upload the right tarball
|
|
|
fedeff4 |
|
|
|
25f0a5e |
* Thu Jul 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.14-1
|
|
|
25f0a5e |
- New version 0.14
|
|
|
25f0a5e |
|
|
|
e8606a4 |
* Tue Jun 23 2009 Lennart Poettering <lpoetter@redhat.com> 0.13-1
|
|
|
e8606a4 |
- New version 0.13
|
|
|
e8606a4 |
|
|
|
10f357d |
* Tue Jun 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.12-2
|
|
|
10f357d |
- Rebuild for new libtdb.
|
|
|
10f357d |
|
|
|
a1451b8 |
* Mon Apr 13 2009 Lennart Poettering <lpoetter@redhat.com> 0.12-1
|
|
|
a1451b8 |
- New version 0.12
|
|
|
a1451b8 |
|
|
|
4f8001f |
* Wed Apr 1 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-9
|
|
|
4f8001f |
- Another preview for 0.12
|
|
|
4f8001f |
|
|
|
cecc75b |
* Wed Feb 25 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-8
|
|
|
cecc75b |
- Add missing dependency on gettext-devel
|
|
|
cecc75b |
|
|
|
8701a5d |
* Wed Feb 25 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-7
|
|
|
8701a5d |
- Preview for 0.12
|
|
|
8701a5d |
|
|
|
2b021c3 |
* Thu Feb 5 2009 Matthias Clasen <mclasen@redhat.com> 0.11-6
|
|
|
2b021c3 |
- Fix up Requires (#484225)
|
|
|
2b021c3 |
|
|
|
85c763a |
* Wed Jan 21 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-5
|
|
|
626caf6 |
- New version
|
|
|
626caf6 |
|
|
|
01e3253 |
* Sun Dec 14 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-4
|
|
|
01e3253 |
- Moved login sound to "Application" startup phase.
|
|
|
01e3253 |
|
|
|
c6f9967 |
* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> 0.10-3
|
|
|
c6f9967 |
- Rebuild
|
|
|
c6f9967 |
|
|
|
01e3253 |
* Fri Oct 10 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-2
|
|
|
5f7c2b4 |
- Drop libcanberra-gtk-module.sh since the gconf stuff is supported just fine in current gnome-session already.
|
|
|
5f7c2b4 |
|
|
|
37747da |
* Mon Oct 6 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-1
|
|
|
37747da |
- New version
|
|
|
37747da |
|
|
|
e8d76ac |
* Thu Sep 9 2008 Lennart Poettering <lpoetter@redhat.com> 0.9-1
|
|
|
e8d76ac |
- New version
|
|
|
e8d76ac |
|
|
|
93dbc9c |
* Thu Aug 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.8-2
|
|
|
93dbc9c |
- Fix build-time dep on Gstreamer
|
|
|
93dbc9c |
|
|
|
65c7b9a |
* Thu Aug 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.8-1
|
|
|
65c7b9a |
- New version
|
|
|
65c7b9a |
|
|
|
3310f11 |
* Thu Aug 14 2008 Lennart Poettering <lpoetter@redhat.com> 0.7-1
|
|
|
3310f11 |
- New version
|
|
|
3310f11 |
|
|
|
eaf9312 |
* Mon Aug 4 2008 Lennart Poettering <lpoetter@redhat.com> 0.6-1
|
|
|
eaf9312 |
- New version
|
|
|
eaf9312 |
|
|
|
ff14663 |
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-4
|
|
|
ff14663 |
- Really add versioned dependency on libpulse
|
|
|
ff14663 |
|
|
|
05c2ca5 |
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-3
|
|
|
05c2ca5 |
- Ship libcanberra-gtk-module.sh directly in CVS
|
|
|
05c2ca5 |
|
|
|
16e504a |
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-2
|
|
|
16e504a |
- Fix build
|
|
|
16e504a |
|
|
|
14a9d10 |
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-1
|
|
|
14a9d10 |
- New version
|
|
|
14a9d10 |
|
|
|
edab1f6 |
* Mon Jul 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-3
|
|
|
edab1f6 |
- Add versioned dependency on libpulse
|
|
|
edab1f6 |
|
|
|
4b06276 |
* Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-2
|
|
|
4b06276 |
- Fix module name in libcanberra-gtk-module.sh
|
|
|
4b06276 |
|
|
|
2008286 |
* Fri Jul 25 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
|
|
|
2008286 |
- New version
|
|
|
2008286 |
- Install libcanberra-gtk-module.sh
|
|
|
2008286 |
|
|
|
788eee2 |
* Mon Jun 16 2008 Lennart Poettering <lpoetter@redhat.com> 0.3-2
|
|
|
788eee2 |
- Add dependency on sound-theme-freedesktop
|
|
|
788eee2 |
|
|
|
5280a38 |
* Fri Jun 13 2008 Lennart Poettering <lpoetter@redhat.com> 0.3-1
|
|
|
5280a38 |
- Initial package, based on Colin Guthrie's Mandriva package
|
|
|
5280a38 |
|