diff --git a/anda/system/vicinae/anda.hcl b/anda/system/vicinae/anda.hcl new file mode 100644 index 0000000000..63c46bf7c5 --- /dev/null +++ b/anda/system/vicinae/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "vicinae.spec" + } + labels { + mock = 1 + } +} diff --git a/anda/system/vicinae/update.rhai b/anda/system/vicinae/update.rhai new file mode 100644 index 0000000000..c731f04401 --- /dev/null +++ b/anda/system/vicinae/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("vicinaehq/vicinae")); diff --git a/anda/system/vicinae/vicinae.spec b/anda/system/vicinae/vicinae.spec new file mode 100644 index 0000000000..7b653ce0a7 --- /dev/null +++ b/anda/system/vicinae/vicinae.spec @@ -0,0 +1,66 @@ +Name: vicinae +Version: 0.17.3 +Release: 1%{?dist} +License: GPL-3.0 +URL: https://docs.vicinae.com +Source: https://github.com/vicinaehq/%{name}/archive/refs/tags/v%{version}.tar.gz +Summary: a high-performance, native launcher for Linux +Packager: metcya + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: cmake(absl) +BuildRequires: openssl-devel +BuildRequires: cmark-gfm-devel +BuildRequires: cmake(glaze) +BuildRequires: cmake(minizip) +BuildRequires: cmake(Qt6) +BuildRequires: cmake(Qt6Svg) +BuildRequires: cmake(Qt6Keychain) +BuildRequires: cmake(LayerShellQt) +BuildRequires: pkgconfig(libqalculate) +BuildRequires: pkgconfig(protobuf) +BuildRequires: wayland-devel +BuildRequires: nodejs-npm +BuildRequires: systemd-rpm-macros + +Requires: nodejs-npm + +%description +Vicinae (pronounced "vih-SIN-ay") is a high-performance, native launcher for +your desktop — built with C++ and Qt. + +%prep +%autosetup + +%build +%cmake -DNOSTRIP=ON +%cmake_build + +%install +%cmake_install +install -Dm 644 extra/%{name}.desktop -t %{buildroot}%{_appsdir} +install -Dm 644 extra/%{name}-url-handler.desktop -t %{buildroot}%{_appsdir} + +%post +%systemd_user_post %{name}.service + +%preun +%systemd_user_preun %{name}.service + +%postun +%systemd_user_postun_with_restart %{name}.service + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_userunitdir}/%{name}.service +%{_datadir}/%{name}/themes/ +%{_appsdir}/%{name}.desktop +%{_appsdir}/%{name}-url-handler.desktop +%{_hicolordir}/512x512/apps/%{name}.png + +%changelog +* Fri Dec 26 2025 metcya - 0.17.3 +- Package vicinae