259 lines
8.5 KiB
RPMSpec
259 lines
8.5 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: pipewire
|
|
Version: 0.3.35
|
|
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: libalsa-devel
|
|
BuildRequires: libbluetooth-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgst-plugins-base-devel
|
|
BuildRequires: libgstreamer-devel
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libsbc-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: libsystemd-devel
|
|
BuildRequires: libudev-devel
|
|
BuildRequires: libusb-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}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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
|
|
%global __provides_exclude_from ^%{_libdir}/pipewire-%{majver}/.*$
|
|
%global __requires_exclude_from ^%{_libdir}/pipewire-%{majver}/.*$
|
|
|
|
%build
|
|
%meson \
|
|
-Dudevrulesdir=%{_udevrulesdir}
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{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)
|
|
%dir %{_sysconfdir}/pipewire
|
|
%{_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/*
|
|
%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*
|
|
|
|
%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
|
|
* Thu Sep 09 2021 Automatic Build System <autodist@mambasoft.it> 0.3.35-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 0.3.26-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 07 2021 Automatic Build System <autodist@mambasoft.it> 0.3.25-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|