31 lines
781 B
RPMSpec
31 lines
781 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: tar
|
|
Requires: glibc
|
|
|
|
%description
|
|
A runcat module for polybar (or waybar) written in C++
|
|
|
|
%prep
|
|
tar --zstd -xf ${COMPILED_DIR:-/compiled}/polycat/polycat.tar.zst
|
|
|
|
%install
|
|
cd ./polycat/
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
install -Dm755 ./polycat %{buildroot}%{_bindir}/polycat
|
|
mkdir -p %{buildroot}%{datadir}/fonts/polycat/
|
|
install -Dm644 ./polycat.ttf %{buildroot}%{_datadir}/fonts/polycat/polycat.ttf
|
|
|
|
%files
|
|
%{_bindir}/polycat
|
|
%{_datadir}/fonts/polycat/polycat.ttf
|
|
|
|
%changelog
|
|
* DATE_HERE RPM_PACKAGER_NAME <RPM_PACKAGER_EMAIL>
|
|
- CHANGELOG_MESSAGE_HERE
|