[openshot] New upstream release 2.5.0
by Frank R Dana
commit 4aac5df0db89ff7704a6bae0ad168693027ebff4
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Fri Feb 14 11:14:05 2020 -0500
New upstream release 2.5.0
.gitignore | 1 +
openshot.spec | 39 ++++++++++++++++++---------------------
sources | 2 +-
3 files changed, 20 insertions(+), 22 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9bbd871..075fac3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ openshot-1.4.3.tar.gz
/openshot-qt-2.4.3.tar.gz
/openshot-qt-2.4.4.tar.gz
/openshot-qt-5f08a30.tar.gz
+/openshot-qt-2.5.0.tar.gz
diff --git a/openshot.spec b/openshot.spec
index 3c08657..bde8c40 100644
--- a/openshot.spec
+++ b/openshot.spec
@@ -1,33 +1,23 @@
-# Git information for unreleased build
-#
-# Note: Building from development tree because with the release
-# of Blender 2.8 in the fedora repos, OpenShot's animated-title feature
-# is no longer compatible with the available blender version. OpenShot's
-# Blender-2.80-compatible code has been committed, but not yet released
-%global gitrev 5f08a30102b55e16aaf898dd641732c46c52d528
-%global shortrev %(c=%{gitrev}; echo ${c:0:7})
-%global gitdate 20191002
-
# Redirect find_lang to our patched version
%global find_lang %{_sourcedir}/openshot-find-lang.sh %{buildroot}
Name: openshot
-Version: 2.4.4
-Release: 5.%{gitdate}git%{shortrev}%{?dist}
+Version: 2.5.0
+Release: 1%{?dist}
Summary: Create and edit videos and movies
Group: Applications/Multimedia
License: GPLv3+
URL: http://www.openshot.org
-#Source0: https://github.com/OpenShot/%{name}-qt/archive/v%{version}/%{name}-qt-%{v...
-Source0: https://github.com/OpenShot/%{name}-qt/archive/%{gitrev}.tar.gz#/%{name}-...
+%global distname %{name}-qt
+Source0: https://github.com/OpenShot/%{distname}/archive/v%{version}/%{distname}-%...
# QT translation files are installed to a non-standard location
Source100: openshot-find-lang.sh
# Add openshot-owner@rpmfusion to appdata as update_contact
-Patch1: openshot-rpmfusion-contact.patch
+Patch1: openshot-rpmfusion-contact.patch
BuildArch: noarch
@@ -37,8 +27,8 @@ BuildRequires: libappstream-glib
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-qt5-devel
BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: libopenshot >= 0.2.3
-BuildRequires: libopenshot-audio >= 0.1.8
+BuildRequires: libopenshot >= 0.2.4
+BuildRequires: libopenshot-audio >= 0.1.9
BuildRequires: desktop-file-utils
Requires: python%{python3_pkgversion}-httplib2
@@ -47,7 +37,7 @@ Requires: python%{python3_pkgversion}-qt5-webkit
Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-setuptools
Requires: python%{python3_pkgversion}-zmq
-Requires: python%{python3_pkgversion}-libopenshot >= 0.2.3
+Requires: python%{python3_pkgversion}-libopenshot >= 0.2.4
Requires: ffmpeg-libs >= 3.4.7
%if 0%{?fedora}
@@ -86,7 +76,7 @@ Requires: %{name} = %{version}-%{release}
%prep
-%autosetup -p1 -n %{name}-qt-%{gitrev}
+%autosetup -p1 -n %{distname}-%{version}
%build
@@ -113,11 +103,16 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
# Move appdata file to default location
mkdir -p %{buildroot}%{_metainfodir}
mv %{buildroot}%{_datadir}/metainfo/*.appdata.xml %{buildroot}%{_metainfodir}/
-%endif #rhel
+%endif
# Validate appdata file
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
+# Remove an outdated file installed into /usr/lib/mime/
+rm -f %{buildroot}%{_prefix}/lib/mime/packages/openshot-qt
+rmdir -p --ignore-fail-on-non-empty %{buildroot}%{_prefix}/lib/mime/packages
+
+
%find_lang OpenShot --with-qt
@@ -148,7 +143,6 @@ fi
%{python3_sitelib}/%{name}_qt/
%exclude %{python3_sitelib}/%{name}_qt/language/*
%{python3_sitelib}/*egg-info
-%{_prefix}/lib/mime/packages/openshot-qt
%files lang -f OpenShot.lang
%dir %{python3_sitelib}/%{name}_qt/language
@@ -157,6 +151,9 @@ fi
%changelog
+* Fri Feb 14 2020 FeRD (Frank Dana) <ferdnyc(a)gmail.com> - 2.5.0-1
+- New upstream release
+
* Wed Feb 05 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.4.4-5.20191002git5f08a30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
diff --git a/sources b/sources
index aa6a3ca..2b241b7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-469d5388dfe3ed959ac0ef174759c8c1 openshot-qt-5f08a30.tar.gz
+SHA512 (openshot-qt-2.5.0.tar.gz) = 0944bff48c8957a4a3c5a37428b4d3e45e8ad6e1664812ea90b7c16d014a3c355daf2fe183ce855586114ccfa36c419b6baacc42c4bf871de29bda4c24f2a814
4 years, 9 months
[libopenshot/f30: 6/6] Merge branch 'master' into f30
by Frank R Dana
commit beab6950eab3d398b21a1801fff3805a57faabd1
Merge: b874bae 818363a
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Thu Feb 13 23:44:30 2020 -0500
Merge branch 'master' into f30
.gitignore | 1 +
libopenshot-py-install-path.patch | 60 ---------------------------------------
libopenshot.spec | 55 +++++++++++++++++------------------
sources | 2 +-
4 files changed, 30 insertions(+), 88 deletions(-)
---
4 years, 9 months
[libopenshot] Disable failing Ruby bindings on ppc64le
by Frank R Dana
commit 818363a794e5edbb90048dc0205365fd214734c0
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Thu Feb 13 23:43:19 2020 -0500
Disable failing Ruby bindings on ppc64le
libopenshot.spec | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/libopenshot.spec b/libopenshot.spec
index b617ec0..49e0232 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -1,3 +1,8 @@
+# Disable Ruby package on ppcle64, as the build keeps crashing
+%ifnarch ppc64le
+%global with_ruby 1
+%endif
+
Name: libopenshot
Version: 0.2.4
Release: 1%{?dist}
@@ -46,13 +51,14 @@ 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}
+Provides: python-%{name} = %{version}-%{release}
%description -n python%{python3_pkgversion}-%{name}
The python-%{name} package contains python bindings for
applications that use %{name}.
+%if %{?with_ruby}0
%package -n ruby-%{name}
Summary: Ruby bindings for %{name}
BuildRequires: ruby-devel
@@ -62,14 +68,19 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The ruby-%{name} package contains ruby bindings for
applications that use %{name}.
+%endif
%prep
%autosetup -p1
%build
+
export CXXFLAGS="%{optflags} -Wl,--as-needed %{__global_ldflags}"
-%cmake3 -Wno-dev -DCMAKE_BUILD_TYPE:STRING=Release .
+%cmake3 -Wno-dev \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ %{!?with_ruby:-DENABLE_RUBY=0} \
+ .
%make_build
# Disabling unit tests, which fail on every arch except i686 / x86_64.
@@ -96,14 +107,19 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed %{__global_ldflags}"
%files -n python%{python3_pkgversion}-libopenshot
%{python3_sitearch}/*
+
+%if %{?with_ruby}0
+
%files -n ruby-libopenshot
%{ruby_vendorarchdir}/*
+%endif
%changelog
* 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
4 years, 9 months