commit fe790edd749cc27e85c39afd3a00e62ac0dda95a
Author: Jakub Bogusz <[email protected]>
Date:   Sat Mar 11 20:32:29 2023 +0100

    - new

 mp4als.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/mp4als.spec b/mp4als.spec
new file mode 100644
index 0000000..5b0cea9
--- /dev/null
+++ b/mp4als.spec
@@ -0,0 +1,41 @@
+Summary:       MPEG-4 Audio Lossless Coding - RM23
+Summary(pl.UTF-8):     Kodek MPEG-4 Audio Lossless Coding - RM23
+Name:          mp4als
+Version:       RM23
+%define        gitref  b61dd140febf3ccd31d3aa5ecedbb273e5c1e6bf
+Release:       1
+License:       MPEG-4 Audio
+Group:         Applications/Sound
+Source0:       
https://github.com/kojima-r/mp4alsRM23/archive/%{gitref}/%{name}-%{gitref}.tar.gz
+# Source0-md5: 7f2db05f3efa4bdad7e07a47dfc2f4fe
+URL:           https://github.com/kojima-r/mp4alsRM23
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MPEG-4 Audio Lossless Coding - RM23.
+
+%description -l pl.UTF-8
+Kodek MPEG-4 Audio Lossless Coding - RM23.
+
+%prep
+%setup -q -n %{name}%{version}-%{gitref}
+
+head -n 25 src/mp4als.cpp > license.txt
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} %{rpmcppflags} %{!?debug:-DNDEBUG} 
-DWARN_BUFFERSIZEDB_OVER_24BIT -DPERMIT_SAMPLERATE_OVER_16BIT 
-fno-strict-aliasing"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D bin/linux/mp4alsRM23 $RPM_BUILD_ROOT%{_bindir}/mp4als
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc license.txt readme.txt
+%attr(755,root,root) %{_bindir}/mp4als
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mp4als.git/commitdiff/fe790edd749cc27e85c39afd3a00e62ac0dda95a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to