Compare commits
10 Commits
a48407cd5b
...
31a645db4f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31a645db4f | ||
|
|
9b1672cee2 | ||
|
|
6071df821b | ||
|
|
788ecf2cac | ||
|
|
bbf65847e4 | ||
|
|
a63c9468f3 | ||
|
|
aafb0ce47c | ||
|
|
a5d14d9bd0 | ||
|
|
dd5ed7ed1d | ||
|
|
e6e1d324eb |
@ -6,7 +6,7 @@
|
||||
Name: pulseaudio
|
||||
Summary: Improved Linux Sound Server
|
||||
Version: 13.0
|
||||
Release: 1
|
||||
Release: 6
|
||||
License: LGPLv2+
|
||||
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
|
||||
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
|
||||
@ -24,6 +24,7 @@ BuildRequires: xorg-x11-proto-devel libXtst-devel libXi-devel libSM-devel libX1
|
||||
BuildRequires: libICE-devel xcb-util-devel openssl-devel orc-devel libtdb-devel speexdsp-devel
|
||||
BuildRequires: libasyncns-devel systemd-devel systemd dbus-devel libcap-devel fftw-devel
|
||||
BuildRequires: webrtc-audio-processing-devel
|
||||
BuildRequires: chrpath
|
||||
|
||||
Obsoletes: padevchooser < 1.0
|
||||
Provides: %{name}-module-x11 %{name}-module-bluetooth %{name}-libs %{name}-libs-glib2 %{name}-utils %{name}-esound-compat %{name}-module-zeroconf %{name}-module-gconf %{name}-module-gsettings
|
||||
@ -55,15 +56,6 @@ Obsoletes: %{name}-libs-devel
|
||||
Headers and libraries for developing applications that can communicate with
|
||||
a PulseAudio sound server.
|
||||
|
||||
%package gdm-hooks
|
||||
Summary: PulseAudio GDM integration
|
||||
License: LGPLv2+
|
||||
Requires: gdm >= 1:2.22.0
|
||||
Requires(pre): gdm
|
||||
|
||||
%description gdm-hooks
|
||||
This package contains GDM integration hooks for the PulseAudio sound server.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
@ -104,10 +96,16 @@ popd
|
||||
mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d
|
||||
mv -fv $RPM_BUILD_ROOT/lib/udev/rules.d/90-pulseaudio.rules $RPM_BUILD_ROOT%{_prefix}/lib/udev/rules.d
|
||||
|
||||
install -p -m644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_localstatedir}/lib/gdm/.pulse/default.pa
|
||||
|
||||
%delete_la
|
||||
|
||||
## delete rpath
|
||||
touch %{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/pulse-%{version}/modules" >> %{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/%{name}/" >> %{name}-%{_arch}.conf
|
||||
find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {}
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||
install -p -m644 %{name}-%{_arch}.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
||||
|
||||
%check
|
||||
%make_build check || TESTS_ERROR=$?
|
||||
if [ "${TESTS_ERROR}" != "" ]; then
|
||||
@ -142,6 +140,7 @@ exit 0
|
||||
%config(noreplace) %{_sysconfdir}/pulse/daemon.conf
|
||||
%config(noreplace) %{_sysconfdir}/pulse/*.pa
|
||||
%config(noreplace) %{_sysconfdir}/pulse/client.conf
|
||||
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%{_sysconfdir}/dbus-1/system.d/pulseaudio-system.conf
|
||||
%{_sysconfdir}/xdg/autostart/pulseaudio.desktop
|
||||
%{bash_completionsdir}/*
|
||||
@ -171,6 +170,7 @@ exit 0
|
||||
|
||||
%{_prefix}/lib/udev/rules.d/90-pulseaudio.rules
|
||||
%{_libexecdir}/pulse/*-helper
|
||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml
|
||||
%{_datadir}/locale/*
|
||||
%{_datadir}/pulseaudio/alsa-mixer/*/
|
||||
%{_datadir}/zsh/site-functions/_pulseaudio
|
||||
@ -189,16 +189,32 @@ exit 0
|
||||
%{_datadir}/vala/vapi/*
|
||||
%{_libdir}/cmake/PulseAudio/
|
||||
|
||||
%files gdm-hooks
|
||||
%attr(0600,gdm,gdm) %{_localstatedir}/lib/gdm/.pulse/default.pa
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc README doxygen/html
|
||||
%{_mandir}/man*/*
|
||||
%{_datadir}/glib-2.0/schemas/org.freedesktop.pulseaudio.gschema.xml
|
||||
|
||||
%changelog
|
||||
* Tue Nov 14 2023 lijianglin <lijianglin2@huawei.com> - 13.0-6
|
||||
- delete rpath info
|
||||
- Issue: https://gitee.com/src-openeuler/pulseaudio/issues/I8EEX0
|
||||
|
||||
* Thu Sep 08 2022 liweiganga <liweiganga@uniontech.com> - 13.0-5
|
||||
- Fix gsettings-helper crash
|
||||
- Issue: https://gitee.com/src-openeuler/pulseaudio/issues/I4WAEZ
|
||||
|
||||
* Sat Nov 21 2020 yanan li <liyanan32@huawei.com> - 13.0-4
|
||||
- remove repeat gdm-hooks packages
|
||||
|
||||
* Thu Nov 11 2020 xinghe <xinghe1@huawei.com> - 13.0-3
|
||||
- add help for Recommends
|
||||
|
||||
* Fri Aug 21 2020 lunankun <lunankun@huawei.com> - 13.0-2
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:release +1 for rebuild
|
||||
|
||||
* Fri Apr 24 2020 Chunsheng Luo <luochunsheng@huawei.com> - 13.0-1
|
||||
- update to version 13.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user