Projects
home:pandora:RobinOS23
libcanberra
_service:download_src_package:libcanberra.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_src_package:libcanberra.spec of Package libcanberra
%define anolis_release 2 Name: libcanberra Version: 0.30 Release: %{anolis_release}%{?dist} Summary: Portable Sound Event Library Source0: http://0pointer.de/lennart/projects/libcanberra/libcanberra-%{version}.tar.xz License: LGPLv2+ Url: http://git.0pointer.de/?p=libcanberra.git;a=summary BuildRequires: gcc BuildRequires: gtk3-devel BuildRequires: alsa-lib-devel BuildRequires: libvorbis-devel BuildRequires: libtool-ltdl-devel BuildRequires: gtk-doc BuildRequires: pulseaudio-libs-devel >= 0.9.15 BuildRequires: gstreamer1-devel BuildRequires: libtdb-devel BuildRequires: gettext-devel BuildRequires: systemd-devel BuildRequires: make Requires: sound-theme-freedesktop Requires: pulseaudio-libs >= 0.9.15 %description A small and lightweight implementation of the XDG Sound Theme Specification (http://0pointer.de/public/sound-theme-spec.html). %package gtk3 Summary: Gtk+ 3.x Bindings for libcanberra Requires: %{name}%{?_isa} = %{version}-%{release} %description gtk3 Gtk+ 3.x bindings for libcanberra %package devel Summary: Development Files for libcanberra Client Development Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} Requires: gtk2-devel %description devel Development Files for libcanberra Client Development %post %systemd_post canberra-system-bootup.service canberra-system-shutdown.service canberra-system-shutdown-reboot.service %preun %systemd_preun canberra-system-bootup.service canberra-system-shutdown.service canberra-system-shutdown-reboot.service %prep %setup -q %build %configure --disable-static --enable-pulse --enable-alsa --enable-null --disable-oss --with-builtin=dso --with-systemdsystemunitdir=/usr/lib/systemd/system make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \; rm $RPM_BUILD_ROOT%{_docdir}/libcanberra/README %files %license LGPL %doc README LGPL %{_libdir}/libcanberra.so.* %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 %{_prefix}/lib/systemd/system/canberra-system-bootup.service %{_prefix}/lib/systemd/system/canberra-system-shutdown-reboot.service %{_prefix}/lib/systemd/system/canberra-system-shutdown.service %{_bindir}/canberra-boot %files gtk3 %{_libdir}/libcanberra-gtk3.so.* %{_libdir}/gtk-3.0/modules/libcanberra-gtk3-module.so %{_libdir}/gtk-3.0/modules/libcanberra-gtk-module.so %{_bindir}/canberra-gtk-play %{_datadir}/gnome/autostart/libcanberra-login-sound.desktop %{_datadir}/gnome/shutdown/libcanberra-logout-sound.sh # co-own these directories to avoid requiring GDM (#522998) %dir %{_datadir}/gdm/ %dir %{_datadir}/gdm/autostart/ %dir %{_datadir}/gdm/autostart/LoginWindow/ %{_datadir}/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop # co-own these directories to avoid requiring g-s-d %dir %{_libdir}/gnome-settings-daemon-3.0/ %dir %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/ %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/canberra-gtk-module.desktop %files devel %doc %{_datadir}/gtk-doc %{_includedir}/canberra-gtk.h %{_includedir}/canberra.h %{_libdir}/libcanberra-gtk3.so %{_libdir}/libcanberra.so %{_libdir}/pkgconfig/libcanberra-gtk3.pc %{_libdir}/pkgconfig/libcanberra.pc # co-own these directories to avoid requiring vala %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/libcanberra-gtk.vapi %{_datadir}/vala/vapi/libcanberra.vapi %changelog * Thu Aug 25 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 0.30-2 - Remove gtk2 * Thu Apr 21 2022 mgb01105731 <mgb01105731@alibaba-inc.com> - 0.30-1 - Init from upstream version 0.30
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2