* add: lily



* not arch dependant



* use pkg_devel_files macro



* cursed but it works lol



---------



(cherry picked from commit ce7936fece)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2025-11-01 23:24:59 -07:00
committed by GitHub
parent e6144bc926
commit 07e1b9c419
3 changed files with 51 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "lily.spec"
}
}
+45
View File
@@ -0,0 +1,45 @@
Name: lily
Summary: Interpreted language focused on expressiveness and type safety
Version: 2.2
Release: 1%?dist
License: MIT
URL: https://github.com/fascinatedbox/lily
Source0: %url/archive/refs/tags/v%version.tar.gz
Packager: Owen Zimmerman <owen@fyralabs.com>
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: g++
%description
%{summary}.
%package devel
Summary: Development files for lily
Requires: %{name}
%pkg_devel_files
%prep
%autosetup -n %{name}-%{version}
%build
%cmake
%cmake_build
%install
install -Dm644 redhat-linux-build/lib/liblily.so %{buildroot}/usr/lib64/liblily.so
%cmake_install
%files
%doc README.md RELEASES.md
%license LICENSE.txt
%{_bindir}/lily
%files devel
/usr/lib64/liblily.so
%ghost /usr/lib/liblily.so
%{_includedir}/lily/lily.h
%changelog
* Thu Oct 30 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial package
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("fascinatedbox/lily"));