commit 0fa50fc54d00b2ec2b7cd2ba28bec3b58f1fb4d3
Author: Martin Gansser <mgansser(a)alice.de>
Date: Mon Nov 28 15:21:07 2016 +0100
Update to 0.22.391
- Update license tag to GPLv3+
.gitignore | 1 +
sources | 1 +
xt7-player-mpv.spec | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 146 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d0e4ab1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xt7-player-mpv-0.22.391.tar.gz
diff --git a/sources b/sources
index e69de29..a966080 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+20a5d9f4af3bdfb68277a3f4dda6a2bc xt7-player-mpv-0.22.391.tar.gz
diff --git a/xt7-player-mpv.spec b/xt7-player-mpv.spec
new file mode 100644
index 0000000..78db491
--- /dev/null
+++ b/xt7-player-mpv.spec
@@ -0,0 +1,144 @@
+Name: xt7-player-mpv
+Version: 0.22.391
+Release: 1%{?dist}
+Summary: Qt/Gambas gui to mpv media player
+License: GPLv3+
+Url:
http://xt7-player.sourceforge.net/xt7forum/
+Source0:
https://github.com/kokoko3k/xt7-player-mpv/archive/%{version}.tar.gz#/%{n...
+
+BuildRequires: libappstream-glib
+BuildRequires: desktop-file-utils
+BuildRequires: gambas3-devel >= 3.8.4
+BuildRequires: gambas3-gb-args
+BuildRequires: gambas3-gb-compress
+BuildRequires: gambas3-gb-db
+BuildRequires: gambas3-gb-db-form
+BuildRequires: gambas3-gb-dbus
+BuildRequires: gambas3-gb-desktop
+BuildRequires: gambas3-gb-form
+BuildRequires: gambas3-gb-form-dialog
+BuildRequires: gambas3-gb-form-mdi
+BuildRequires: gambas3-gb-form-stock
+BuildRequires: gambas3-gb-gui
+BuildRequires: gambas3-gb-image
+BuildRequires: gambas3-gb-image-imlib
+BuildRequires: gambas3-gb-image-io
+BuildRequires: gambas3-gb-net
+BuildRequires: gambas3-gb-net-curl
+BuildRequires: gambas3-gb-qt5-ext
+BuildRequires: gambas3-gb-settings
+BuildRequires: gambas3-gb-signal
+BuildRequires: gambas3-gb-util-web
+BuildRequires: gambas3-gb-web
+BuildRequires: gambas3-gb-libxml
+BuildRequires: pkgconfig(taglib)
+BuildRequires: pkgconfig(taglib_c)
+BuildRequires: ImageMagick
+Requires: ffmpeg
+Requires: gambas3-gb-args
+Requires: gambas3-gb-compress
+Requires: gambas3-gb-dbus
+Requires: gambas3-gb-desktop
+Requires: gambas3-gb-form
+Requires: gambas3-gb-form-dialog
+Requires: gambas3-gb-form-mdi
+Requires: gambas3-gb-form-stock
+Requires: gambas3-gb-gui
+Requires: gambas3-gb-image
+Requires: gambas3-gb-net
+Requires: gambas3-gb-net-curl
+Requires: gambas3-gb-qt5-ext
+Requires: gambas3-gb-settings
+Requires: gambas3-gb-signal
+Requires: gambas3-gb-util-web
+Requires: gambas3-gb-web
+Requires: gambas3-gb-libxml
+Requires: gambas3-runtime >= 3.8.4
+Requires: hicolor-icon-theme
+Requires: mpv >= 0.14.0
+Requires: wget
+Requires: youtube-dl
+BuildArch: noarch
+
+%description
+Aims to be an (in)complete graphical interface to mpv, focused on
+usability. It also provides extra features like youtube and shoutcast
+integration, dvbt, media tagging, library and playlist managment and a lot
+more.
+
+%prep
+%autosetup -n %{name}-%{version}
+sed -i '/project_group/d' xt7-player-mpv.appdata.xml
+
+%build
+gbc3 -e -a -g -t -p -m
+gba3
+
+%install
+# executable
+mkdir -p %{buildroot}%{_bindir}
+install -m755 %{name}-%{version}.gambas %{buildroot}%{_bindir}/%{name}.gambas
+
+#icons
+for size in 256 48 32 16; do
+ install -d %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps
+ convert %{name}.png -resize ${size}
%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png
+done
+
+#menu entry
+desktop-file-install %{name}.desktop\
+ --dir %{buildroot}%{_datadir}/applications
+
+mkdir -p %{buildroot}%{_datadir}/{applications,appdata}
+install -Dm 0644 xt7-player-mpv.appdata.xml
%{buildroot}%{_datadir}/appdata/xt7-player-mpv.appdata.xml
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+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
+%doc CHANGELOG_GIT
+%license LICENSE.TXT
+%{_bindir}/%{name}.gambas
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/appdata/%{name}*.xml
+
+%changelog
+* Wed Nov 23 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.22.391-1
+- Update to 0.22.391
+- Update license tag to GPLv3+
+
+* Thu Nov 03 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.21.384-1
+- Update to 0.21.384
+- remove gambas3-gb-qt4-ext
+- Add gambas3-gb-qt5-ext
+
+* Thu Sep 01 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.20.384-1
+- Update to 0.20.384
+
+* Mon Jul 25 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.18.1384-1
+- Update to 0.18.1384
+
+* Wed Jun 29 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.18.384-1
+- Update to 0.18.384
+
+* Sun Apr 03 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.17.384-1
+- Update to 0.17.384
+
+* Thu Mar 03 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.14.384-1
+- Initial release