commit c036124c9850410133981f2f3dcef5ae7bfc2533
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Tue Jun 4 15:31:57 2019 +0100
Initial commit
.gitignore | 1 +
mpc-qt.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 56 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7d507d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mpc-qt-18.08.tar.gz
diff --git a/mpc-qt.spec b/mpc-qt.spec
new file mode 100644
index 0000000..06d9a12
--- /dev/null
+++ b/mpc-qt.spec
@@ -0,0 +1,54 @@
+Name: mpc-qt
+Version: 18.08
+Release: 1%{?dist}
+Summary: A clone of Media Player Classic reimplemented in Qt
+License: GPLv2+
+URL:
https://github.com/cmdrkotori/mpc-qt
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: desktop-file-utils
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig(mpv)
+BuildRequires: pkgconfig(Qt5Core)
+BuildRequires: pkgconfig(Qt5DBus)
+BuildRequires: pkgconfig(Qt5Gui)
+BuildRequires: pkgconfig(Qt5Network)
+BuildRequires: pkgconfig(Qt5Widgets)
+BuildRequires: pkgconfig(Qt5X11Extras)
+BuildRequires: qt5-linguist
+
+%description
+Media Player Classic Home Cinema (mpc-hc) is considered by many to be the
+quintessential media player for the Windows desktop.
+Media Player Classic Qute Theater (mpc-qt) aims to reproduce most of the
+interface and functionality of mpc-h.
+
+%prep
+%autosetup -p1
+rm -rf mpv-dev
+
+%build
+%{qmake_qt5} PREFIX=%{_prefix}
+%{make_build}
+
+%install
+%{make_install} INSTALL_ROOT=%{buildroot}
+rm %{buildroot}%{_datadir}/doc/mpc-qt/ipc.md
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/mpc-qt.desktop
+
+%files
+%doc README.md DOCS/ipc.md
+%license LICENSE
+%{_bindir}/mpc-qt
+%{_datadir}/applications/mpc-qt.desktop
+%{_datadir}/mpc-qt/
+%{_datadir}/icons/hicolor/scalable/apps/%name.svg
+
+
+
+%changelog
+* Sat Jun 01 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 18.08-1
+- First Build
+
diff --git a/sources b/sources
index e69de29..eb9e988 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cc6b1e2bea3f1e0162680d6d35791403 mpc-qt-18.08.tar.gz