build: add spec and gear

parent fdfbbb54
spec: .gear/ximperconf.spec
tar: .
tar: vendor name=@name@-development-@version@ base=vendor
Name: ximperconf
Version: 0.1.0
Release: eter0
License: GPL-3.0
Summary: Ximper Linux Configuration Tool
Group: System/Configuration/Other
Url: https://gitlab.eterfund.ru/ximperlinux/ximperconf
Vcs: https://gitlab.eterfund.ru/ximperlinux/ximperconf.git
Source: %name-%version.tar
Source1: %name-development-%version.tar
BuildRequires(pre): rpm-macros-meson
BuildRequires: rpm-build-golang
BuildRequires: meson
BuildRequires: pkgconfig(systemd)
%description
%summary.
%prep
%setup -a1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %name
%post
%systemd_user_post %name-presets.service
%preun
%systemd_user_preun %name-presets.service
%postun
%systemd_user_postun %name-presets.service
%files -f %name.lang
%_bindir/%name
%_datadir/bash-completion/completions/%name
%_datadir/zsh/site-functions/_%name
%_datadir/fish/vendor_completions.d/%name.fish
%_userunitdir/%name-presets.service
%changelog
* Sat Apr 25 2026 Kirill Unitsaev <fiersik@altlinux.org> 0.1.0-eter0
- Initial build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment