Introduced hyprlang
All checks were successful
Build hyprlang / Build and push image (push) Successful in 1m47s

This commit is contained in:
2025-12-03 13:05:50 -05:00
parent 17a5346b2f
commit 5e8ff937a9
2 changed files with 84 additions and 0 deletions

52
hyprlang.spec Normal file
View File

@@ -0,0 +1,52 @@
Name: hyprlang
Version: 0.6.7
Release: %autorelease -b12
Summary: The official implementation library for the hypr config language
License: LGPL-3.0-only
URL: https://github.com/hyprwm/hyprlang
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkgconfig(hyprutils)
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for %{name}.
%prep
%autosetup -p1
sed 's/.*/%{version}/' -i VERSION
%build
%cmake
%cmake_build
%install
%cmake_install
%check
%ctest
%files
%license LICENSE
%doc README.md
%{_libdir}/libhyprlang.so.2
%{_libdir}/libhyprlang.so.%{version}
%files devel
%{_includedir}/hyprlang.hpp
%{_libdir}/libhyprlang.so
%{_libdir}/pkgconfig/hyprlang.pc
%changelog
%autochangelog