57 lines
1.2 KiB
RPMSpec
57 lines
1.2 KiB
RPMSpec
Name: pulseaudio-qt
|
|
Summary: Qt bindings for PulseAudio
|
|
Version: 1.3
|
|
Release: 1
|
|
|
|
License: LGPLv2+
|
|
URL: https://invent.kde.org/libraries/pulseaudio-qt
|
|
Source: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: extra-cmake-modules >= 5.44.0
|
|
BuildRequires: kf5-rpm-macros
|
|
BuildRequires: pkgconfig(libpulse)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-qtdeclarative-devel
|
|
|
|
%description
|
|
Pulseaudio-Qt is a library providing Qt bindings to PulseAudio.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
|
|
%build
|
|
%{cmake_kf5}
|
|
%make_build
|
|
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot}
|
|
|
|
|
|
%files
|
|
%license LICENSES/*.txt
|
|
%doc README.md
|
|
%{_kf5_libdir}/libKF5PulseAudioQt.so.3
|
|
%{_kf5_libdir}/libKF5PulseAudioQt.so.%{version}.0
|
|
|
|
%files devel
|
|
%{_kf5_includedir}/KF5PulseAudioQt/
|
|
%{_kf5_libdir}/libKF5PulseAudioQt.so
|
|
%{_kf5_includedir}/pulseaudioqt_version.h
|
|
%{_kf5_libdir}/cmake/KF5PulseAudioQt/
|
|
|
|
|
|
%changelog
|
|
* Thu Jul 14 2022 misaka00251 <misaka00251@misakanet.cn> - 1.3-1
|
|
- Init package
|