Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
vim-plugin-keysound
vim-plugin-keysound.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vim-plugin-keysound.spec of Package vim-plugin-keysound
# # spec file for package vim-plugin-keysound # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _name vim-keysound Name: vim-plugin-keysound Version: @SERVICE@ Release: 0 Summary: Play typewriter sound in Vim License: GPL-3.0-or-later Group: Productivity/Text/Editors URL: https://github.com/skywind3000/vim-keysound Source0: %{_name}-%{version}.tar.xz Source1: sounds-starc.tar.xz BuildRequires: vim BuildRequires: pkgconfig BuildRequires: pkgconfig(python3) Requires: python3-PySDL2 %requires_eq libSDL2_mixer-2_0-0 BuildArch: noarch %description Play typewriter sound in Vim when you are typing a letter. %prep %autosetup -a1 -n %{_name}-%{version} %build %install %define vimplugin_dir %{_datadir}/vim/site mkdir -p %{buildroot}%{vimplugin_dir}/ cp -a {autoload,plugin,sounds} %{buildroot}%{vimplugin_dir}/ mkdir -p %{buildroot}%{vimplugin_dir}/autoload/__pycache__ pushd %{buildroot}%{vimplugin_dir}/autoload/__pycache__ %py3_compile .. popd %post echo -e "\e[01;37mcp /usr/share/vim/vim80/suse.vimrc \$HOME/.vimrc\e[0m \e[01;37mConfiguration \$HOME/.vimrc:\e[0m \" keysounds \" themes: bubble, default, mario, starc, sword, typewriter let g:keysound_enable = 1 let g:keysound_theme = 'starc' let g:keysound_py_version = 3 let g:keysound_volume = 750 \" end keysounds" %files %doc README.md %{vimplugin_dir}/autoload/keysound.py %{vimplugin_dir}/autoload/keysound.vim %{vimplugin_dir}/autoload/__pycache__ %{vimplugin_dir}/plugin/keysound.vim %dir %{vimplugin_dir}/sounds %{vimplugin_dir}/sounds/bubble %{vimplugin_dir}/sounds/default %{vimplugin_dir}/sounds/mario %{vimplugin_dir}/sounds/starc %{vimplugin_dir}/sounds/sword %{vimplugin_dir}/sounds/typewriter %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor