2008-06-16 17:30:16 +00:00
|
|
|
Name: libcanberra
|
2010-10-04 18:05:14 +00:00
|
|
|
Version: 0.26
|
2010-10-04 18:24:26 +00:00
|
|
|
Release: 2%{?dist}
|
2008-06-16 17:30:16 +00:00
|
|
|
Summary: Portable Sound Event Library
|
|
|
|
Group: System Environment/Libraries
|
2008-08-14 21:07:22 +00:00
|
|
|
Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
|
2008-07-28 18:10:50 +00:00
|
|
|
License: LGPLv2+
|
2008-06-16 17:30:16 +00:00
|
|
|
Url: http://git.0pointer.de/?p=libcanberra.git;a=summary
|
|
|
|
BuildRequires: gtk2-devel
|
2010-06-13 18:00:50 +00:00
|
|
|
BuildRequires: gtk3-devel
|
2008-06-16 17:30:16 +00:00
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: libtool-ltdl-devel
|
|
|
|
BuildRequires: gtk-doc
|
2009-02-25 02:41:27 +00:00
|
|
|
BuildRequires: pulseaudio-libs-devel >= 0.9.15
|
2008-08-28 16:32:03 +00:00
|
|
|
BuildRequires: gstreamer-devel
|
2008-09-09 15:09:53 +00:00
|
|
|
BuildRequires: libtdb-devel
|
2010-06-13 18:00:50 +00:00
|
|
|
BuildRequires: GConf2
|
2008-10-06 02:36:30 +00:00
|
|
|
BuildRequires: GConf2-devel
|
2009-02-25 02:57:26 +00:00
|
|
|
BuildRequires: gettext-devel
|
2008-06-16 18:13:52 +00:00
|
|
|
Requires: sound-theme-freedesktop
|
2009-02-25 02:41:27 +00:00
|
|
|
Requires: pulseaudio-libs >= 0.9.15
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A small and lightweight implementation of the XDG Sound Theme Specification
|
|
|
|
(http://0pointer.de/public/sound-theme-spec.html).
|
|
|
|
|
|
|
|
%package gtk2
|
2010-06-13 18:00:50 +00:00
|
|
|
Summary: Gtk+ 2.x Bindings for libcanberra
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
# GConf and other stuff is included in the gtk3 package, so always pull that in.
|
|
|
|
Requires: %{name}-gtk3 = %{version}-%{release}
|
|
|
|
|
|
|
|
%description gtk2
|
|
|
|
Gtk+ 2.x bindings for libcanberra
|
|
|
|
|
|
|
|
%package gtk3
|
|
|
|
Summary: Gtk+ 3.x Bindings for libcanberra
|
2008-06-16 17:30:16 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2009-02-05 20:25:00 +00:00
|
|
|
Requires(pre): GConf2
|
|
|
|
Requires(preun): GConf2
|
|
|
|
Requires(post): GConf2
|
2008-06-16 17:30:16 +00:00
|
|
|
|
2010-06-13 18:00:50 +00:00
|
|
|
%description gtk3
|
|
|
|
Gtk+ 3.x bindings for libcanberra
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%package devel
|
2008-07-28 18:10:50 +00:00
|
|
|
Summary: Development Files for libcanberra Client Development
|
2008-06-16 17:30:16 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2008-06-16 18:13:52 +00:00
|
|
|
Requires: gtk2-devel
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%description devel
|
2008-07-28 18:10:50 +00:00
|
|
|
Development Files for libcanberra Client Development
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2010-06-13 18:00:50 +00:00
|
|
|
%pre gtk2 -p /sbin/ldconfig
|
|
|
|
%post gtk2 -p /sbin/ldconfig
|
|
|
|
%preun gtk2 -p /sbin/ldconfig
|
2008-06-16 17:30:16 +00:00
|
|
|
%postun gtk2 -p /sbin/ldconfig
|
|
|
|
|
2010-06-13 18:00:50 +00:00
|
|
|
%pre gtk3
|
|
|
|
%gconf_schema_prepare libcanberra
|
2008-10-06 02:36:30 +00:00
|
|
|
|
2010-06-13 18:00:50 +00:00
|
|
|
%post gtk3
|
|
|
|
/sbin/ldconfig
|
|
|
|
%gconf_schema_upgrade libcanberra
|
|
|
|
|
|
|
|
%preun gtk3
|
|
|
|
%gconf_schema_remove libcanberra
|
|
|
|
|
|
|
|
%postun gtk3 -p /sbin/ldconfig
|
2008-10-06 02:36:30 +00:00
|
|
|
|
2008-06-16 17:30:16 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2009-08-05 01:32:54 +00:00
|
|
|
%configure --disable-static --enable-pulse --enable-alsa --enable-null --enable-gstreamer --disable-oss --with-builtin=dso
|
2008-07-28 18:10:50 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%install
|
2010-06-13 18:00:50 +00:00
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
2008-06-16 17:30:16 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
|
2008-08-14 21:07:22 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README LGPL
|
|
|
|
%{_libdir}/libcanberra.so.*
|
2009-01-21 21:25:47 +00:00
|
|
|
%dir %{_libdir}/libcanberra-%{version}
|
|
|
|
%{_libdir}/libcanberra-%{version}/libcanberra-alsa.so
|
|
|
|
%{_libdir}/libcanberra-%{version}/libcanberra-pulse.so
|
|
|
|
%{_libdir}/libcanberra-%{version}/libcanberra-null.so
|
|
|
|
%{_libdir}/libcanberra-%{version}/libcanberra-multi.so
|
|
|
|
%{_libdir}/libcanberra-%{version}/libcanberra-gstreamer.so
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%files gtk2
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcanberra-gtk.so.*
|
|
|
|
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so
|
2010-06-13 18:00:50 +00:00
|
|
|
|
|
|
|
%files gtk3
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcanberra-gtk3.so.*
|
|
|
|
%{_libdir}/gtk-3.0/modules/libcanberra-gtk3-module.so
|
|
|
|
%{_libdir}/gtk-3.0/modules/libcanberra-gtk-module.so
|
2008-07-25 16:48:15 +00:00
|
|
|
%{_bindir}/canberra-gtk-play
|
2008-07-29 23:00:50 +00:00
|
|
|
%{_datadir}/gnome/autostart/libcanberra-login-sound.desktop
|
|
|
|
%{_datadir}/gnome/shutdown/libcanberra-logout-sound.sh
|
2009-09-16 22:14:32 +00:00
|
|
|
# co-own these directories to avoid requiring GDM (#522998)
|
|
|
|
%dir %{_datadir}/gdm/
|
|
|
|
%dir %{_datadir}/gdm/autostart/
|
|
|
|
%dir %{_datadir}/gdm/autostart/LoginWindow/
|
2009-09-11 22:23:59 +00:00
|
|
|
%{_datadir}/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop
|
2008-10-06 02:36:30 +00:00
|
|
|
%{_sysconfdir}/gconf/schemas/libcanberra.schemas
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2010-08-24 02:20:36 +00:00
|
|
|
%doc %{_datadir}/gtk-doc
|
2008-06-16 17:30:16 +00:00
|
|
|
%{_includedir}/canberra-gtk.h
|
|
|
|
%{_includedir}/canberra.h
|
|
|
|
%{_libdir}/libcanberra-gtk.so
|
2010-06-13 18:00:50 +00:00
|
|
|
%{_libdir}/libcanberra-gtk3.so
|
2008-06-16 17:30:16 +00:00
|
|
|
%{_libdir}/libcanberra.so
|
|
|
|
%{_libdir}/pkgconfig/libcanberra-gtk.pc
|
2010-06-13 18:00:50 +00:00
|
|
|
%{_libdir}/pkgconfig/libcanberra-gtk3.pc
|
2008-06-16 17:30:16 +00:00
|
|
|
%{_libdir}/pkgconfig/libcanberra.pc
|
2009-09-25 15:37:01 +00:00
|
|
|
# co-own these directories to avoid requiring vala
|
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2009-09-11 22:23:59 +00:00
|
|
|
%{_datadir}/vala/vapi/libcanberra-gtk.vapi
|
|
|
|
%{_datadir}/vala/vapi/libcanberra.vapi
|
2008-06-16 17:30:16 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-10-04 18:24:26 +00:00
|
|
|
* Mon Oct 4 2010 Lennart Poettering <lpoetter@redhat.com> 0.26-2
|
|
|
|
- Use final 0.26 tarball
|
|
|
|
|
2010-10-04 18:05:14 +00:00
|
|
|
* Mon Oct 4 2010 Lennart Poettering <lpoetter@redhat.com> 0.26-1
|
|
|
|
- New version 0.26
|
|
|
|
|
2010-08-24 02:20:36 +00:00
|
|
|
* Mon Aug 23 2010 Matthias Clasen <mclasen@redhat.com> 0.25-3
|
|
|
|
- Co-own /usr/share/gtk-doc (#604379)
|
|
|
|
|
2010-06-29 02:20:39 +00:00
|
|
|
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> 0.25-2
|
|
|
|
- Rebuild
|
|
|
|
|
2010-06-13 18:00:50 +00:00
|
|
|
* Sun Jun 13 2010 Lennart Poettering <lpoetter@redhat.com> 0.25-1
|
|
|
|
- New version 0.25
|
|
|
|
|
2010-02-20 16:54:23 +00:00
|
|
|
* Sat Feb 20 2010 Lennart Poettering <lpoetter@redhat.com> 0.23-1
|
|
|
|
- New version 0.23
|
|
|
|
|
2009-10-20 01:35:00 +00:00
|
|
|
* Tue Oct 20 2009 Lennart Poettering <lpoetter@redhat.com> 0.22-1
|
|
|
|
- New version 0.22
|
|
|
|
|
2009-10-15 23:20:49 +00:00
|
|
|
* Fri Oct 16 2009 Lennart Poettering <lpoetter@redhat.com> 0.21-1
|
|
|
|
- New version 0.21
|
|
|
|
|
2009-10-15 02:43:49 +00:00
|
|
|
* Thu Oct 15 2009 Lennart Poettering <lpoetter@redhat.com> 0.20-1
|
|
|
|
- New version 0.20
|
|
|
|
|
2009-10-14 19:11:56 +00:00
|
|
|
* Wed Oct 14 2009 Lennart Poettering <lpoetter@redhat.com> 0.19-1
|
|
|
|
- New version 0.19
|
|
|
|
|
2009-09-25 15:37:01 +00:00
|
|
|
* Fri Sep 25 2009 Matthias Clasen <mclasen@redhat.com> - 0.18-2
|
|
|
|
- Don't require vala in -devel (#523473)
|
|
|
|
|
2009-09-20 18:07:11 +00:00
|
|
|
* Sat Sep 19 2009 Lennart Poettering <lpoetter@redhat.com> 0.18-1
|
|
|
|
- New version 0.18
|
|
|
|
|
2009-09-16 22:14:32 +00:00
|
|
|
* Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 0.17-2
|
|
|
|
- Don't require gdm in -gtk2 (#522998)
|
|
|
|
|
2009-09-11 22:23:59 +00:00
|
|
|
* Fri Sep 12 2009 Lennart Poettering <lpoetter@redhat.com> 0.17-1
|
|
|
|
- New version 0.17
|
|
|
|
|
2009-08-27 02:27:20 +00:00
|
|
|
* Thu Aug 27 2009 Lennart Poettering <lpoetter@redhat.com> 0.16-1
|
|
|
|
- New version 0.16
|
|
|
|
|
2009-08-05 01:34:12 +00:00
|
|
|
* Wed Aug 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.15-2
|
|
|
|
- Fix mistag
|
|
|
|
|
2009-08-05 01:32:54 +00:00
|
|
|
* Wed Aug 5 2009 Lennart Poettering <lpoetter@redhat.com> 0.15-1
|
|
|
|
- New version 0.15
|
|
|
|
|
2009-07-25 05:23:47 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-02 01:18:57 +00:00
|
|
|
* Thu Jul 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.14-2
|
|
|
|
- Upload the right tarball
|
|
|
|
|
2009-07-02 01:02:15 +00:00
|
|
|
* Thu Jul 2 2009 Lennart Poettering <lpoetter@redhat.com> 0.14-1
|
|
|
|
- New version 0.14
|
|
|
|
|
2009-06-23 18:43:11 +00:00
|
|
|
* Tue Jun 23 2009 Lennart Poettering <lpoetter@redhat.com> 0.13-1
|
|
|
|
- New version 0.13
|
|
|
|
|
2009-06-16 23:41:14 +00:00
|
|
|
* Tue Jun 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.12-2
|
|
|
|
- Rebuild for new libtdb.
|
|
|
|
|
2009-04-14 00:49:11 +00:00
|
|
|
* Mon Apr 13 2009 Lennart Poettering <lpoetter@redhat.com> 0.12-1
|
|
|
|
- New version 0.12
|
|
|
|
|
2009-04-01 00:31:47 +00:00
|
|
|
* Wed Apr 1 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-9
|
|
|
|
- Another preview for 0.12
|
|
|
|
|
2009-02-25 02:57:26 +00:00
|
|
|
* Wed Feb 25 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-8
|
|
|
|
- Add missing dependency on gettext-devel
|
|
|
|
|
2009-02-25 02:41:27 +00:00
|
|
|
* Wed Feb 25 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-7
|
|
|
|
- Preview for 0.12
|
|
|
|
|
2009-02-05 20:25:00 +00:00
|
|
|
* Thu Feb 5 2009 Matthias Clasen <mclasen@redhat.com> 0.11-6
|
|
|
|
- Fix up Requires (#484225)
|
|
|
|
|
2009-01-21 21:31:41 +00:00
|
|
|
* Wed Jan 21 2009 Lennart Poettering <lpoetter@redhat.com> 0.11-5
|
2009-01-21 21:25:47 +00:00
|
|
|
- New version
|
|
|
|
|
2008-12-14 21:41:01 +00:00
|
|
|
* Sun Dec 14 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-4
|
|
|
|
- Moved login sound to "Application" startup phase.
|
|
|
|
|
2008-11-13 15:33:08 +00:00
|
|
|
* Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> 0.10-3
|
|
|
|
- Rebuild
|
|
|
|
|
2008-12-14 21:41:01 +00:00
|
|
|
* Fri Oct 10 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-2
|
2008-10-10 15:42:07 +00:00
|
|
|
- Drop libcanberra-gtk-module.sh since the gconf stuff is supported just fine in current gnome-session already.
|
|
|
|
|
2008-10-06 02:36:30 +00:00
|
|
|
* Mon Oct 6 2008 Lennart Poettering <lpoetter@redhat.com> 0.10-1
|
|
|
|
- New version
|
|
|
|
|
2008-09-09 15:09:53 +00:00
|
|
|
* Thu Sep 9 2008 Lennart Poettering <lpoetter@redhat.com> 0.9-1
|
|
|
|
- New version
|
|
|
|
|
2008-08-28 16:32:03 +00:00
|
|
|
* Thu Aug 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.8-2
|
|
|
|
- Fix build-time dep on Gstreamer
|
|
|
|
|
2008-08-28 16:11:36 +00:00
|
|
|
* Thu Aug 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.8-1
|
|
|
|
- New version
|
|
|
|
|
2008-08-14 21:07:22 +00:00
|
|
|
* Thu Aug 14 2008 Lennart Poettering <lpoetter@redhat.com> 0.7-1
|
|
|
|
- New version
|
|
|
|
|
2008-08-04 18:16:24 +00:00
|
|
|
* Mon Aug 4 2008 Lennart Poettering <lpoetter@redhat.com> 0.6-1
|
|
|
|
- New version
|
|
|
|
|
2008-07-30 15:34:34 +00:00
|
|
|
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-4
|
|
|
|
- Really add versioned dependency on libpulse
|
|
|
|
|
2008-07-29 23:09:33 +00:00
|
|
|
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-3
|
|
|
|
- Ship libcanberra-gtk-module.sh directly in CVS
|
|
|
|
|
2008-07-29 23:05:47 +00:00
|
|
|
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-2
|
|
|
|
- Fix build
|
|
|
|
|
2008-07-29 23:00:50 +00:00
|
|
|
* Wed Jul 30 2008 Lennart Poettering <lpoetter@redhat.com> 0.5-1
|
|
|
|
- New version
|
|
|
|
|
2008-07-28 18:10:50 +00:00
|
|
|
* Mon Jul 28 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-3
|
|
|
|
- Add versioned dependency on libpulse
|
|
|
|
|
2008-07-28 16:33:25 +00:00
|
|
|
* Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-2
|
|
|
|
- Fix module name in libcanberra-gtk-module.sh
|
|
|
|
|
2008-07-25 16:48:15 +00:00
|
|
|
* Fri Jul 25 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
|
|
|
|
- New version
|
|
|
|
- Install libcanberra-gtk-module.sh
|
|
|
|
|
2008-06-16 18:13:52 +00:00
|
|
|
* Mon Jun 16 2008 Lennart Poettering <lpoetter@redhat.com> 0.3-2
|
|
|
|
- Add dependency on sound-theme-freedesktop
|
|
|
|
|
2008-06-16 17:30:16 +00:00
|
|
|
* Fri Jun 13 2008 Lennart Poettering <lpoetter@redhat.com> 0.3-1
|
|
|
|
- Initial package, based on Colin Guthrie's Mandriva package
|