Compare commits

..

No commits in common. "rawhide" and "f33" have entirely different histories.

3 changed files with 15 additions and 12 deletions

2
.gitignore vendored
View file

@ -1,3 +1 @@
/wtype-v0.3.tar.gz
/wtype-v0.4.tar.gz
/wtype-0.4.tar.gz

View file

@ -1 +1 @@
SHA512 (wtype-0.4.tar.gz) = d3441672418868221448675962979738016a9a5a96c61fd41a1e47d0633c8dea500a39c0834280788271abc6a59731692962b566ee9f6e592f00939088409130
SHA512 (wtype-v0.3.tar.gz) = dc051a264da0614e697c440068d24dde2a12c039c9b1d8e84b5d419da492792b74a2585a1522276de592866dda79a06249d5e4d665289c66f19b63d49c3dc475

View file

@ -1,11 +1,15 @@
Name: wtype
Version: 0.4
Release: %autorelease
Version: 0.3
Release: 2%{?dist}
Summary: xdotool type for Wayland
License: MIT
# NOTE(mhayden): archivename is required here because Fedora looks for the
# source tarball without the `v` from the tag. EPEL packaging expects the `v`
# to be present. Setting it manually allows both to work.
%global forgeurl https://github.com/atx/%{name}
%global tag v%{version}
%global archivename %{name}-%{tag}
%forgemeta
URL: %{forgeurl}
@ -20,26 +24,27 @@ BuildRequires: pkgconfig(xkbcommon)
%description
%{summary}
%prep
%forgeautosetup
%autosetup %{name}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc README.md
%{_bindir}/wtype
%{_mandir}/man1/wtype.1*
%changelog
%autochangelog
* Mon May 24 2021 Major Hayden <major@mhtx.net> - 0.3-2
- Remove extension from archivename.
- Use pkgconfig to find build requirements.
- Remove post/postun scriptlets as they're no longer needed.
* Mon May 24 2021 Major Hayden <major@mhtx.net> - 0.3-1
- Initial build.