[vidcutter] Update to 4.0.5 Set extra_compile_args= to -g to fix: Empty %files file debugsourcefiles.list
by Martin Gansser
commit 652370fa6dd8009962eaab1d2adc964ae0c6a98a
Author: Martin Gansser <mgansser(a)online.de>
Date: Sat Nov 4 21:44:26 2017 +0100
Update to 4.0.5
Set extra_compile_args= to -g to fix: Empty %files file debugsourcefiles.list
vidcutter.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/vidcutter.spec b/vidcutter.spec
index 6975af9..df3999c 100644
--- a/vidcutter.spec
+++ b/vidcutter.spec
@@ -1,5 +1,3 @@
-%define debug_package %{nil}
-
Name: vidcutter
Version: 4.0.5
Release: 1%{?dist}
@@ -26,6 +24,8 @@ the job done using tried and true tech in its arsenal via mpv and FFmpeg.
%prep
%setup -q
sed -i "s/pypi/rpm/" vidcutter/__init__.py
+# Fix error: Empty %%files file debugsourcefiles.list
+sed -i "s/-g0/-g/" setup.py
# E: wrong-script-interpreter
sed -i -e 's|#!/usr/bin/env python3|#!/usr/bin/python3|g' vidcutter/*.py
@@ -74,7 +74,7 @@ fi
%changelog
* Sat Nov 04 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 4.0.5-1
- Update to 4.0.5
-- Add %%define debug_package %%{nil} for f27 build
+- Set extra_compile_args= to -g to fix: Empty %%files file debugsourcefiles.list
* Mon Aug 07 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 4.0.0-2
- Add BR desktop-file-utils
7 years
[vidcutter] Update to 4.0.5 Add %define debug_package %{nil} for f27 build
by Martin Gansser
commit 2a88e2d658dd294990e734f68a45ccde41eddeeb
Author: Martin Gansser <mgansser(a)online.de>
Date: Sat Nov 4 19:40:16 2017 +0100
Update to 4.0.5
Add %define debug_package %{nil} for f27 build
.gitignore | 1 +
mlt_path.patch | 11 ---
shotcut-desktopfile.patch | 17 ----
shotcut-noupdatecheck.patch | 49 -----------
shotcut.appdata.xml | 48 -----------
shotcut.spec | 205 --------------------------------------------
sources | 2 +-
vidcutter.spec | 85 ++++++++++++++++++
8 files changed, 87 insertions(+), 331 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 02aed86..aeb6545 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/vidcutter-4.0.0.tar.gz
/shotcut-17.11.tar.gz
+/vidcutter-4.0.5.tar.gz
diff --git a/sources b/sources
index d2f6174..2ec3d12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9cb3b6a9a534dd7d616698748b75cac8 shotcut-17.11.tar.gz
+943811052c8221d0806c6ee27d80ac9b vidcutter-4.0.5.tar.gz
diff --git a/vidcutter.spec b/vidcutter.spec
new file mode 100644
index 0000000..6975af9
--- /dev/null
+++ b/vidcutter.spec
@@ -0,0 +1,85 @@
+%define debug_package %{nil}
+
+Name: vidcutter
+Version: 4.0.5
+Release: 1%{?dist}
+Summary: The simplest + fastest video cutter & joiner
+License: GPLv3+
+Url: http://vidcutter.ozmartians.com
+Source0: https://github.com/ozmartian/%{name}/archive/%{version}.tar.gz#/%{name}-%...
+
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: mpv-libs-devel
+BuildRequires: desktop-file-utils
+Requires: python3-qt5
+Requires: ffmpeg
+Requires: python3-pyopengl
+Requires: mediainfo
+Requires: hicolor-icon-theme
+
+%description
+The simplest & sexiest tool for cutting and joining your videos without the
+need for re-encoding or a diploma in multimedia. VidCutter focuses on getting
+the job done using tried and true tech in its arsenal via mpv and FFmpeg.
+
+%prep
+%setup -q
+sed -i "s/pypi/rpm/" vidcutter/__init__.py
+
+# E: wrong-script-interpreter
+sed -i -e 's|#!/usr/bin/env python3|#!/usr/bin/python3|g' vidcutter/*.py
+sed -i -e 's|#!/usr/bin/env python3|#!/usr/bin/python3|g' vidcutter/libs/*.py
+
+%build
+%py3_build
+
+%install
+%py3_install
+# E: non-executable-script
+for file in %{buildroot}%{python3_sitearch}/vidcutter/{__init__,__main__,about,settings,updater,videoconsole,videocutter,videoinfo,videolist,videoslider,videostyle,videotoolbar,libs/mpvwidget,libs/notifications,libs/taskbarprogress,libs/videoservice,libs/widgets}.py; do
+ chmod a+x $file
+done
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{python3_sitearch}/%{name}
+%{python3_sitearch}/vidcutter-*-py?.?.egg-info
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%{_datadir}/mime/packages/x-vidcutter.xml
+%{_datadir}/pixmaps/%{name}.svg
+
+%changelog
+* Sat Nov 04 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 4.0.5-1
+- Update to 4.0.5
+- Add %%define debug_package %%{nil} for f27 build
+
+* Mon Aug 07 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 4.0.0-2
+- Add BR desktop-file-utils
+- Add RR hicolor-icon-theme
+- Remove mime scriptlets as they are obsolete in f25 and greater
+
+* Mon Aug 07 2017 Martin Gansser <martinkg(a)fedoraproject.org> - 4.0.0-1
+- Initial build
7 years
[vidcutter/f27] Update to 17.11
by Martin Gansser
Summary of changes:
e86a262... Update to 17.11 (*)
(*) This commit already existed in another branch; no separate mail sent
7 years