2024-01-06 10:07:40 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 10:07:40 +01:00
|
|
|
Name: pipewire
|
2024-01-06 10:07:40 +01:00
|
|
|
Version: 0.3.25
|
2024-01-06 10:07:40 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:07:40 +01:00
|
|
|
Summary: Multimedia processing graphs
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:07:40 +01:00
|
|
|
URL: https://pipewire.org
|
2024-01-06 10:07:40 +01:00
|
|
|
Source: https://github.com/PipeWire/pipewire.git/%{version}/pipewire-%{version}.tar.bz2
|
|
|
|
License: GPL, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: libpulseaudio-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libsbc-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libsndfile-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
|
|
|
BuildRequires: libudev-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libvulkan-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: libjack-devel
|
|
|
|
BuildRequires: libpulseaudio-devel
|
2024-01-06 10:07:40 +01:00
|
|
|
BuildRequires: xmltoman
|
2024-01-06 10:07:40 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Multimedia processing graphs.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
%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
|
2024-01-06 10:07:40 +01:00
|
|
|
grep -v %{_libdir}/pipewire-%{majver}/jack/ | \
|
|
|
|
grep -v %{_libdir}/pipewire-%{majver}/pulse/ | \
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_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
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%meson_install
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
%find_lang %{name}
|
2024-01-06 10:07:40 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
%files -f %{name}.lang
|
2024-01-06 10:07:40 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:07:40 +01:00
|
|
|
%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
|
2024-01-06 10:07:40 +01:00
|
|
|
%config %{_sysconfdir}/pipewire/media-session.d/alsa-monitor.conf
|
2024-01-06 10:07:40 +01:00
|
|
|
%config %{_sysconfdir}/pipewire/media-session.d/bluez-monitor.conf
|
2024-01-06 10:07:40 +01:00
|
|
|
%config %{_sysconfdir}/pipewire/media-session.d/media-session.conf
|
2024-01-06 10:07:40 +01:00
|
|
|
%config %{_sysconfdir}/pipewire/media-session.d/v4l2-monitor.conf
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_sysconfdir}/pipewire/media-session.d/with-jack
|
|
|
|
%{_sysconfdir}/pipewire/media-session.d/with-pulseaudio
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_bindir}/pipewire
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_bindir}/pipewire-media-session
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_bindir}/pipewire-pulse
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_bindir}/pw-*
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_bindir}/spa-*
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_userunitdir}/pipewire*.service
|
|
|
|
%{_userunitdir}/pipewire*.socket
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_udevrulesdir}/90-pipewire-alsa.rules
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_datadir}/alsa/alsa.conf.d/50-pipewire.conf
|
|
|
|
%{_datadir}/alsa/alsa.conf.d/99-pipewire-default.conf
|
2024-01-06 10:07:40 +01:00
|
|
|
%dir %{_datadir}/alsa-card-profile
|
|
|
|
%dir %{_datadir}/alsa-card-profile/mixer
|
|
|
|
%dir %{_datadir}/alsa-card-profile/mixer/paths
|
|
|
|
%{_datadir}/alsa-card-profile/mixer/paths/*
|
|
|
|
%dir %{_datadir}/alsa-card-profile/mixer/profile-sets
|
|
|
|
%{_datadir}/alsa-card-profile/mixer/profile-sets/*
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_mandir}/man1/pipewire.1*
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_mandir}/man1/pw-*.1*
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_mandir}/man5/pipewire.conf.5*
|
2024-01-06 10:07:40 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_libdir}/libpipewire-*.so.*
|
2024-01-06 10:07:40 +01:00
|
|
|
%dir %{_libdir}/pipewire-%{majver}
|
|
|
|
%dir %{_libdir}/pipewire-%{majver}/jack
|
|
|
|
%{_libdir}/pipewire-%{majver}/jack/libjack*.so*
|
2024-01-06 10:07:40 +01:00
|
|
|
#%dir %{_libdir}/pipewire-%{majver}/pulse
|
|
|
|
#%{_libdir}/pipewire-%{majver}/pulse/libpulse*.so*
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_libdir}/pipewire-%{majver}/libpipewire-module-*.so
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_libdir}/alsa-lib/libasound_module_pcm_pipewire.so
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_libdir}/alsa-lib/libasound_module_ctl_pipewire.so
|
2024-01-06 10:07:40 +01:00
|
|
|
%{_libdir}/gstreamer-1.0/libgstpipewire.so
|
2024-01-06 10:07:40 +01:00
|
|
|
%dir %{_libdir}/spa-*
|
|
|
|
%{_libdir}/spa-*/*
|
2024-01-06 10:07:40 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:07:40 +01:00
|
|
|
%dir %{_includedir}/pipewire-*
|
|
|
|
%{_includedir}/pipewire-*/*
|
|
|
|
%dir %{_includedir}/spa-*
|
|
|
|
%{_includedir}/spa-*/*
|
|
|
|
%{_libdir}/libpipewire-*.so
|
|
|
|
%{_libdir}/pkgconfig/libpipewire-*.pc
|
|
|
|
%{_libdir}/pkgconfig/libspa-*.pc
|
2024-01-06 10:07:40 +01:00
|
|
|
#%doc NEWS
|
2024-01-06 10:07:40 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:07:40 +01:00
|
|
|
* Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 0.3.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 0.3.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sun Mar 07 2021 Automatic Build System <autodist@mambasoft.it> 0.3.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Feb 22 2021 Automatic Build System <autodist@mambasoft.it> 0.3.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Fri Jan 22 2021 Automatic Build System <autodist@mambasoft.it> 0.3.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 0.3.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 0.3.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Thu Nov 05 2020 Automatic Build System <autodist@mambasoft.it> 0.3.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sat Oct 31 2020 Automatic Build System <autodist@mambasoft.it> 0.3.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Mon Oct 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.13-2mamba
|
|
|
|
- fix requirements
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 0.3.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sat Sep 19 2020 Automatic Build System <autodist@mambasoft.it> 0.3.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.3.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Mon Aug 24 2020 Automatic Build System <autodist@mambasoft.it> 0.3.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sun Aug 16 2020 Automatic Build System <autodist@mambasoft.it> 0.3.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sun Jul 26 2020 Automatic Build System <autodist@mambasoft.it> 0.3.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Thu Jun 11 2020 Automatic Build System <autodist@mambasoft.it> 0.3.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Wed May 13 2020 Automatic Build System <autodist@mambasoft.it> 0.3.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sun May 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.4-2mamba
|
|
|
|
- remove provides for internal libjack and libpulse
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Tue Mar 17 2020 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 0.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:07:40 +01:00
|
|
|
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.6-1mamba
|
|
|
|
- package created using the webbuild interface
|