Name: filerix Version: 1.0.2 Release: 1%{?dist} Summary: A high-performance file management library License: MIT URL: https://github.com/filesverse/filerix Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: gcc, gcc-c++, cmake, pkgconfig, vcpkg BuildRequires: systemd-devel Requires: glibc, udev %description Filerix is a lightweight and high-performance file management library designed to provide essential file system operations. %package devel Summary: Development files for Filerix Requires: %{name} = %{version}-%{release} %description devel The Filerix development package contains headers and pkg-config files needed to develop applications using the Filerix library. %prep %autosetup -n %{name}-%{version} %build mkdir -p build cd build rm -rf ../vcpkg git clone --depth 1 https://github.com/microsoft/vcpkg ../vcpkg ../vcpkg/bootstrap-vcpkg.sh ../vcpkg/vcpkg --feature-flags=manifests install cmake .. cmake --build . --parallel %install cmake --install . --prefix=%{buildroot} %files %license LICENSE %doc README.md %{_libdir}/libfilerix.so %files devel %{_includedir}/filerix/* %{_libdir}/pkgconfig/filerix.pc %changelog * Fri Feb 14 2025 KingMaj0r - 1.0.1-1 - Updated build process to use CMake and Vcpkg for dependencies - Added CMake integration to the RPM build * Fri Feb 14 2025 KingMaj0r - 1.0.0-1 - Initial release