## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} Name: cinny-web Version: 4.12.1 Release: %autorelease Summary: Yet another matrix web client. License: AGPL-3.0-only URL: https://github.com/cinnyapp/cinny Source0: https://github.com/cinnyapp/cinny/archive/refs/tags/v%{version}.tar.gz Source1: cinny-nginx.conf BuildRequires: nodejs BuildRequires: nodejs-npm BuildRequires: systemd-rpm-macros Requires: nginx-filesystem %description A Matrix client focusing primarily on simple, elegant and secure interface. The main goal is to have an instant messaging application that is easy on people and has a modern touch. %prep %setup -q -n cinny-%{version} %build npm install npm run build %install mkdir -p %{buildroot}%{_datadir}/cinny-web/ mkdir -p %{buildroot}%{_sysconfdir}/nginx/default.d/ mkdir -p %{buildroot}%{_sysconfdir}/cinny-web/ cp -Rp ./dist/. %{buildroot}%{_datadir}/cinny-web/ install -m 644 %{S:1} %{buildroot}%{_sysconfdir}/nginx/default.d/cinny-web.conf install -m 644 config.json %{buildroot}%{_sysconfdir}/cinny-web/config.json %files %license LICENSE %doc README.md CONTRIBUTING.md %config(noreplace) %{_sysconfdir}/nginx/default.d/cinny-web.conf %config(noreplace) %{_sysconfdir}/cinny-web/config.json %{_datadir}/cinny-web/ %changelog ## START: Generated by rpmautospec * Sun May 17 2026 Grillo del Mal - 4.12.1-1 - Initial commit ## END: Generated by rpmautospec