Last active
May 29, 2021 23:40
-
-
Save rabin-io/5398f59fab2faaf150a97d53876269b4 to your computer and use it in GitHub Desktop.
bucklespring.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
Name: bucklespring | |
Version: 1.5.0 | |
Release: 1%{?dist} | |
Summary: Nostalgia bucklespring keyboard sound | |
Group: Applications/Multimedia | |
License: GPLv2 | |
URL: https://github.com/zevv/bucklespring | |
#Source0: https://github.com/rabin-io/bucklespring/archive/v%{version}.tar.gz | |
Source0: https://github.com/zevv/bucklespring/archive/refs/tags/%{version}.tar.gz | |
#Source0: bucklespring-%{version}.zip | |
# BuildRequires: pkg-config pkgconf-pkg-config | |
BuildRequires: gcc alure-devel libXtst-devel openal-soft-devel dumb-devel | |
Requires: alure openal-soft libXtst | |
%description | |
This project emulates the sound of my old faithful IBM Model-M | |
space saver bucklespring keyboard while typing on my notebook, | |
mainly for the purpose of annoying the hell out of my coworkers. | |
%prep | |
%setup -q | |
%build | |
cat >>Makefile <<EOF | |
install: | |
mkdir -p "${RPM_BUILD_ROOT}/usr/local/bin" | |
install buckle "${RPM_BUILD_ROOT}/usr/local/bin/buckle" | |
install --directory wav "${RPM_BUILD_ROOT}/usr/local/lib/bucklespring/wav" | |
cp -a wav/* "${RPM_BUILD_ROOT}/usr/local/lib/bucklespring/wav/" | |
EOF | |
tail Makefile | |
make | |
%install | |
make install | |
%files | |
%doc | |
/usr/local/bin/buckle | |
/usr/local/lib/bucklespring/wav/ | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment