#For git snapshots, set to 0 to use release instead: %global usesnapshot 0 %if 0%{?usesnapshot} %global commit0 da0dff96a563fb8b09f2a2a78a0aa97b8af47ff2 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global snapshottag .git%{shortcommit0} %endif %global pname MP4Tools %global wxsvg_ver 1.5.22 Name: mp4tools %if 0%{?usesnapshot} Version: 3.8 Release: 0.11.beta3%{?snapshottag}%{?dist} %else Version: 3.8 Release: 9%{?dist} %endif Summary: A free cross-platform tool to manipulate MP4 files License: GPLv2 URL: http://www.mp4joiner.org # checkout instructions # git clone git://git.code.sf.net/p/mp4joiner/git mp4tools # cd mp4tools # git rev-parse --short HEAD # git archive --format=tar --prefix=mp4tools/ %%{shortcommit0} \ # -o mp4tools-%%{shortcommit0}.tar # bzip2 mp4tools-%%{shortcommit0}.tar %if 0%{?usesnapshot} Source0: %{name}-%{shortcommit0}.tar.bz2 %else Source0: https://sourceforge.net/projects/mp4joiner/files/%{pname}/%{version}/%{pname}-%{version}.tar.bz2 %endif # fedora specific patch Patch0: %{name}-wx-config.patch BuildRequires: gcc-c++ BuildRequires: autoconf automake BuildRequires: gettext-devel BuildRequires: ffmpeg-free BuildRequires: ffmpeg-free-devel BuildRequires: gpac BuildRequires: wxGTK-devel BuildRequires: wxsvg-devel >= %{wxsvg_ver} BuildRequires: desktop-file-utils Requires: ffmpeg-free Requires: gpac Requires: wxsvg >= %{wxsvg_ver} %description MP4Tools is a collection of cross-platform free tools to manipulate MP4 files. It contains following applications: ⦁ MP4Joiner is a free application that allows join multiple MP4 files into one ⦁ MP4Splitter is a free application that allows split a MP4 file in multiple files %prep %if 0%{?usesnapshot} %setup -q -n %{name} %else %setup -q -n %{pname}-%{version} %endif %build NOCONFIGURE=1 ./autogen.sh %configure %make_build %install %make_install doc_DATA= # menus mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/mp4joiner.desktop < %{buildroot}%{_datadir}/applications/mp4splitter.desktop < - 3.8-8 - Rebuild with wxWidgets 3.2 * Sun Aug 07 2022 RPM Fusion Release Engineering - 3.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg 5.1 * Wed Feb 09 2022 RPM Fusion Release Engineering - 3.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 12 2021 Leigh Scott - 3.8-5 - Rebuilt for new ffmpeg snapshot * Tue Aug 03 2021 RPM Fusion Release Engineering - 3.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Feb 03 2021 RPM Fusion Release Engineering - 3.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Aug 18 2020 RPM Fusion Release Engineering - 3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Apr 16 2020 Martin Gansser - 3.8.1-1 - Update to 3.8.1 * Wed Feb 05 2020 RPM Fusion Release Engineering - 3.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Aug 09 2019 RPM Fusion Release Engineering - 3.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 04 2019 RPM Fusion Release Engineering - 3.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Feb 10 2019 Martin Gansser - 3.7.1-5 - Add RR wxsvg-1.5.16 fixes (rfbz#5166). * Tue Jan 29 2019 Martin Gansser - 3.7.1-4 - Rebuilt for wxsvg-1.5.16 * Mon Jan 28 2019 Martin Gansser - 3.7.1-3 - Rebuilt for wxsvg-1.5.16 * Tue Jan 22 2019 Martin Gansser - 3.7.1-2 - Rebuilt * Wed Dec 26 2018 Martin Gansser - 3.7.1-1 - Update to 3.7.1 - Add BR gcc gcc-c++ - Add BR wxGTK3-devel for Fedora >= 30 * Sun Aug 19 2018 Leigh Scott - 3.6.1-2 - Rebuilt for Fedora 29 Mass Rebuild binutils issue * Fri Jul 27 2018 Martin Gansser - 3.6.1-1 - Update to 3.6.1 * Fri Jul 27 2018 RPM Fusion Release Engineering - 3.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Mar 08 2018 RPM Fusion Release Engineering - 3.5-7 - Rebuilt for new ffmpeg snapshot * Thu Mar 01 2018 RPM Fusion Release Engineering - 3.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Leigh Scott - 3.5-5 - Rebuilt for ffmpeg-3.5 git * Tue Jan 09 2018 Martin Gansser - 3.5-4 - Add RR gpac * Thu Oct 12 2017 Martin Gansser - 3.5-3 - COPYING file does not report a GPLv3 license, use GPLv2 - Do not use %%license and %%{_pkgdocdir} together * Sat Sep 02 2017 Martin Gansser - 3.5-2 - remove scriptlets now longer needed * Fri Sep 01 2017 Martin Gansser - 3.5-1 - Update to 3.5 - Add %%{name}-wx-config.patch * Fri Sep 01 2017 Martin Gansser - 3.4-1 - initial build