commit af13ff3b2ef75a36b6af0224adf4c5a1b80d80e5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Aug 11 18:50:49 2023 +0100
Revert "Moved to Fedora" as the fedora package is too old
This reverts commit 3ddd33e9da5fb80fd4601ad7a067af20de84f846.
.gitignore | 21 ++++
dead.package | 1 -
libopenshot.spec | 335 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 357 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..70c565d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,21 @@
+libopenshot-0.0.6.tar.gz
+/libopenshot-0.1.1.tar.gz
+/libopenshot-0.1.2.tar.gz
+/libopenshot-0.1.3.tar.gz
+/libopenshot-0.1.4.tar.gz
+/libopenshot-0.1.6.tar.gz
+/libopenshot-0.1.7.tar.gz
+/libopenshot-0.1.8.tar.gz
+/libopenshot-0.1.9.tar.gz
+/libopenshot-0.2.0.tar.gz
+/libopenshot-0.2.2.tar.gz
+/libopenshot-0.2.3.tar.gz
+/libopenshot-101f25a.tar.gz
+/libopenshot-c685571.tar.gz
+/libopenshot-0.2.4.tar.gz
+/libopenshot-0.2.5.tar.gz
+/libopenshot-0.2.6.tar.gz
+/libopenshot-0.2.7.tar.gz
+/libopenshot-0.3.0.tar.gz
+/libopenshot-0.3.1.tar.gz
+/libopenshot-0.3.2.tar.gz
diff --git a/libopenshot.spec b/libopenshot.spec
new file mode 100644
index 0000000..8dcb6c9
--- /dev/null
+++ b/libopenshot.spec
@@ -0,0 +1,335 @@
+%global github_url
https://github.com/OpenShot/libopenshot
+
+# Try opting-out of LTO, due to test failures
+%define _lto_cflags %{nil}
+
+Name: libopenshot
+Version: 0.3.2
+Release: 3%{?dist}
+Summary: Library for creating and editing videos
+
+License: LGPLv3+ and BSD and MIT and CC0 and CC-BY
+URL:
http://www.openshot.org/
+Source0: %{github_url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+# libopenshot is completely broken on ppc64le, see rfbz #5528
+ExcludeArch: ppc64le
+
+BuildRequires: gcc-c++
+BuildRequires: cmake
+BuildRequires: alsa-lib-devel
+BuildRequires: babl-devel
+BuildRequires: ImageMagick-c++-devel
+BuildRequires: ffmpeg-devel
+BuildRequires: opencv-devel
+BuildRequires: protobuf-devel
+BuildRequires: qt5-qttools-devel
+BuildRequires: qt5-qtmultimedia-devel
+BuildRequires: qt5-qtsvg-devel
+BuildRequires: unittest-cpp-devel
+BuildRequires: cppzmq-devel
+BuildRequires: zeromq-devel
+BuildRequires: jsoncpp-devel
+BuildRequires: libopenshot-audio-devel
+
+
+%description
+OpenShot Library (libopenshot) is an open-source project
+dedicated to delivering high quality video editing, animation,
+and playback solutions to the world. For more information
+visit <
http://www.openshot.org/>.
+
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%package -n python%{python3_pkgversion}-%{name}
+Summary: Python bindings for %{name}
+BuildRequires: swig >= 3.0
+BuildRequires: python%{python3_pkgversion}-libs
+BuildRequires: python%{python3_pkgversion}-devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Obsoletes: python-%{name} < 0.1.1-2
+Provides: python-%{name} = %{version}-%{release}
+
+%description -n python%{python3_pkgversion}-%{name}
+The python-%{name} package contains python bindings for
+applications that use %{name}.
+
+
+%package -n ruby-%{name}
+Summary: Ruby bindings for %{name}
+BuildRequires: ruby-devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description -n ruby-%{name}
+The ruby-%{name} package contains ruby bindings for
+applications that use %{name}.
+
+
+%prep
+%autosetup -p1
+
+%build
+%cmake -Wno-dev -DCMAKE_BUILD_TYPE:STRING=Release
+%cmake_build
+
+%check
+%cmake_build --target test || :
+
+%install
+%cmake_install
+
+%files
+%doc AUTHORS README.md
+%license LICENSES/*
+%{_libdir}/%{name}.so.*
+
+%files devel
+%{_includedir}/%{name}/
+%{_libdir}/%{name}.so
+
+%files -n python%{python3_pkgversion}-libopenshot
+%{python3_sitearch}/*
+
+%files -n ruby-libopenshot
+%{ruby_vendorarchdir}/*
+
+%changelog
+* Wed Aug 02 2023 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
0.3.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
+
+* Sat Jul 08 2023 Leigh Scott <leigh123linux(a)gmail.com> - 0.3.2-2
+- Rebuilt for Python 3.12
+
+* Sat Apr 22 2023 Leigh Scott <leigh123linux(a)gmail.com> - 0.3.2-1
+- New upstream release
+
+* Fri Apr 07 2023 Leigh Scott <leigh123linux(a)gmail.com> - 0.3.1-1
+- New upstream release
+
+* Wed Mar 01 2023 Leigh Scott <leigh123linux(a)gmail.com> - 0.3.0-4
+- Rebuild for new ffmpeg
+
+* Wed Feb 08 2023 Leigh Scott <leigh123linux(a)gmail.com> - 0.3.0-3
+- Rebuild for new opencv
+
+* Fri Jan 13 2023 Sérgio Basto <sergio(a)serjux.com> - 0.3.0-2
+- Rebuild for ImageMagick 7.1
+
+* Fri Dec 02 2022 Leigh Scott <leigh123linux(a)gmail.com> - 0.3.0-1
+- New upstream release
+
+* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
0.2.7-8
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
+ 5.1
+
+* Sat Jun 25 2022 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.2.7-7
+- Rebuilt for Python 3.11
+
+* Thu Jun 23 2022 Sérgio Basto <sergio(a)serjux.com> - 0.2.7-6
+- Rebuilt for opencv 4.6.0
+- Fix cmake build
+
+* Sun Feb 06 2022 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.7-5
+- Rebuilt for ffmpeg
+
+* Fri Nov 12 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.2.7-4
+- rebuilt
+
+* Tue Nov 09 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.7-3
+- Rebuilt for new ffmpeg snapshot
+
+* Mon Nov 08 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.7-2
+- rebuilt
+
+* Tue Sep 07 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.7-1
+- New upstream release
+
+* Thu Aug 26 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.6-1
+- New upstream release
+
+* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.2.5-10
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jun 15 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.5-9
+- Rebuild for python-3.10
+
+* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.2.5-8
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Fri Jan 1 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.5-7
+- Rebuilt for new ffmpeg snapshot
+
+* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.2.5-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+- Add patch from upstream to fix unit test failures
+
+* Tue Aug 04 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 0.2.5-5
+- Updates for Fedora 33 build changes
+
+* Tue Jun 02 2020 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.5-4
+- Fix gcc-10 -fno-common issue
+
+* Sat May 30 2020 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.5-3
+- Rebuild for python-3.9
+
+* Wed May 20 2020 Sérgio Basto <sergio(a)serjux.com> - 0.2.5-2
+- Rebuild for ImageMagick on el7
+
+* Sat Mar 07 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 0.2.5-1
+- New upstream release
+
+* Sat Feb 22 2020 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
0.2.4-2
+- Rebuild for ffmpeg-4.3 git
+
+* Thu Feb 13 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 0.2.4-1
+- New upstream release
+- Drop upstreamed patches / fixes, relax libopenshot-audio dependency
+- Disable building Ruby bindings on ppc64le due to compilation failures
+
+* Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.2.3-5.20190912gitc685571
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Mon Sep 16 2019 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 0.2.3-4
+- Update to git HEAD for compatibility with OpenShot update
+- Remove CMAKE_SKIP_RPATH per current packaging guidelines
+- Delete outdated copy of standard CMake module, causes python3.8 failures
+
+* Wed Aug 07 2019 Leigh Scott <leigh123linux(a)gmail.com> -
0.2.3-3.20190406git101f25a
+- Rebuild for new ffmpeg version
+
+* Sun Jun 23 2019 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 0.2.3-3
+- Add explicit Requires: zeromq, to work around other EL7
+ packages which provide the required libzmq.so.5
+
+* Tue Apr 09 2019 FeRD (Frank Dana) <ferdnyc AT gmail com> - 0.2.3-2
+- Upgrade to latest git revision, to fix FTBFS with GCC9 on Fedora 30
+- Requires libopenshot-audio also built from same or later gitrev
+- Drop upstreamed patches
+
+* Fri Mar 22 2019 FeRD (Frank Dana) <ferdnyc AT gmail com> - 0.2.3-1
+- New upstream release
+- Drop upstreamed patches
+
+* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.2.2-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Tue Nov 13 2018 Antonio Trande <sagitter(a)fedoraproject.org> - 0.2.2-2
+- Rebuild for ffmpeg-3.4.5 on el7
+- Use ldconfig_scriptlets macros
+- Use default compiler flags
+- Use CMake3
+- Patched for using CMake3's Swig variable
+- Remove obsolete Group tags
+
+* Mon Sep 24 2018 FeRD (Frank Dana) <ferdnyc AT gmail com> - 0.2.2-1
+- New upstream release
+- Unbundle jsoncpp
+- Drop ffmpeg patch (upstreamed), add patch to fix tests env
+
+* Wed Aug 29 2018 FeRD (Frank Dana) <ferdnyc AT gmail com> - 0.2.0-2
+- Rebuilt for new ImageMagick 6.9.10.10
+
+* Tue Jul 31 2018 FeRD (Frank Dana) <ferdnyc AT gmail com> - 0.2.0-1
+- New upstream release
+
+* Thu Jul 26 2018 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
0.1.9-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Tue Jul 10 2018 Miro Hrončok <mhroncok(a)redhat.com> - 0.1.9-6
+- Rebuilt for Python 3.7
+
+* Thu Mar 08 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
0.1.9-5
+- Rebuilt for new ffmpeg snapshot
+
+* Thu Mar 01 2018 RPM Fusion Release Engineering <leigh123linux(a)googlemail.com> -
0.1.9-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Feb 17 2018 Sérgio Basto <sergio(a)serjux.com> - 0.1.9-3
+- require libopenshot-audio 0.1.5
+
+* Wed Jan 17 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.1.9-2.1
+- Rebuilt for ffmpeg-3.5 git
+
+* Sat Jan 13 2018 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.9-1.1
+- Build against correct libopenshot-audio.
+
+* Sat Jan 13 2018 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.9-1
+- Update to latest upstream release.
+
+* Wed Nov 22 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.1.8-3
+- Adjust python for el7
+
+* Tue Oct 17 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.1.8-2
+- Rebuild for ffmpeg update
+
+* Thu Sep 07 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.1.8-1
+- Update libopenshot to 0.1.8
+
+* Sat Sep 02 2017 Sérgio Basto <sergio(a)serjux.com> - 0.1.7-1
+- Update libopenshot to 0.1.7
+- Fix compilation with GCC 7 by adding -Wno-error, reference
+
https://github.com/monocasual/giada/issues/139
+
+* Sun Aug 27 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 0.1.6-2
+- Rebuilt for ImageMagick
+
+* Fri May 19 2017 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.6-1
+- Update to latest upstream release.
+
+* Sat Apr 29 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.1.4-2
+- Rebuild for ffmpeg update
+
+* Thu Apr 06 2017 Sérgio Basto <sergio(a)serjux.com> - 0.1.4-1
+- Update to 0.1.4
+
+* Sun Mar 19 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 0.1.3-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Tue Mar 14 2017 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.3-1
+- Update to latest upstream release.
+
+* Mon Oct 17 2016 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.2-1
+- Update to latest upstream release.
+
+* Sat Jul 30 2016 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.1.1-3
+- Rebuilt for ffmpeg-3.1.1
+
+* Mon Apr 18 2016 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.1-2
+- Rename python-libopenshot to python3-libopenshot.
+
+* Fri Apr 8 2016 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.1-1
+- Update to latest upstream release.
+
+* Tue Feb 9 2016 Richard Shaw <hobbes1069(a)gmail.com> - 0.1.0-1
+- Update to latest upstream release.
+
+* Mon Nov 16 2015 Richard Shaw <hobbes1069(a)gmail.com> - 0.0.6-1
+- Update to latest upstream release.
+
+* Wed Jun 24 2015 Sérgio Basto <sergio(a)serjux.com> - 0.0.4-2
+- Fixed unused-direct-shlib-dependency in cmake with global optflags,
+ instead use "export CXXFLAGS" that was override all flags .
+
+* Mon May 18 2015 Hans de Goede <j.w.r.degoede(a)gmail.com> - 0.0.4-1
+- New upstream release 0.0.4
+- Fix FTBFS (rf#3624)
+
+* Mon Oct 20 2014 Sérgio Basto <sergio(a)serjux.com> - 0.0.3-4
+- Rebuilt for FFmpeg 2.4.3
+
+* Fri Sep 26 2014 Nicolas Chauvet <kwizart(a)gmail.com> - 0.0.3-3
+- Rebuilt for FFmpeg 2.4.x
+
+* Fri Sep 26 2014 Nicolas Chauvet <kwizart(a)gmail.com> - 0.0.3-2
+- Rebuilt for FFmpeg 2.4.x
+
+* Tue Jul 15 2014 Richard Shaw <hobbes1069(a)gmail.com> - 0.0.3-1
+- Initial packaging.
diff --git a/sources b/sources
new file mode 100644
index 0000000..01a15f8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libopenshot-0.3.2.tar.gz) =
8891077af28a4db6bc3a7cd078ce5570a8f62e0795c13b0fff795eba60c3e977ece70247033ee4017c9785592355b7421655246a5d6807a5790bd18927739795