You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
celluloid/celluloid.spec

66 lines
2.0 KiB

6 years ago
Name: celluloid
Version: 0.17
5 years ago
Release: 2%{?dist}
6 years ago
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
5 years ago
Patch0: 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff.patch
6 years ago
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
5 years ago
%autosetup -p1
6 years ago
%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
5 years ago
* Mon Sep 23 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 0.17-2
- Fix crash #5392
6 years ago
* Fri Aug 09 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 0.17-1
- Update to 0.17
- Renamed gnome-mpv to celluloid