disable systemd user services until tested ok [release 0.3.34-2mamba;Sat Sep 04 2021]
This commit is contained in:
parent
d27b45f8a9
commit
f5ed4d1fdc
@ -1,7 +1,7 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: pipewire
|
||||
Version: 0.3.27
|
||||
Release: 1mamba
|
||||
Version: 0.3.34
|
||||
Release: 2mamba
|
||||
Summary: Multimedia processing graphs
|
||||
Group: Applications/Multimedia
|
||||
Vendor: openmamba
|
||||
@ -24,7 +24,7 @@ BuildRequires: libsbc-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libvulkan-devel
|
||||
BuildRequires: libusb-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libjack-devel
|
||||
BuildRequires: libpulseaudio-devel
|
||||
@ -37,6 +37,7 @@ Multimedia processing graphs.
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains shared libraries for %{name}.
|
||||
@ -54,24 +55,8 @@ This package contains libraries and header files for developing applications tha
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
|
||||
%define __find_provides %{_builddir}/pipewire-%{version}/find_provides.sh
|
||||
cat > %{_builddir}/pipewire-%{version}/find_provides.sh <<_EOF
|
||||
#! /bin/sh
|
||||
grep -v %{_libdir}/pipewire-%{majver}/jack/ | \
|
||||
grep -v %{_libdir}/pipewire-%{majver}/pulse/ | \
|
||||
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
|
||||
_EOF
|
||||
chmod +x %{_builddir}/pipewire-%{version}/find_provides.sh
|
||||
|
||||
%define __find_requires %{_builddir}/pipewire-%{version}/find_requires.sh
|
||||
cat > %{_builddir}/pipewire-%{version}/find_requires.sh <<_EOF
|
||||
#! /bin/sh
|
||||
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null
|
||||
_EOF
|
||||
chmod +x %{_builddir}/pipewire-%{version}/find_requires.sh
|
||||
%global __provides_exclude_from ^%{_libdir}/pipewire-%{majver}/.*$
|
||||
%global __requires_exclude_from ^%{_libdir}/pipewire-%{majver}/.*$
|
||||
|
||||
%build
|
||||
%meson \
|
||||
@ -83,27 +68,32 @@ chmod +x %{_builddir}/pipewire-%{version}/find_requires.sh
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%meson_install
|
||||
|
||||
install -d -m0755 %{buildroot}%{_sysconfdir}/pipewire
|
||||
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
#% systemd_user_post pipewire.socket
|
||||
#% systemd_user_post pipewire-pulse.socket
|
||||
#% systemd_user_post pipewire-media-session.service
|
||||
:
|
||||
|
||||
%preun
|
||||
#% systemd_user_preun pipewire-media-session.service
|
||||
#% systemd_user_preun pipewire-pulse.socket
|
||||
#% systemd_user_preun pipewire.socket
|
||||
:
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %{_sysconfdir}/pipewire/pipewire.conf
|
||||
%config(noreplace) %{_sysconfdir}/pipewire/client-rt.conf
|
||||
%config(noreplace) %{_sysconfdir}/pipewire/client.conf
|
||||
%config(noreplace) %{_sysconfdir}/pipewire/jack.conf
|
||||
%config(noreplace) %{_sysconfdir}/pipewire/pipewire-pulse.conf
|
||||
%config %{_sysconfdir}/pipewire/media-session.d/alsa-monitor.conf
|
||||
%config %{_sysconfdir}/pipewire/media-session.d/bluez-monitor.conf
|
||||
%config %{_sysconfdir}/pipewire/media-session.d/media-session.conf
|
||||
%config %{_sysconfdir}/pipewire/media-session.d/v4l2-monitor.conf
|
||||
%{_sysconfdir}/pipewire/media-session.d/with-jack
|
||||
%{_sysconfdir}/pipewire/media-session.d/with-pulseaudio
|
||||
%dir %{_sysconfdir}/pipewire
|
||||
%{_bindir}/pipewire
|
||||
%{_bindir}/pipewire-media-session
|
||||
%{_bindir}/pipewire-pulse
|
||||
@ -120,6 +110,12 @@ chmod +x %{_builddir}/pipewire-%{version}/find_requires.sh
|
||||
%{_datadir}/alsa-card-profile/mixer/paths/*
|
||||
%dir %{_datadir}/alsa-card-profile/mixer/profile-sets
|
||||
%{_datadir}/alsa-card-profile/mixer/profile-sets/*
|
||||
%dir %{_datadir}/pipewire
|
||||
%{_datadir}/pipewire/*.conf
|
||||
%dir %{_datadir}/pipewire/filter-chain
|
||||
%{_datadir}/pipewire/filter-chain/*.conf
|
||||
%dir %{_datadir}/pipewire/media-session.d
|
||||
%{_datadir}/pipewire/media-session.d/*
|
||||
%{_mandir}/man1/pipewire.1*
|
||||
%{_mandir}/man1/pw-*.1*
|
||||
%{_mandir}/man5/pipewire.conf.5*
|
||||
@ -149,9 +145,37 @@ chmod +x %{_builddir}/pipewire-%{version}/find_requires.sh
|
||||
%{_libdir}/libpipewire-*.so
|
||||
%{_libdir}/pkgconfig/libpipewire-*.pc
|
||||
%{_libdir}/pkgconfig/libspa-*.pc
|
||||
#%doc NEWS
|
||||
%doc NEWS
|
||||
|
||||
%changelog
|
||||
* Sat Sep 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.34-2mamba
|
||||
- disable systemd user services until tested ok
|
||||
|
||||
* Thu Aug 26 2021 Automatic Build System <autodist@mambasoft.it> 0.3.34-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Aug 05 2021 Automatic Build System <autodist@mambasoft.it> 0.3.33-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 20 2021 Automatic Build System <autodist@mambasoft.it> 0.3.32-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jun 29 2021 Automatic Build System <autodist@mambasoft.it> 0.3.31-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jun 20 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.30-2mamba
|
||||
- add requires_exclude_form to fix missing internal requirement
|
||||
- enable user units pipewire-pulse.socket, pipewire.socket and pipewire-media-session.socket
|
||||
|
||||
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 0.3.30-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 04 2021 Automatic Build System <autodist@mambasoft.it> 0.3.29-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 23 2021 Automatic Build System <autodist@mambasoft.it> 0.3.28-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu May 06 2021 Automatic Build System <autodist@mambasoft.it> 0.3.27-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user