Skip to content

Commit

Permalink
fix: espanso (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko authored Apr 30, 2024
1 parent 71ef643 commit 387801b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions anda/tools/espanso-wayland/espanso-wayland.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: espanso-wayland
Version: 2.2.1
Release: 1%?dist
Release: 2%?dist
Summary: Cross-platform Text Expander written in Rust for Wayland
License: GPL-3.0
URL: https://espanso.org
Expand All @@ -13,6 +13,7 @@ BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: wxGTK-devel
BuildRequires: openssl-devel

%description
A cross-platform Text Expander written in Rust. A text expander is a program
Expand All @@ -29,14 +30,14 @@ cd espanso

%build
cd espanso
#cargo_build -n -f vendored-tls -f wayland
%cargo_build -n -f vendored-tls,"wayland" -- --package={espanso,espanso-clipboard,espanso-config,espanso-detect,espanso-engine,espanso-info,espanso-inject,espanso-ipc,espanso-kvs,espanso-mac-utils,espanso-match,espanso-migrate,espanso-modulo,espanso-package,espanso-path,espanso-render,espanso-ui}

%install
cd espanso
%cargo_install -n -f vendored-tls -f wayland
mkdir -p %buildroot%_bindir
install -Dm755 target/rpm/espanso %buildroot%_bindir

%files
%_bindir/espanso
%caps(cap_dac_override=pe) %_bindir/espanso

%changelog
%autochangelog
11 changes: 6 additions & 5 deletions anda/tools/espanso-x11/espanso-x11.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: espanso-x11
Version: 2.2.1
Release: 1%?dist
Release: 2%?dist
Summary: Cross-platform Text Expander written in Rust for X11
License: GPL-3.0
URL: https://espanso.org
Expand All @@ -13,6 +13,7 @@ BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: wxGTK-devel
BuildRequires: openssl-devel

%description
A cross-platform Text Expander written in Rust. A text expander is a program
Expand All @@ -29,14 +30,14 @@ cd espanso

%build
cd espanso
#cargo_build -n -f vendored-tls
%cargo_build -n -f vendored-tls,"default" -- --package={espanso,espanso-clipboard,espanso-config,espanso-detect,espanso-engine,espanso-info,espanso-inject,espanso-ipc,espanso-kvs,espanso-mac-utils,espanso-match,espanso-migrate,espanso-modulo,espanso-package,espanso-path,espanso-render,espanso-ui}

%install
cd espanso
%cargo_install -n -f vendored-tls
mkdir -p %buildroot%_bindir
install -Dm755 target/rpm/espanso %buildroot%_bindir

%files
%_bindir/espanso
%caps(cap_dac_override=pe) %_bindir/espanso

%changelog
%autochangelog

0 comments on commit 387801b

Please sign in to comment.