diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4207a6f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/wtype-v0.3.tar.gz +/wtype-v0.4.tar.gz +/wtype-0.4.tar.gz diff --git a/README.md b/README.md index ba3a715..4271466 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ -# wtype +# wtype - xdool type for Wayland -The wtype package +The [xdotool] program is a handy way to do typing, mouse movements, window +adjustments, and more in X11. It's used by [rofimoji] and other tools to type +characters into X11 applications. + +The equivalent for Wayland is [wtype] _(this package)_. You can use `wtype` in +much the same was as `xdotool`. + +[xdotool]: https://github.com/jordansissel/xdotool +[rofimoji]: https://github.com/fdw/rofimoji +[wtype]: https://github.com/atx/wtype \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..dd74eef --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wtype-0.4.tar.gz) = d3441672418868221448675962979738016a9a5a96c61fd41a1e47d0633c8dea500a39c0834280788271abc6a59731692962b566ee9f6e592f00939088409130 diff --git a/wtype.spec b/wtype.spec new file mode 100644 index 0000000..98f1e1a --- /dev/null +++ b/wtype.spec @@ -0,0 +1,45 @@ +Name: wtype +Version: 0.4 +Release: %autorelease +Summary: xdotool type for Wayland +License: MIT + +%global forgeurl https://github.com/atx/%{name} +%global tag v%{version} +%forgemeta + +URL: %{forgeurl} +Source0: %{forgesource} + +BuildRequires: gcc +BuildRequires: meson +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(xkbcommon) + +%description +%{summary} + + +%prep +%forgeautosetup + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE +%doc README.md +%{_bindir}/wtype +%{_mandir}/man1/wtype.1* + + +%changelog +%autochangelog