-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add: espanso-wayland espanso-x11 * update deps (cherry picked from commit c654152) Co-authored-by: madomado <[email protected]>
- Loading branch information
Showing
6 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "espanso-wayland.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Name: espanso-wayland | ||
Version: 2.2.1 | ||
Release: 1%?dist | ||
Summary: Cross-platform Text Expander written in Rust for Wayland | ||
License: GPL-3.0 | ||
URL: https://espanso.org | ||
Source0: https://github.com/espanso/espanso/archive/refs/tags/v%version.tar.gz | ||
Requires: libxkbcommon dbus libnotify wxGTK wl-clipboard | ||
Conflicts: espanso-x11 | ||
BuildRequires: anda-srpm-macros cargo-rpm-macros gcc gcc-c++ | ||
BuildRequires: pkgconfig(x11) | ||
BuildRequires: pkgconfig(xtst) | ||
BuildRequires: pkgconfig(xkbcommon) | ||
BuildRequires: pkgconfig(dbus-1) | ||
BuildRequires: wxGTK-devel | ||
|
||
%description | ||
A cross-platform Text Expander written in Rust. A text expander is a program | ||
that detects when you type a specific keyword and replaces it with something | ||
else. | ||
|
||
This package includes the Wayland version of espanso. | ||
|
||
|
||
%prep | ||
%autosetup -n espanso-%version | ||
cd espanso | ||
%cargo_prep_online | ||
|
||
%build | ||
cd espanso | ||
#cargo_build -n -f vendored-tls -f wayland | ||
|
||
%install | ||
cd espanso | ||
%cargo_install -n -f vendored-tls -f wayland | ||
|
||
%files | ||
%_bindir/espanso | ||
|
||
%changelog | ||
%autochangelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(gh("espanso/espanso")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "espanso-x11.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Name: espanso-x11 | ||
Version: 2.2.1 | ||
Release: 1%?dist | ||
Summary: Cross-platform Text Expander written in Rust for X11 | ||
License: GPL-3.0 | ||
URL: https://espanso.org | ||
Source0: https://github.com/espanso/espanso/archive/refs/tags/v%version.tar.gz | ||
Requires: libxkbcommon dbus libnotify wxGTK xdotool xclip libxcb | ||
Conflicts: espanso-wayland | ||
BuildRequires: anda-srpm-macros cargo-rpm-macros gcc gcc-c++ | ||
BuildRequires: pkgconfig(x11) | ||
BuildRequires: pkgconfig(xtst) | ||
BuildRequires: pkgconfig(xkbcommon) | ||
BuildRequires: pkgconfig(dbus-1) | ||
BuildRequires: wxGTK-devel | ||
|
||
%description | ||
A cross-platform Text Expander written in Rust. A text expander is a program | ||
that detects when you type a specific keyword and replaces it with something | ||
else. | ||
|
||
This package includes the X11 version of espanso. | ||
|
||
|
||
%prep | ||
%autosetup -n espanso-%version | ||
cd espanso | ||
%cargo_prep_online | ||
|
||
%build | ||
cd espanso | ||
#cargo_build -n -f vendored-tls | ||
|
||
%install | ||
cd espanso | ||
%cargo_install -n -f vendored-tls | ||
|
||
%files | ||
%_bindir/espanso | ||
|
||
%changelog | ||
%autochangelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rpm.version(gh("espanso/espanso")); |