[packages/mps-youtube] new, version 0.2.7.1

glen glen at pld-linux.org
Mon Jan 30 19:38:15 CET 2017


commit aecf2692b2d8853afd5dfc8eac40e2144c3de2ce
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 30 20:34:50 2017 +0200

    new, version 0.2.7.1

 mps-youtube.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/mps-youtube.spec b/mps-youtube.spec
new file mode 100644
index 0000000..ebd8946
--- /dev/null
+++ b/mps-youtube.spec
@@ -0,0 +1,52 @@
+%define		pypi_name	mps-youtube
+%define		module		mps_youtube
+%define		egg_name	mps_youtube
+Summary:	Terminal-based YouTube player and downloader
+Name:		mps-youtube
+Version:	0.2.7.1
+Release:	1
+License:	GPL v3
+Group:		Applications/Multimedia
+Source0:	https://files.pythonhosted.org/packages/source/m/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5:	6b834b25fab8f87378976f1a798044e0
+URL:		https://github.com/mps-youtube/mps-youtube
+BuildRequires:	python3-modules
+BuildRequires:	python3-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	desktop-file-utils
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This project is based on mps, a terminal based program to search,
+stream and download music. This implementation uses YouTube as a
+source of content and can play and download video as well as audio.
+The pafy library handles interfacing with YouTube.
+
+%prep
+%setup -q
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst CHANGELOG
+%attr(755,root,root) %{_bindir}/mpsyt
+%{_desktopdir}/%{name}.desktop
+%{py3_sitescriptdir}/%{module}
+%{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mps-youtube.git/commitdiff/aecf2692b2d8853afd5dfc8eac40e2144c3de2ce



More information about the pld-cvs-commit mailing list