36 lines
896 B
RPMSpec
36 lines
896 B
RPMSpec
Name: polycat
|
|
Version: r93.0c836d5
|
|
Release: %autorelease
|
|
Summary: runcat module for polybar (or waybar)
|
|
|
|
License: MIT
|
|
URL: https://github.com/2IMT/polycat
|
|
|
|
BuildRequires: cmake g++ git tar
|
|
Requires: glibc
|
|
|
|
%description
|
|
A runcat module for polybar (or waybar) written in C++
|
|
|
|
%prep
|
|
git clone --recursive https://github.com/2IMT/polycat.git --depth 1 --shallow-submodules
|
|
|
|
%build
|
|
cd ./polycat/
|
|
%cmake -DCMAKE_BUILD_TYPE=RELEASE
|
|
%cmake_build
|
|
|
|
%install
|
|
cd ./polycat/
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
install -Dm755 ./redhat-linux-build/polycat %{buildroot}%{_bindir}/polycat
|
|
mkdir -p %{buildroot}%{datadir}/fonts/polycat/
|
|
install -Dm644 ./res/polycat.ttf %{buildroot}%{_datadir}/fonts/polycat/polycat.ttf
|
|
|
|
%files
|
|
%{_bindir}/polycat
|
|
%{_datadir}/fonts/polycat/polycat.ttf
|
|
|
|
%changelog
|
|
* Mon Jan 06 2025 askiiart <dev@askiiart.net>
|
|
- First version
|