222 lines
7.4 KiB
RPMSpec
222 lines
7.4 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: pipewire
|
|
Version: 0.3.24
|
|
Release: 1mamba
|
|
Summary: Multimedia processing graphs
|
|
Group: Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pipewire.org
|
|
Source: https://github.com/PipeWire/pipewire.git/%{version}/pipewire-%{version}.tar.bz2
|
|
License: GPL, LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libalsa-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgst-plugins-base-devel
|
|
BuildRequires: libgstreamer-devel
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libpulseaudio-devel
|
|
BuildRequires: libsbc-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: libsystemd-devel
|
|
BuildRequires: libudev-devel
|
|
BuildRequires: libvulkan-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libpulseaudio-devel
|
|
BuildRequires: xmltoman
|
|
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
|
|
|
|
%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
|
|
|
|
%build
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%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
|
|
%{_bindir}/pipewire
|
|
%{_bindir}/pipewire-media-session
|
|
%{_bindir}/pipewire-pulse
|
|
%{_bindir}/pw-*
|
|
%{_bindir}/spa-*
|
|
%{_userunitdir}/pipewire*.service
|
|
%{_userunitdir}/pipewire*.socket
|
|
%{_udevrulesdir}/90-pipewire-alsa.rules
|
|
%{_datadir}/alsa/alsa.conf.d/50-pipewire.conf
|
|
%{_datadir}/alsa/alsa.conf.d/99-pipewire-default.conf
|
|
%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/*
|
|
%{_mandir}/man1/pipewire.1*
|
|
%{_mandir}/man1/pw-*.1*
|
|
%{_mandir}/man5/pipewire.conf.5*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libpipewire-*.so.*
|
|
%dir %{_libdir}/pipewire-%{majver}
|
|
%dir %{_libdir}/pipewire-%{majver}/jack
|
|
%{_libdir}/pipewire-%{majver}/jack/libjack*.so*
|
|
#%dir %{_libdir}/pipewire-%{majver}/pulse
|
|
#%{_libdir}/pipewire-%{majver}/pulse/libpulse*.so*
|
|
%{_libdir}/pipewire-%{majver}/libpipewire-module-*.so
|
|
%{_libdir}/alsa-lib/libasound_module_pcm_pipewire.so
|
|
%{_libdir}/alsa-lib/libasound_module_ctl_pipewire.so
|
|
%{_libdir}/gstreamer-1.0/libgstpipewire.so
|
|
%dir %{_libdir}/spa-*
|
|
%{_libdir}/spa-*/*
|
|
%doc LICENSE
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/pipewire-*
|
|
%{_includedir}/pipewire-*/*
|
|
%dir %{_includedir}/spa-*
|
|
%{_includedir}/spa-*/*
|
|
%{_libdir}/libpipewire-*.so
|
|
%{_libdir}/pkgconfig/libpipewire-*.pc
|
|
%{_libdir}/pkgconfig/libspa-*.pc
|
|
#%doc NEWS
|
|
|
|
%changelog
|
|
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 0.3.24-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Fri Jan 22 2021 Automatic Build System <autodist@mambasoft.it> 0.3.20-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 0.3.19-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 0.3.18-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 05 2020 Automatic Build System <autodist@mambasoft.it> 0.3.15-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Oct 31 2020 Automatic Build System <autodist@mambasoft.it> 0.3.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.13-2mamba
|
|
- fix requirements
|
|
|
|
* Tue Oct 06 2020 Automatic Build System <autodist@mambasoft.it> 0.3.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 19 2020 Automatic Build System <autodist@mambasoft.it> 0.3.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.3.11-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 24 2020 Automatic Build System <autodist@mambasoft.it> 0.3.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 16 2020 Automatic Build System <autodist@mambasoft.it> 0.3.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jul 26 2020 Automatic Build System <autodist@mambasoft.it> 0.3.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 11 2020 Automatic Build System <autodist@mambasoft.it> 0.3.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 13 2020 Automatic Build System <autodist@mambasoft.it> 0.3.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun May 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.4-2mamba
|
|
- remove provides for internal libjack and libpulse
|
|
|
|
* Sun May 03 2020 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 30 2020 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 17 2020 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 0.2.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.6-1mamba
|
|
- package created using the webbuild interface
|