commit f8fa6eb4f79bec313b642c1a880cf542149b2d5d
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Thu Aug 4 13:00:03 2016 +0200
First import
.gitignore | 1 +
devedeng.spec | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 121 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5aa0495 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/devedeng-4.7.0.tar.gz
diff --git a/devedeng.spec b/devedeng.spec
new file mode 100644
index 0000000..a6f7fcd
--- /dev/null
+++ b/devedeng.spec
@@ -0,0 +1,119 @@
+Name: devedeng
+Version: 4.7.0
+Release: 1%{?dist}
+Summary: A program to create video DVDs and CDs (VCD, sVCD or CVD)
+
+License: GPLv3+
+URL:
http://www.rastersoft.com/programas/devede.html
+Source0:
https://github.com/rastersoft/%{name}/archive/%{version}.tar.gz#/%{name}-...
+
+BuildArch: noarch
+
+Provides: devede = %{version}-%{release}
+Obsoletes: devede < 4.0
+
+BuildRequires: python3-devel
+BuildRequires: gettext
+BuildRequires: desktop-file-utils
+#Requires: mplayer
+#Requires: mpv
+Requires: vlc
+Requires: ffmpeg
+Requires: dvdauthor
+Requires: vcdimager
+#Requires: genisoimage
+Requires: mkisofs
+Requires: brasero
+#Requires: k3b
+Requires: ImageMagick
+Requires: python3-urllib3
+Requires: python3-gobject
+Requires: python3-cairo
+Requires: python3-dbus
+Requires: dejavu-sans-fonts
+Requires: hicolor-icon-theme
+
+
+%description
+DevedeNG is a program to create video DVDs and CDs (VCD, sVCD or CVD),
+suitable for home players, from any number of video files, in any of the
+formats supported by FFMpeg.
+
+The suffix NG is because it is a rewrite from scratch of the old Devede, to
+work with Python3 and Gtk3, and with a new internal architecture that allows
+to expand it and easily add new features.
+
+
+%prep
+%setup -q
+
+
+%build
+%py3_build
+
+# Remove shebang from Python libraries
+for lib in build/lib/devedeng/*.py; do
+ sed '1{\@^#!/usr/bin/env python@d}' $lib > $lib.new &&
+ touch -r $lib $lib.new &&
+ mv $lib.new $lib
+done
+
+
+
+%install
+%py3_install
+
+# Fix desktop file
+desktop-file-install \
+ --delete-original \
+ --add-category X-OutputGeneration \
+ --dir %{buildroot}%{_datadir}/applications \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+# Move icon into %%{_datadir}/icons/hicolor/
+mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
+mv %{buildroot}%{_datadir}/pixmaps/%{name}.svg \
+ %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
+
+# Add docs
+install -m 644 HISTORY.md %{buildroot}%{_pkgdocdir}
+install -m 644 README.md %{buildroot}%{_pkgdocdir}
+
+%find_lang %{name}
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%postun
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%{_bindir}/devede_ng.py
+%{_bindir}/copy_files_verbose.py
+%{_datadir}/%{name}
+%{python3_sitelib}/%{name}*.egg-info
+%{python3_sitelib}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%exclude %{_mandir}/man1/devede.1*
+%doc %{_docdir}/%{name}
+%license COPYING
+
+
+%changelog
+* Mon Apr 25 2016 Andrea Musuruane <musuruan(a)gmail.com> 4.7.0-1
+- Updated to new upstream release
+
+* Thu Mar 17 2016 Andrea Musuruane <musuruan(a)gmail.com> 4.6.1-1
+- First release
+
diff --git a/sources b/sources
index e69de29..90d6eb1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a670082258b22ba8483bc1754be7ce24 devedeng-4.7.0.tar.gz