e3cc34f
# This package depends on automagic byte compilation
e3cc34f
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
e3cc34f
%global _python_bytecompile_extra 1
e3cc34f
1b7618f
Name:           exaile
fea893b
Version:        4.0.0
fea893b
Release:        1%{?dist}
3862b03
Summary:        Simple but powerful Amarok-style music player for GTK users
1b7618f
License:        GPLv2+
1b7618f
URL:            http://www.exaile.org
fea893b
Source0:        https://github.com/exaile/exaile/archive/%{version}/%{name}-%{version}.tar.gz
1b7618f
BuildArch:      noarch
fea893b
1b7618f
BuildRequires:  desktop-file-utils
1b7618f
BuildRequires:  gettext
1b7618f
BuildRequires:  help2man
1b7618f
BuildRequires:  libappstream-glib
2a8cbec
BuildRequires:  pygobject3-devel >= 2.18
2a8cbec
BuildRequires:  gobject-introspection
fea893b
7322859
# Warning for the future releases:
7322859
# gstreamer 1.x transition required.
7322859
# RPM weak dependencies support.
84037fd
Requires:       python2-dbus
fea893b
Requires:       gstreamer1-plugins-good
fea893b
Requires:       python2-gstreamer1 >= 1.4
1b7618f
Requires:       librsvg2
2a8cbec
Requires:       pygobject3 >= 2.18
84037fd
Requires:       python2-cddb
84037fd
Requires:       python2-mutagen >= 1.10
1b7618f
Requires:       udisks2
6d6b3cc
559f82f
%description
1b7618f
Exaile is a music player with a simple interface and powerful music
1b7618f
management capabilities. Features include automatic fetching of album art,
1b7618f
lyrics fetching, streaming internet radio, tabbed playlists, smart
1b7618f
playlists with extensive filtering/search capabilities, and much more. 
1b7618f
1b7618f
Exaile is written using Python and GTK+ and is easily extensible via
1b7618f
plugins. There are over 50 plugins distributed with Exaile that include
1b7618f
advanced track tagging, last.fm scrobbling, support for portable media
1b7618f
players, podcasts, internet radio such as icecast and Soma.FM,
1b7618f
ReplayGain, output via a secondary output device (great for DJs!), and
1b7618f
much more.
559f82f
559f82f
%prep
7974f0c
%setup -q
1b7618f
# Corresponding to:
1b7618f
# 1. Do not silently bytecompile.
1b7618f
# 2. Preserve timestamps.
1b7618f
find . -type f -name "Makefile" -exec \
1b7618f
    sed -i -e 's|compileall -q|compileall|g' \
1b7618f
    -e 's|install -m|install -pm|g' \
1b7618f
{} + -print
559f82f
559f82f
%build
1b7618f
%make_build
559f82f
1b7618f
%install
fea893b
%make_install PREFIX=%{_prefix} LIBINSTALLDIR=%{_datadir} PYTHON2_CMD=%{__python2}
559f82f
559f82f
desktop-file-install --delete-original			\
559f82f
	--dir=%{buildroot}%{_datadir}/applications	\
559f82f
	%{buildroot}%{_datadir}/applications/%{name}.desktop
559f82f
616f84a
%find_lang %{name}
616f84a
1b7618f
%check
1b7618f
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
1b7618f
#make test
559f82f
616f84a
%files -f %{name}.lang
fea893b
%doc README.md
7322859
%license COPYING
559f82f
%{_bindir}/exaile
1b7618f
%{_datadir}/appdata/exaile.appdata.xml
1b7618f
%{_datadir}/applications/exaile.desktop
fea893b
%{_datadir}/bash-completion/completions/exaile
fea893b
%{_datadir}/fish/vendor_completions.d/exaile.fish
559f82f
%{_datadir}/pixmaps/exaile.png
559f82f
%{_datadir}/exaile/
Deji Akingunola 1c855d8
%{_datadir}/dbus-1/services/org.exaile.Exaile.service
1b7618f
%dir %{_sysconfdir}/xdg/exaile/
1b7618f
%config(noreplace) %{_sysconfdir}/xdg/exaile/settings.ini
1b7618f
%{_mandir}/man1/exaile*.1*
559f82f
559f82f
%changelog
fea893b
* Thu Jun 20 2019 Leigh Scott <leigh123linux@googlemail.com> - 4.0.0-1
fea893b
- Update to 4.0.0
fea893b
a24a045
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-10
a24a045
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a24a045
74ca22a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-9
74ca22a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
74ca22a
ec0e200
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.5-8
ec0e200
- Escape macros in %%changelog
ec0e200
c4c3f18
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-7
c4c3f18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c4c3f18
84037fd
* Tue Feb 06 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.4.5-6
84037fd
- Update Python 2 dependency declarations to new packaging standards
84037fd
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
84037fd
57cf604
* Sat Aug 26 2017 William Moreno <williamjmorenor@gmail.com> - 3.4.5-5
57cf604
- Update requires to python2 binary rename
57cf604
e657cbc
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-4
e657cbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e657cbc
40b8fd4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-3
40b8fd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
40b8fd4
e116aec
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-2
e116aec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e116aec
7322859
* Fri Jul 10 2015 Christopher Meng <rpm@cicku.me> - 3.4.5-1
7322859
- Update to 3.4.5
7322859
39a58f9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.3-2
39a58f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
39a58f9
1b7618f
* Fri Jan 09 2015 Christopher Meng <rpm@cicku.me> - 3.4.3-1
1b7618f
- Update to 3.4.3
1b7618f
385c4e6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
385c4e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
385c4e6
Deji Akingunola cf56c70
* Fri Feb 21 2014 Deji Akingunola <dakingun@gmail.com> - 3.3.2-1
Deji Akingunola cf56c70
- Update to 3.3.2
Deji Akingunola cf56c70
a8cb260
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-4
a8cb260
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a8cb260
11cae35
* Fri Mar 08 2013 Jon Ciesla <limburgher@gmail.com> - 3.3.1-3
11cae35
- Drop desktop vendor tag.
11cae35
f81f519
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-2
f81f519
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f81f519
Deji Akingunola 1c0db46
* Sat Nov 17 2012 Deji Akingunola <dakingun@gmail.com> - 3.3.1-1
Deji Akingunola 1c0db46
- Update to 3.3.1
Deji Akingunola 1c0db46
Deji Akingunola e1cd499
* Mon Sep 24 2012 Deji Akingunola <dakingun@gmail.com> - 3.3.0-1
Deji Akingunola e1cd499
- Update to 3.3.0
Deji Akingunola e1cd499
9da4558
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.2-4
9da4558
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9da4558
73cc2fa
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.2-3
73cc2fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73cc2fa
Deji Akingunola 2b4461d
* Mon Sep 12 2011 Deji Akingunola <dakingun@gmail.com> - 0.3.2.2-2
ec0e200
- Place exaile's private modules in %%datadir
Deji Akingunola 2b4461d
- Trim (un-necessary?) requires
Deji Akingunola 2b4461d
Deji Akingunola fd89ea1
* Wed Aug 31 2011 Deji Akingunola <dakingun@gmail.com> - 0.3.2.2-1
Deji Akingunola fd89ea1
- Update to 0.3.2.2
Deji Akingunola fd89ea1
- Drop hal. Apply patch to support udisk from upstream bzr's udisk branch
Deji Akingunola fd89ea1
Deji Akingunola 32feff2
* Thu Mar 03 2011 Deji Akingunola <dakingun@gmail.com> - 0.3.2.1-1
Deji Akingunola 32feff2
- Update to 0.3.2.1
Deji Akingunola 32feff2
f449be4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.2.0-3
f449be4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f449be4
22f2f36
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.2.0-2
22f2f36
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
22f2f36
2d1b505
* Mon Jun 28 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.2.0-1
2d1b505
- Update to 0.3.2.0
2d1b505
2d1b505
* Wed Jun 09 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1.2-1
4be3538
- Update to 0.3.1.2
4be3538
ada90c2
* Fri Apr 09 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1.1-1
ada90c2
- Update to 0.3.1.1
ada90c2
561e45a
* Sat Mar 20 2010 Deji Akingunola <dakingun@gmail.com> - 0.3.1.0-1
561e45a
- Update to 0.3.1.0
561e45a
06fae4e
* Wed Nov 25 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0.2-1
06fae4e
- Update to 0.3.0.2
06fae4e
1c1ddd9
* Wed Sep 30 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0.1-1
1c1ddd9
- Update to 0.3.0.1
1c1ddd9
29e9dbf
* Fri Aug 28 2009 Deji Akingunola <dakingun@gmail.com> - 0.3.0-1
29e9dbf
- Update to 0.3.0
29e9dbf
b55ccd1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-4
b55ccd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b55ccd1
6469c86
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.14-3
6469c86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6469c86
b64a2c4
* Sun Nov 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.14-2
b64a2c4
- Rebuild for Python 2.6
b64a2c4
7974f0c
* Thu Oct 09 2008 Deji Akingunola <dakingun@gmail.com> - 0.2.14-1
7974f0c
- Update to 0.2.14
7974f0c
1b723c5
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.13-3
1b723c5
- fix license tag
1b723c5
b1297d9
* Mon Jul 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.2.13-2
b1297d9
- fix conditional comparison
b1297d9
- add sparc64 to 64bit arch check
b1297d9
6d6b3cc
* Wed Apr 02 2008 Deji Akingunola <dakingun@gmail.com> - 0.2.13-1
6d6b3cc
- Update to 0.2.13
6d6b3cc
ead8849
* Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.2.11.1-2
ead8849
- Rebuild for gcc43
ead8849
907a3a5
* Thu Nov 29 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.11.1-1
907a3a5
- Update to 0.2.11.1 that removes bogus cruft from 0.2.11 source tarball
907a3a5
- Rebuild for firefox-2.0.0.10
907a3a5
6b4cd63
* Tue Nov 06 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.11-2
6b4cd63
- Rebuild for firefox-2.0.0.9
6b4cd63
73f370a
* Mon Oct 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.11-1
73f370a
- New release
73f370a
c932a26
* Tue Sep 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-3
c932a26
- Require pygtk2-libglade (BZ #278471)
c932a26
6cc325c
* Wed Aug 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-2
6cc325c
- Rebuild
6cc325c
c9c5f33
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-2
c9c5f33
- License tag update
c9c5f33
b19c278
* Sat Jun 30 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.10-1
b19c278
- New release
616f84a
b19c278
* Fri Mar 30 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.9-1
b19c278
- New release
a9d4b6f
c0a4bb3
* Tue Jan 09 2007 Deji Akingunola <dakingun@gmail.com> - 0.2.8-1
c0a4bb3
- New release
c0a4bb3
c0a4bb3
* Sat Dec 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.7-1
c0a4bb3
- New release
c0a4bb3
559f82f
* Wed Dec 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.6-3
559f82f
- Rework the python include patch
559f82f
559f82f
* Wed Dec 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.6-2
559f82f
- Rewrite the build patch to be more generic
559f82f
559f82f
* Tue Dec 26 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.6-1
559f82f
- First version for Fedora Extras