initial commit
This commit is contained in:
commit
e51c7c25fd
3 changed files with 72 additions and 0 deletions
37
polycat.spec
Normal file
37
polycat.spec
Normal file
|
@ -0,0 +1,37 @@
|
|||
Name: polycat
|
||||
Version: r93.0c836d5
|
||||
Release: 1%{?dist}
|
||||
Summary: runcat module for polybar (or waybar)
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/2IMT/polycat
|
||||
|
||||
BuildRequires: cmake make 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
|
||||
/usr/bin/polycat
|
||||
/usr/share/fonts/polycat/polycat.ttf
|
||||
|
||||
%changelog
|
||||
* Mon Jan 06 2025 askiiart <dev@askiiart.net>
|
||||
- First version
|
Loading…
Add table
Add a link
Reference in a new issue