This commit is contained in:
parent
8c679f1b88
commit
08abad08da
2 changed files with 9 additions and 3 deletions
|
@ -23,11 +23,17 @@ mkdir -p %{buildroot}%{_bindir}
|
||||||
install -Dm755 ./polycat %{buildroot}%{_bindir}/polycat
|
install -Dm755 ./polycat %{buildroot}%{_bindir}/polycat
|
||||||
mkdir -p %{buildroot}%{datadir}/fonts/polycat/
|
mkdir -p %{buildroot}%{datadir}/fonts/polycat/
|
||||||
install -Dm644 ./polycat.ttf %{buildroot}%{_datadir}/fonts/polycat/polycat.ttf
|
install -Dm644 ./polycat.ttf %{buildroot}%{_datadir}/fonts/polycat/polycat.ttf
|
||||||
|
mkdir -p %{buildroot}/usr/local/share/polycat/polycat-config
|
||||||
|
install -Dm644 ./polycat-config %{buildroot}/usr/local/share/polycat/polycat-config
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/polycat
|
%{_bindir}/polycat
|
||||||
%{_datadir}/fonts/polycat/polycat.ttf
|
%{_datadir}/fonts/polycat/polycat.ttf
|
||||||
|
/usr/local/share/polycat/polycat-config
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 26 2025 askiiart <dev@askiiart.net>
|
||||||
|
- Update to 2.0
|
||||||
|
|
||||||
* Thu Mar 6 2025 askiiart <dev@askiiart.net>
|
* Thu Mar 6 2025 askiiart <dev@askiiart.net>
|
||||||
- Add zstd (previous changes were not listed here)
|
- Add zstd (previous changes were not listed here)
|
||||||
|
|
6
run.sh
6
run.sh
|
@ -31,11 +31,11 @@ mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/
|
||||||
cd $repo_dir
|
cd $repo_dir
|
||||||
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists
|
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists
|
||||||
# (which only happens on first run)
|
# (which only happens on first run)
|
||||||
touch polycat-r0.rpm
|
touch polycat-0.rpm
|
||||||
rm $(ls polycat-*.rpm | sort --version-sort | sed '$d')
|
rm $(ls polycat-*.rpm | sort --version-sort | sed '$d')
|
||||||
rm polycat-r0.rpm || true
|
rm polycat-0.rpm || true
|
||||||
|
|
||||||
# update repo
|
# update repo
|
||||||
createrepo_c .
|
createrepo_c .
|
||||||
|
|
||||||
echo "package is at $repo_dir/$(ls $repo_dir/polycat-*.rpm)"
|
echo "package is at $(ls $repo_dir/polycat-*.rpm)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue