genodeftest / rpms / exaile

Forked from rpms/exaile a year ago
Clone
e3cc34
# This package depends on automagic byte compilation
e3cc34
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
e3cc34
%global _python_bytecompile_extra 1
e3cc34
1b7618
Name:           exaile
fea893
Version:        4.0.0
Christian Stadelmann d7d91f
Release:        2%{?dist}
3862b0
Summary:        Simple but powerful Amarok-style music player for GTK users
1b7618
License:        GPLv2+
1b7618
URL:            http://www.exaile.org
fea893
Source0:        https://github.com/exaile/exaile/archive/%{version}/%{name}-%{version}.tar.gz
1b7618
BuildArch:      noarch
fea893
Christian Stadelmann d7d91f
Leigh Scott 75c7b7
BuildRequires:  /usr/bin/pathfix.py
Leigh Scott b695be
BuildRequires:  python2-rpm-macros
Christian Stadelmann d7d91f
Christian Stadelmann d7d91f
# Dependencies:
Christian Stadelmann d7d91f
# see also https://github.com/exaile/exaile/blob/master/DEPS
Christian Stadelmann d7d91f
Christian Stadelmann d7d91f
BuildRequires:  desktop-file-utils
1b7618
BuildRequires:  gettext
1b7618
BuildRequires:  help2man
1b7618
BuildRequires:  libappstream-glib
Christian Stadelmann d7d91f
BuildRequires:  pygobject3-devel >= 3.13.2
2a8cbe
BuildRequires:  gobject-introspection
fea893
Christian Stadelmann d7d91f
Requires:       python2
Christian Stadelmann d7d91f
Requires:       gtk3 >= 3.10
fea893
Requires:       python2-gstreamer1 >= 1.4
Christian Stadelmann d7d91f
Requires:       gstreamer1-plugins-good >= 1.6
Christian Stadelmann d7d91f
Requires:       gstreamer1-plugins-base >= 1.4
84037f
Requires:       python2-mutagen >= 1.10
Christian Stadelmann d7d91f
Requires:       python2-dbus
Christian Stadelmann d7d91f
Requires:       pygobject3 >= 3.13.2
Christian Stadelmann d7d91f
Requires:       python2-cairo
Christian Stadelmann d7d91f
Requires:       cairo-gobject
Christian Stadelmann d7d91f
Requires:       python2-gobject
Christian Stadelmann d7d91f
Christian Stadelmann d7d91f
# Device detection:
Christian Stadelmann d7d91f
Recommends:     libudisks2
Christian Stadelmann d7d91f
# CD info:
Christian Stadelmann d7d91f
Recommends:     python2-cddb
Christian Stadelmann d7d91f
# DAAP plugins (daapserver and daapclient):
Christian Stadelmann d7d91f
#Not packaged for Fedora
Christian Stadelmann d7d91f
#Recommends:     spydaap
Christian Stadelmann d7d91f
# Last.FM integration:
Christian Stadelmann d7d91f
Recommends:     python2-pylast
Christian Stadelmann d7d91f
# Lyrics from lyricsmania.com (lyricsmania):
Christian Stadelmann d7d91f
Recommends:     python2-lxml
Christian Stadelmann d7d91f
# Lyrics from lyrics.wikia.com (lyricwiki):
Christian Stadelmann d7d91f
Recommends:     python2-beautifulsoup4
Christian Stadelmann d7d91f
# Musicbrainz covers:
Christian Stadelmann d7d91f
Recommends:     python2-musicbrainzngs
Christian Stadelmann d7d91f
# Podcast plugin:
Christian Stadelmann d7d91f
#Not packaged for Fedora
Christian Stadelmann d7d91f
#Recommends:     python2-feedparser
Christian Stadelmann d7d91f
# Wikipedia info:
Christian Stadelmann d7d91f
Recommends:     webkit2gtk3
Christian Stadelmann d7d91f
# Xlib-based hotkeys:
Christian Stadelmann d7d91f
Recommends:     keybinder3
Christian Stadelmann d7d91f
# Scalable icons:
Christian Stadelmann d7d91f
Recommends:     librsvg2
Christian Stadelmann d7d91f
# Native Notifications:
Christian Stadelmann d7d91f
Recommends:     libnotify
Christian Stadelmann d7d91f
# Recording streams:
Christian Stadelmann d7d91f
Recommends:     streamripper
Christian Stadelmann d7d91f
# Moodbar plugin:
Christian Stadelmann d7d91f
#FTBFS on Fedora 30+, may be dropped soon
Christian Stadelmann d7d91f
#Recommends:     moodbar
Christian Stadelmann d7d91f
# BPM Counter plugin:
Christian Stadelmann d7d91f
#Not packaged for Fedora
Christian Stadelmann d7d91f
#* bpmdetect from gstreamer1-plugins-bad
Christian Stadelmann d7d91f
6d6b3c
559f82
%description
1b7618
Exaile is a music player with a simple interface and powerful music
1b7618
management capabilities. Features include automatic fetching of album art,
1b7618
lyrics fetching, streaming internet radio, tabbed playlists, smart
1b7618
playlists with extensive filtering/search capabilities, and much more. 
1b7618
1b7618
Exaile is written using Python and GTK+ and is easily extensible via
1b7618
plugins. There are over 50 plugins distributed with Exaile that include
1b7618
advanced track tagging, last.fm scrobbling, support for portable media
1b7618
players, podcasts, internet radio such as icecast and Soma.FM,
1b7618
ReplayGain, output via a secondary output device (great for DJs!), and
1b7618
much more.
559f82
559f82
%prep
7974f0
%setup -q
1b7618
# Corresponding to:
1b7618
# 1. Do not silently bytecompile.
1b7618
# 2. Preserve timestamps.
1b7618
find . -type f -name "Makefile" -exec \
1b7618
    sed -i -e 's|compileall -q|compileall|g' \
1b7618
    -e 's|install -m|install -pm|g' \
1b7618
{} + -print
559f82
559f82
%build
1b7618
%make_build
559f82
1b7618
%install
fea893
%make_install PREFIX=%{_prefix} LIBINSTALLDIR=%{_datadir} PYTHON2_CMD=%{__python2}
559f82
Leigh Scott 75c7b7
# Some files got ambiguous python shebangs, we fix them after everything else is done
Leigh Scott 75c7b7
pathfix.py -pni "%{__python2}" %{buildroot}%{_datadir}/exaile/
Leigh Scott 75c7b7
Christian Stadelmann 2d477e
desktop-file-install --delete-original \
Christian Stadelmann 2d477e
    --dir=%{buildroot}%{_datadir}/applications \
Christian Stadelmann 2d477e
    %{buildroot}%{_datadir}/applications/%{name}.desktop
559f82
616f84
%find_lang %{name}
616f84
1b7618
%check
1b7618
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
1b7618
#make test
559f82
616f84
%files -f %{name}.lang
fea893
%doc README.md
732285
%license COPYING
559f82
%{_bindir}/exaile
1b7618
%{_datadir}/appdata/exaile.appdata.xml
1b7618
%{_datadir}/applications/exaile.desktop
fea893
%{_datadir}/bash-completion/completions/exaile
fea893
%{_datadir}/fish/vendor_completions.d/exaile.fish
559f82
%{_datadir}/pixmaps/exaile.png
559f82
%{_datadir}/exaile/
Deji Akingunola 1c855d
%{_datadir}/dbus-1/services/org.exaile.Exaile.service
1b7618
%dir %{_sysconfdir}/xdg/exaile/
1b7618
%config(noreplace) %{_sysconfdir}/xdg/exaile/settings.ini
1b7618
%{_mandir}/man1/exaile*.1*
559f82
559f82
%changelog
Christian Stadelmann d7d91f
* Sat Jun 22 2019 Christian Stadelmann <genodeftest@fedoraproject.org> - 4.0.0-2
Christian Stadelmann d7d91f
- Update dependencies, add plugin dependencies as optional
Christian Stadelmann d7d91f
fea893
* Thu Jun 20 2019 Leigh Scott <leigh123linux@googlemail.com> - 4.0.0-1
fea893
- Update to 4.0.0
fea893
a24a04
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-10
a24a04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a24a04
74ca22
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-9
74ca22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
74ca22
ec0e20
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.5-8
ec0e20
- Escape macros in %%changelog
ec0e20
c4c3f1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-7
c4c3f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c4c3f1
84037f
* Tue Feb 06 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.4.5-6
84037f
- Update Python 2 dependency declarations to new packaging standards
84037f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
84037f
57cf60
* Sat Aug 26 2017 William Moreno <williamjmorenor@gmail.com> - 3.4.5-5
57cf60
- Update requires to python2 binary rename
57cf60
e657cb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-4
e657cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e657cb
40b8fd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-3
40b8fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
40b8fd
e116ae
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-2
e116ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e116ae
732285
* Fri Jul 10 2015 Christopher Meng <rpm@cicku.me> - 3.4.5-1
732285
- Update to 3.4.5
732285
39a58f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.3-2
39a58f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
39a58f
1b7618
* Fri Jan 09 2015 Christopher Meng <rpm@cicku.me> - 3.4.3-1
1b7618
- Update to 3.4.3
1b7618
385c4e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
385c4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
385c4e
Deji Akingunola cf56c7
* Fri Feb 21 2014 Deji Akingunola <dakingun@gmail.com> - 3.3.2-1
Deji Akingunola cf56c7
- Update to 3.3.2
Deji Akingunola cf56c7
a8cb26
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-4
a8cb26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a8cb26
11cae3
* Fri Mar 08 2013 Jon Ciesla <limburgher@gmail.com> - 3.3.1-3
11cae3
- Drop desktop vendor tag.
11cae3
f81f51
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
f81f51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f81f51
Deji Akingunola 1c0db4
* Sat Nov 17 2012 Deji Akingunola <dakingun@gmail.com> - 3.3.1-1
Deji Akingunola 1c0db4
- Update to 3.3.1
Deji Akingunola 1c0db4
Deji Akingunola e1cd49
* Mon Sep 24 2012 Deji Akingunola <dakingun@gmail.com> - 3.3.0-1
Deji Akingunola e1cd49
- Update to 3.3.0
Deji Akingunola e1cd49
9da455
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.2-4
9da455
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9da455
73cc2f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.2-3
73cc2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73cc2f
Deji Akingunola 2b4461
* Mon Sep 12 2011 Deji Akingunola <dakingun@gmail.com> - 0.3.2.2-2
ec0e20
- Place exaile's private modules in %%datadir
Deji Akingunola 2b4461
- Trim (un-necessary?) requires
Deji Akingunola 2b4461
Deji Akingunola fd89ea
* Wed Aug 31 2011 Deji Akingunola <dakingun@gmail.com> - 0.3.2.2-1
Deji Akingunola fd89ea
- Update to 0.3.2.2
Deji Akingunola fd89ea
- Drop hal. Apply patch to support udisk from upstream bzr's udisk branch
Deji Akingunola fd89ea
Deji Akingunola 32feff
* Thu Mar 03 2011 Deji Akingunola <dakingun@gmail.com> - 0.3.2.1-1
Deji Akingunola 32feff
- Update to 0.3.2.1
Deji Akingunola 32feff
f449be
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.0-3
f449be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f449be
22f2f3
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.2.0-2
22f2f3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
22f2f3
2d1b50
* Mon Jun 28 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.2.0-1
2d1b50
- Update to 0.3.2.0
2d1b50
2d1b50
* Wed Jun 09 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1.2-1
4be353
- Update to 0.3.1.2
4be353
ada90c
* Fri Apr 09 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1.1-1
ada90c
- Update to 0.3.1.1
ada90c
561e45
* Sat Mar 20 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1.0-1
561e45
- Update to 0.3.1.0
561e45
06fae4
* Wed Nov 25 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0.2-1
06fae4
- Update to 0.3.0.2
06fae4
1c1ddd
* Wed Sep 30 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0.1-1
1c1ddd
- Update to 0.3.0.1
1c1ddd
29e9db
* Fri Aug 28 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0-1
29e9db
- Update to 0.3.0
29e9db
b55ccd
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-4
b55ccd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b55ccd
6469c8
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-3
6469c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6469c8
b64a2c
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.14-2
b64a2c
- Rebuild for Python 2.6
b64a2c
7974f0
* Thu Oct 09 2008 Deji Akingunola <dakingun@gmail.com> - 0.2.14-1
7974f0
- Update to 0.2.14
7974f0
1b723c
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.13-3
1b723c
- fix license tag
1b723c
b1297d
* Mon Jul 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.13-2
b1297d
- fix conditional comparison
b1297d
- add sparc64 to 64bit arch check
b1297d
6d6b3c
* Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 0.2.13-1
6d6b3c
- Update to 0.2.13
6d6b3c
ead884
* Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.2.11.1-2
ead884
- Rebuild for gcc43
ead884
907a3a
* Thu Nov 29 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.11.1-1
907a3a
- Update to 0.2.11.1 that removes bogus cruft from 0.2.11 source tarball
907a3a
- Rebuild for firefox-2.0.0.10
907a3a
6b4cd6
* Tue Nov 06 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.11-2
6b4cd6
- Rebuild for firefox-2.0.0.9
6b4cd6
73f370
* Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.11-1
73f370
- New release
73f370
c932a2
* Tue Sep 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-3
c932a2
- Require pygtk2-libglade (BZ #278471)
c932a2
6cc325
* Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-2
6cc325
- Rebuild
6cc325
c9c5f3
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-2
c9c5f3
- License tag update
c9c5f3
b19c27
* Sat Jun 30 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-1
b19c27
- New release
616f84
b19c27
* Fri Mar 30 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.9-1
b19c27
- New release
a9d4b6
c0a4bb
* Tue Jan 09 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.8-1
c0a4bb
- New release
c0a4bb
c0a4bb
* Sat Dec 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.7-1
c0a4bb
- New release
c0a4bb
559f82
* Wed Dec 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.6-3
559f82
- Rework the python include patch
559f82
559f82
* Wed Dec 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.6-2
559f82
- Rewrite the build patch to be more generic
559f82
559f82
* Tue Dec 26 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.6-1
559f82
- First version for Fedora Extras