]> git.pld-linux.org Git - packages/pipewire.git/blobdiff - pipewire.spec
- postun is not needed
[packages/pipewire.git] / pipewire.spec
index dd46263fa21dc265fe8cb9c109ffbd389335f0c8..a764b175586b274cf7ff708d49dc7ba0aae6a2b8 100644 (file)
 Summary:       PipeWire - server and user space API to deal with multimedia pipelines
 Summary(pl.UTF-8):     PipeWire - serwer i API przestrzeni użytkownika do obsługi potoków multimedialnych
 Name:          pipewire
-Version:       0.3.41
-Release:       1
+Version:       0.3.43
+Release:       5
 License:       MIT, LGPL v2+, GPL v2
 Group:         Libraries
 #Source0Download: https://github.com/PipeWire/pipewire/releases
 Source0:       https://github.com/PipeWire/pipewire/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: ba0afd0803434b834ebbe8e61e16c790
+# Source0-md5: 6e12461b046e45c4c47bd7face365818
 Patch0:                %{name}-gcc.patch
 URL:           https://pipewire.org/
 %if %{with jack}
@@ -55,24 +55,28 @@ BuildRequires:      libcap-devel
 #BuildRequires:        libdrm-devel >= 2.4.98
 BuildRequires: libfreeaptx-devel
 BuildRequires: libsndfile-devel >= 1.0.20
+BuildRequires: libstdc++-devel >= 6:7
 BuildRequires: libusb-devel >= 1.0
 %{?with_lv2:BuildRequires:     lilv-devel}
-BuildRequires: meson >= 0.54.0
+BuildRequires: meson >= 0.56.0
 BuildRequires: ncurses-devel
 BuildRequires: ninja >= 1.5
 BuildRequires: openssl-devel
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel
 BuildRequires: readline-devel >= 8.1.1-2
-BuildRequires: rpmbuild(macros) >= 2.007
+BuildRequires: rpm-build >= 4.6
+BuildRequires: rpmbuild(macros) >= 2.011
 BuildRequires: sbc-devel
 BuildRequires: systemd-devel
 BuildRequires: udev-devel
 BuildRequires: webrtc-audio-processing-devel >= 0.2
 BuildRequires: webrtc-audio-processing-devel < 1.0
+Requires(post,preun):  systemd-units >= 250.1
 Requires:      %{name}-libs = %{version}-%{release}
 Requires:      libsndfile >= 1.0.20
 Requires:      pipewire-session-manager
+Requires:      systemd-units >= 250.1
 Suggests:      rtkit
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -217,7 +221,10 @@ Integracja PipeWire z systemem dźwięku JACK.
 Summary:       PipeWire PulseAudio sound system integration
 Summary(pl.UTF-8):     Integracja PipeWire z systemem dźwięku PulseAudio
 Group:         Libraries
+Requires(post,preun):  systemd-units >= 250.1
 Requires:      %{name} = %{version}-%{release}
+Requires:      systemd-units >= 250.1
+Suggests:      pulseaudio-tools
 
 %description pulseaudio
 PipeWire PulseAudio sound system integration.
@@ -292,9 +299,25 @@ cp -p pipewire-alsa/conf/*.conf $RPM_BUILD_ROOT%{_datadir}/alsa/alsa.conf.d
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%systemd_user_post pipewire.service
+%systemd_user_post pipewire.socket
+
+%preun
+%systemd_user_preun pipewire.service
+%systemd_user_preun pipewire.socket
+
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
+%post pulseaudio
+%systemd_user_post pipewire-pulse.service
+%systemd_user_post pipewire-pulse.socket
+
+%preun pulseaudio
+%systemd_user_preun pipewire-pulse.service
+%systemd_user_preun pipewire-pulse.socket
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/pipewire
This page took 0.152711 seconds and 4 git commands to generate.