From bb4a3ca825baa5c02bc9a48f334de79cfdd37709 Mon Sep 17 00:00:00 2001 From: Vasiliy Glazov Date: Fri, 9 Aug 2019 12:27:29 +0300 Subject: [PATCH] Initial commit. --- .gitignore | 1 + celluloid.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 celluloid.spec diff --git a/.gitignore b/.gitignore index e69de29..67f8c76 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/celluloid-0.17.tar.xz diff --git a/celluloid.spec b/celluloid.spec new file mode 100644 index 0000000..535f774 --- /dev/null +++ b/celluloid.spec @@ -0,0 +1,61 @@ +Name: celluloid +Version: 0.17 +Release: 1%{?dist} +Summary: A simple GTK+ frontend for mpv + +License: GPLv3+ +URL: https://github.com/celluloid-player/celluloid +Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: desktop-file-utils +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(glib-2.0) >= 2.44 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.18 +BuildRequires: intltool >= 0.40.6 +BuildRequires: libappstream-glib +BuildRequires: pkgconfig(epoxy) +BuildRequires: pkgconfig(mpv) >= 1.20 +Requires: youtube-dl >= 2016.03.06 +Requires: hicolor-icon-theme + +Provides: gnome-mpv = %{version}-%{release} +Obsoletes: gnome-mpv < 0.17 + +%description +Celluloid (formerly GNOME MPV) is a simple GTK+ frontend for mpv. +It aims to be easy to use while maintaining high level of configurability. + +%prep +%autosetup + +%build +%configure +%make_build V=1 + +%install +%make_install + +%find_lang %{name} + +%check +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/io.github.celluloid_player.Celluloid.appdata.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.celluloid_player.Celluloid.desktop + +%files -f %{name}.lang +%doc AUTHORS README.md +%license COPYING +%{_bindir}/%{name} +%{_metainfodir}/io.github.celluloid_player.Celluloid.appdata.xml +%{_datadir}/applications/io.github.celluloid_player.Celluloid.desktop +%{_datadir}/dbus-1/services/io.github.celluloid_player.Celluloid.service +%{_datadir}/glib-2.0/schemas/io.github.celluloid_player.Celluloid.gschema.xml +# The old GSchema is left installed for settings migration. +%{_datadir}/glib-2.0/schemas/io.github.GnomeMpv.gschema.xml +%{_datadir}/icons/hicolor/*/apps/*.svg + %{_mandir}/man1/%{name}.1.* + +%changelog +* Fri Aug 09 2019 Vasiliy N. Glazov - 0.17-1 +- Update to 0.17 +- Renamed gnome-mpv to celluloid diff --git a/sources b/sources index e69de29..9acf912 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +142e6dd2142073f7a3eb093be565d558 celluloid-0.17.tar.xz