package system-bootup sounds services apart [release 0.30-8mamba;Sun Oct 20 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 03:56:53 +01:00
parent dc55508f53
commit f41fb10a23

View File

@ -1,6 +1,6 @@
Name: libcanberra
Version: 0.30
Release: 7mamba
Release: 8mamba
Summary: Portable Sound Event Library
Group: System/Libraries
Vendor: openmamba
@ -85,7 +85,16 @@ 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.
This package contains static libraries needed for development.
%package system-bootup-sounds
Group: Applications/Multimedia
Summary: Provides sounds for system bootup, shutdown and reboot
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description system-bootup-sounds
%{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 provides sounds for system bootup, shutdown and reboot.
%package gtk2
Group: System/Libraries
@ -146,21 +155,23 @@ rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post system-bootup-sounds
/sbin/ldconfig
%systemd_post canberra-system-bootup
%systemd_post canberra-system-shutdown-reboot
%systemd_post canberra-system-shutdown
:
%preun
%preun system-bootup-sounds
%systemd_preun canberra-system-bootup
%systemd_preun canberra-system-shutdown-reboot
%systemd_preun canberra-system-shutdown
:
%postun
/sbin/ldconfig
%postun system-bootup-sounds
%systemd_postun canberra-system-bootup
%systemd_postun canberra-system-shutdown-reboot
%systemd_postun canberra-system-shutdown
@ -169,9 +180,6 @@ rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%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}
@ -198,9 +206,14 @@ rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.la
%{_libdir}/*.la
%files system-bootup-sounds
%defattr(-,root,root)
%{_unitdir}/canberra-system-bootup.service
%{_unitdir}/canberra-system-shutdown-reboot.service
%{_unitdir}/canberra-system-shutdown.service
%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
@ -226,6 +239,9 @@ rm -rf %{buildroot}%{_datadir}/doc/libcanberra
%{_datadir}/gtk-doc/html/libcanberra/style.css
%changelog
* Sun Oct 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-8mamba
- package system-bootup sounds services apart
* Sat Jan 19 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30-7mamba
- rebuilt with more configure options; disable static build