diff --git a/README.md b/README.md index 61a1424..5840ab9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kpipewire +KDE Plasma integration components with PipeWire. + diff --git a/kpipewire.spec b/kpipewire.spec new file mode 100644 index 0000000..102329f --- /dev/null +++ b/kpipewire.spec @@ -0,0 +1,102 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kpipewire +Version: 5.26.1 +Release: 1mamba +Summary: KDE Plasma integration components with PipeWire +Group: Graphical Desktop/Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 + +%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}/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}/libKPipeWireRecord.so + +%changelog +* Sat Oct 22 2022 Silvan Calarco 5.26.1-1mamba +- package created using the webbuild interface