commit 5df017d0913c5ddfc8bd93a2fc1b0a472f13c5fe
Author: Elan Ruusamäe <g...@delfi.ee>
Date:   Tue Sep 20 22:05:59 2016 +0300

    mew, version 2.0.0
    
    Created with pyp2rpm-3.1.3
    
    note: python2 only package

 mopidy-youtube.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/mopidy-youtube.spec b/mopidy-youtube.spec
new file mode 100644
index 0000000..e1051f8
--- /dev/null
+++ b/mopidy-youtube.spec
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+%bcond_without doc     # don't build doc
+%bcond_with    tests   # do not perform "make test"
+%bcond_without python2 # CPython 2.x module
+
+%define        module          mopidy_youtube
+%define        egg_name        Mopidy_Youtube
+%define                pypi_name       Mopidy-Youtube
+Summary:       Mopidy extension that plays sound from YouTube
+Name:          mopidy-youtube
+Version:       2.0.2
+Release:       1
+License:       Apache v2.0
+Group:         Libraries/Python
+Source0:       
https://files.pythonhosted.org/packages/source/M/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# Source0-md5: 4105886936d766c3995a96022d52ec35
+URL:           https://github.com/mopidy/mopidy-youtube
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+%if %{with python2}
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+%endif
+Requires:      python-Mopidy >= 1.0
+Requires:      python-Pykka >= 1.1
+Requires:      python-pafy >= 0.3.35
+Requires:      python-requests >= 2.2.1
+Requires:      python-setuptools
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mopidy extension that plays sound from YouTube.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%if %{with python2}
+%py_build %{?with_tests:test}
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%if %{with python2}
+%py_install
+%py_postclean
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with python2}
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mopidy-youtube.git/commitdiff/a88c1537c7d2dd0abaf83963d79daa3cba833296

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to