mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 14:31:23 +00:00
e6c8d720d5
* change version to 1.7.6 * cargo update cpal v0.18.0 #e5d618c6 -> #f938e338 fax v0.2.6 -> v0.2.7 fax_derive - idna_adapter v1.2.1 -> v1.2.2 js-sys v0.3.95 -> v0.3.97 wasm-bindgen v0.2.118 -> v0.2.120 wasm-bindgen-futures v0.4.68 -> v0.4.70 wasm-bindgen-macro v0.2.118 -> v0.2.120 wasm-bindgen-macro-support v0.2.118 -> v0.2.120 wasm-bindgen-shared v0.2.118 -> v0.2.120 web-sys v0.3.95 -> v0.3.97 winnow - zbus v5.14.0 -> v5.15.0 zbus_macros v5.14.0 -> v5.15.0 zbus_names v4.3.1 -> v4.3.2 zvariant v5.10.0 -> v5.10.1 zvariant_derive v5.10.0 -> v5.10.1 zvariant_utils v3.3.0 -> v3.3.1 * deps: update cargo-sources.json
57 lines
1.5 KiB
RPMSpec
57 lines
1.5 KiB
RPMSpec
%bcond check 1
|
|
|
|
# prevent library files from being installed
|
|
%global cargo_install_lib 0
|
|
|
|
Name: pwsp
|
|
Version: 1.7.6
|
|
Release: %autorelease
|
|
Summary: Lets you play audio files through your microphone
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/arabianq/pipewire-soundpad
|
|
Source: https://github.com/arabianq/pipewire-soundpad/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
BuildRequires: rust
|
|
BuildRequires: cargo
|
|
BuildRequires: pipewire-devel
|
|
BuildRequires: alsa-lib-devel
|
|
BuildRequires: clang-devel
|
|
BuildRequires: cmake
|
|
|
|
%global _description %{expand:
|
|
PWSP lets you play audio files through your microphone. Has both CLI and
|
|
GUI clients.}
|
|
|
|
%description %{_description}
|
|
|
|
%prep
|
|
%autosetup -n pipewire-soundpad-%{version} -p1
|
|
|
|
%build
|
|
cargo build --release --locked
|
|
|
|
%install
|
|
install -Dm755 target/release/pwsp-cli %{buildroot}%{_bindir}/pwsp-cli
|
|
install -Dm755 target/release/pwsp-daemon %{buildroot}%{_bindir}/pwsp-daemon
|
|
install -Dm755 target/release/pwsp-gui %{buildroot}%{_bindir}/pwsp-gui
|
|
|
|
install -Dm644 assets/pwsp-gui.desktop %{buildroot}%{_datadir}/applications/pwsp.desktop
|
|
install -Dm644 assets/icon.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/pwsp.png
|
|
|
|
install -Dm644 assets/pwsp-daemon.service %{buildroot}/usr/lib/systemd/user/pwsp-daemon.service
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/pwsp-cli
|
|
%{_bindir}/pwsp-daemon
|
|
%{_bindir}/pwsp-gui
|
|
%{_datadir}/applications/pwsp.desktop
|
|
%{_datadir}/icons/hicolor/256x256/apps/pwsp.png
|
|
/usr/lib/systemd/user/pwsp-daemon.service
|
|
|
|
%changelog
|
|
%autochangelog
|