Fix: libfreeaptx (#3694) (#3697)

* Funny update script

Signed-off-by: Gilver <rockgrub@disroot.org>

* Fixies

Signed-off-by: Gilver <rockgrub@disroot.org>

* Change ver source for now

Signed-off-by: Gilver <rockgrub@disroot.org>

* Bump release

Signed-off-by: Gilver <rockgrub@disroot.org>

* New devel file

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
(cherry picked from commit c47f6a052c)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-03-02 22:29:28 -08:00
committed by GitHub
parent 077f39d70a
commit 26dad0be60
2 changed files with 8 additions and 3 deletions
+5 -3
View File
@@ -1,10 +1,11 @@
%global commit ad6748ac8b2ebbfae7d0c5608434f60592d61edc
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250303
%global ver 0.2.1
Name: libfreeaptx
Version: 0.1.1.%{commit_date}git%{shortcommit}
Release: 1%?dist
Version: %{ver}^%{commit_date}git.%{shortcommit}
Release: 2%?dist
Summary: Free implementation of Audio Processing Technology codec (aptX)
License: LGPLv2+
URL: https://github.com/iamthehorker/libfreeaptx
@@ -43,10 +44,11 @@ The %{name}-tools package contains command line encoder and decoder utilities.
%files
%license COPYING
%{_libdir}/%{name}.so.0
%{_libdir}/%{name}.so.0.1.1
%{_libdir}/%{name}.so.%{ver}
%files devel
%{_includedir}/freeaptx.h
%{_libdir}/%{name}.a
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
+3
View File
@@ -2,4 +2,7 @@ rpm.global("commit", gh_commit("iamthehorker/libfreeaptx"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
let v = gh_tag("pali/libopenaptx"));
v.crop(1);
rpm.global("ver", v);
}