]> git.pld-linux.org Git - packages/mp4als.git/commitdiff
- new master auto/th/mp4als-RM23-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 11 Mar 2023 19:32:29 +0000 (20:32 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 11 Mar 2023 19:32:29 +0000 (20:32 +0100)
mp4als.spec [new file with mode: 0644]

diff --git a/mp4als.spec b/mp4als.spec
new file mode 100644 (file)
index 0000000..5b0cea9
--- /dev/null
@@ -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
This page took 0.09799 seconds and 4 git commands to generate.