153 lines
4.7 KiB
RPMSpec
153 lines
4.7 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: kpipewire5
|
||
|
Version: 5.27.10
|
||
|
Release: 2mamba
|
||
|
Summary: KDE Plasma integration components with PipeWire
|
||
|
Group: Graphical Desktop/Applications/Multimedia
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://kde.org
|
||
|
Source: https://download.kde.org/stable/plasma/%{version}/kpipewire-%{version}.tar.xz
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libavcodec-ffmpeg-devel
|
||
|
BuildRequires: libavformat-ffmpeg-devel
|
||
|
BuildRequires: libavutil-ffmpeg-devel
|
||
|
BuildRequires: libdrm-devel
|
||
|
BuildRequires: libepoxy-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libglvnd-devel
|
||
|
BuildRequires: libkcoreaddons-devel
|
||
|
BuildRequires: libki18n-devel
|
||
|
BuildRequires: libmesa-devel
|
||
|
BuildRequires: libpipewire-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libswscale-ffmpeg-devel
|
||
|
BuildRequires: qt5-qtbase-devel
|
||
|
BuildRequires: qt5-qtdeclarative-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: rpm-macros-kde5
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
KDE Plasma integration components with PipeWire.
|
||
|
|
||
|
%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}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n kpipewire-%{version}
|
||
|
|
||
|
%build
|
||
|
%cmake_kde5 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -n lib%{name}
|
||
|
/sbin/ldconfig
|
||
|
exit 0
|
||
|
|
||
|
%postun -n lib%{name}
|
||
|
/sbin/ldconfig
|
||
|
exit 0
|
||
|
|
||
|
%files -n lib%{name} -f %{name}5_qt.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libKPipeWire.so.*
|
||
|
%{_libdir}/libKPipeWireDmaBuf.so.*
|
||
|
%{_libdir}/libKPipeWireRecord.so.*
|
||
|
%dir %{_libdir}/qt5/qml/org/kde/pipewire
|
||
|
%{_libdir}/qt5/qml/org/kde/pipewire/*
|
||
|
%{_datadir}/qlogging-categories5/kpipewire.categories
|
||
|
%{_datadir}/qlogging-categories5/kpipewirerecord.categories
|
||
|
%doc LICENSES
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/KPipeWire
|
||
|
%{_includedir}/KPipeWire/*
|
||
|
%dir %{_libdir}/cmake/KPipeWire
|
||
|
%{_libdir}/cmake/KPipeWire/KPipeWire*.cmake
|
||
|
%{_libdir}/libKPipeWire.so
|
||
|
%{_libdir}/libKPipeWireDmaBuf.so
|
||
|
%{_libdir}/libKPipeWireRecord.so
|
||
|
|
||
|
%changelog
|
||
|
* Tue Feb 20 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.10-2mamba
|
||
|
- legacy package
|
||
|
|
||
|
* Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 5.27.10-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Oct 25 2023 Automatic Build System <autodist@mambasoft.it> 5.27.9-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Sep 13 2023 Automatic Build System <autodist@mambasoft.it> 5.27.8-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Aug 02 2023 Automatic Build System <autodist@mambasoft.it> 5.27.7-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Jun 21 2023 Automatic Build System <autodist@mambasoft.it> 5.27.6-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed May 10 2023 Automatic Build System <autodist@mambasoft.it> 5.27.5-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Apr 05 2023 Automatic Build System <autodist@mambasoft.it> 5.27.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 5.27.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Mar 02 2023 Automatic Build System <autodist@mambasoft.it> 5.27.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Feb 22 2023 Automatic Build System <autodist@mambasoft.it> 5.27.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Feb 18 2023 Automatic Build System <autodist@mambasoft.it> 5.27.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Jan 04 2023 Automatic Build System <autodist@mambasoft.it> 5.26.5-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Nov 30 2022 Automatic Build System <autodist@mambasoft.it> 5.26.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Nov 09 2022 Automatic Build System <autodist@mambasoft.it> 5.26.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Oct 27 2022 Automatic Build System <autodist@mambasoft.it> 5.26.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Oct 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.26.1-1mamba
|
||
|
- package created using the webbuild interface
|