# # spec file for package l-smash # # Copyright (c) 2020 Packman Team # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.links2linux.org/ # %define sover 2 Name: l-smash Version: 2.14.5 Release: 1.25 Summary: A simple tool for MP4 License: ISC Group: System/Libraries URL: https://github.com/l-smash/l-smash Source: https://github.com/l-smash/l-smash/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz #PATCH-FIX-UPSTREAM marguerite@opensuse.org - importer.h is needed by x264_tMod Patch1: %{name}-install_importer.h.patch #PATCH-FEATURE-OPENSUSE l-smash-PIE.patch build tools as PIE -- aloisio@gmx.com Patch3: l-smash-PIE.patch BuildRequires: pkgconfig Requires: liblsmash%{sover} = %{version} %description Loyal to Spec of Mpeg4 and Ad-hoc Simple Hackwork. Yet another opensource mp4 handlerâ„¢ %package -n liblsmash%{sover} Summary: Libraries of L-SMASH Group: System/Libraries %description -n liblsmash%{sover} Loyal to Spec of Mpeg4 and Ad-hoc Simple Hackwork. Yet another opensource mp4 handlerâ„¢ This package provides runtime libraries for L-SMASH. %package devel Summary: Development headers for L-SMASH Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel Loyal to Spec of Mpeg4 and Ad-hoc Simple Hackwork. Yet another opensource mp4 handlerâ„¢ This package provides development headers for L-SMASH. %prep %autosetup -p1 %build ./configure --prefix=%{_prefix} \ --libdir=%{_libdir} \ --disable-static \ --enable-shared \ --enable-debug \ --extra-cflags="%{optflags}" %make_build %install %make_install %post -n liblsmash%{sover} -p /sbin/ldconfig %postun -n liblsmash%{sover} -p /sbin/ldconfig %files %license LICENSE %{_bindir}/boxdumper %{_bindir}/muxer %{_bindir}/remuxer %{_bindir}/timelineeditor %files -n liblsmash%{sover} %{_libdir}/liblsmash.so.%{sover} %files devel %{_includedir}/lsmash.h %{_includedir}/lsmash_importer.h %{_libdir}/liblsmash.so %{_libdir}/pkgconfig/liblsmash.pc %changelog * Sat Jul 11 2020 Luigi Baldoni - Drop l-smash-DATE_TIME.patch (no longer necessary) - Add l-smash-PIE.patch - Use correct license - Spec cleanup * Thu Oct 11 2018 aloisio@gmx.com - Update to version 2.14.5 (no changelog supplied) - Use stable tarball - Refreshed l-smash-DATE_TIME.patch - Spec cleanup * Tue Feb 9 2016 i@marguerite.su - Update to version 2.9.1+git20151003.3408947: + description: Make description setup functions more encapsulated. + read: Select description reader by sane procedure. + mp4a: Fix failure of bitrate update and QTFF output. + read: Select description allocator by sane procedure. + write: Select description writer by sane procedure. + print: Select description printer by sane procedure. + read: Read sample entry immediately as unknown if media 'hdlr' is not found. + write: Don't write sample entry if media 'hdlr' is not found. + MSVC: add missing source files. + cli/muxer: Add 'par' track option, which specifies pixel aspect ratio. * Mon Apr 21 2014 i@margueirte.su - initial version 20140421