New upstream release
This commit is contained in:
parent
6bcacf8140
commit
faa8cf031c
@ -1,12 +1,10 @@
|
|||||||
Name: libcanberra
|
Name: libcanberra
|
||||||
Version: 0.26
|
Version: 0.27
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Portable Sound Event Library
|
Summary: Portable Sound Event Library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
|
Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0: libcanberra-quit-add.patch
|
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Url: http://git.0pointer.de/?p=libcanberra.git;a=summary
|
Url: http://git.0pointer.de/?p=libcanberra.git;a=summary
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
@ -21,8 +19,13 @@ BuildRequires: libtdb-devel
|
|||||||
BuildRequires: GConf2
|
BuildRequires: GConf2
|
||||||
BuildRequires: GConf2-devel
|
BuildRequires: GConf2-devel
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
|
BuildRequires: libudev-devel
|
||||||
Requires: sound-theme-freedesktop
|
Requires: sound-theme-freedesktop
|
||||||
Requires: pulseaudio-libs >= 0.9.15
|
Requires: pulseaudio-libs >= 0.9.15
|
||||||
|
Requires: systemd-units
|
||||||
|
Requires(post): systemd-units
|
||||||
|
Requires(preun): systemd-units
|
||||||
|
Requires(postun): systemd-units
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A small and lightweight implementation of the XDG Sound Theme Specification
|
A small and lightweight implementation of the XDG Sound Theme Specification
|
||||||
@ -58,8 +61,21 @@ Requires: gtk2-devel
|
|||||||
%description devel
|
%description devel
|
||||||
Development Files for libcanberra Client Development
|
Development Files for libcanberra Client Development
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post
|
||||||
%postun -p /sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
if [ $1 -eq 1 ]; then
|
||||||
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
/bin/systemctl --no-reload disable canberra-system-bootup.service canberra-system-shutdown.service canberra-system-shutdown-reboot.service >/dev/null 2>&1 || :
|
||||||
|
/bin/systemctl stop canberra-system-bootup.service canberra-system-shutdown.service canberra-system-shutdown-reboot.service >/dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%pre gtk2 -p /sbin/ldconfig
|
%pre gtk2 -p /sbin/ldconfig
|
||||||
%post gtk2 -p /sbin/ldconfig
|
%post gtk2 -p /sbin/ldconfig
|
||||||
@ -80,7 +96,6 @@ Development Files for libcanberra Client Development
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .quit-add
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-pulse --enable-alsa --enable-null --enable-gstreamer --disable-oss --with-builtin=dso
|
%configure --disable-static --enable-pulse --enable-alsa --enable-null --enable-gstreamer --disable-oss --with-builtin=dso
|
||||||
@ -102,6 +117,10 @@ rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README
|
|||||||
%{_libdir}/libcanberra-%{version}/libcanberra-null.so
|
%{_libdir}/libcanberra-%{version}/libcanberra-null.so
|
||||||
%{_libdir}/libcanberra-%{version}/libcanberra-multi.so
|
%{_libdir}/libcanberra-%{version}/libcanberra-multi.so
|
||||||
%{_libdir}/libcanberra-%{version}/libcanberra-gstreamer.so
|
%{_libdir}/libcanberra-%{version}/libcanberra-gstreamer.so
|
||||||
|
/lib/systemd/system/canberra-system-bootup.service
|
||||||
|
/lib/systemd/system/canberra-system-shutdown-reboot.service
|
||||||
|
/lib/systemd/system/canberra-system-shutdown.service
|
||||||
|
%{_bindir}/canberra-boot
|
||||||
|
|
||||||
%files gtk2
|
%files gtk2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -141,6 +160,9 @@ rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README
|
|||||||
%{_datadir}/vala/vapi/libcanberra.vapi
|
%{_datadir}/vala/vapi/libcanberra.vapi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 18 2011 Lennart Poettering <lpoetter@redhat.com> - 0.27-1
|
||||||
|
- New upstream Release
|
||||||
|
|
||||||
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 0.26-8
|
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> 0.26-8
|
||||||
- Rebuild against newer gtk
|
- Rebuild against newer gtk
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user