2 # TODO: - separate plugins/*
4 Summary: A powerful GTK+3 media player
5 Summary(pl.UTF-8): Potężny odtwarzacz multimediów oparty na GTK+3
9 # GPL v2 in COPYING; GPL v1+ in license.txt; Artistic/Perl in lib/wmainfo.py
11 Group: X11/Applications/Multimedia
12 Source0: https://github.com/exaile/exaile/releases/download/%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: ff59fc1a6fbd3967338479d570ba3f51
14 Patch0: xl_common_py.patch
15 URL: https://exaile.org/
16 BuildRequires: gettext-tools
17 BuildRequires: help2man
18 BuildRequires: python3 >= 3.6
19 BuildRequires: python3-pygobject3
20 BuildRequires: rpm-pythonprov
21 BuildRequires: rpmbuild(macros) >= 2.000
22 BuildConflicts: python3-bsddb3
24 Requires: gstreamer-plugins-good
26 Requires: python3-berkeleydb
27 Requires: python3-dbus
28 Requires: python3-feedparser
29 Requires: python3-mutagen >= 1.42.0-8
30 Requires: python3-pycairo
31 Requires: python3-pygobject3
32 Recommends: gstreamer-plugins-bad
33 Recommends: gstreamer-plugins-ugly
34 Recommends: python3-pillow
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Exaile is a media player aiming to be similar to KDE's AmaroK, but for
41 GTK+3. It incorporates many of the cool things from AmaroK (and other
44 Some of the features are:
45 - automatic fetching of album art
46 - handling of large libraries
48 - artist/album information via the wikipedia
50 - optional iPod support (assuming you have python-gpod installed)
51 - builtin shoutcast directory browser
53 - blacklisting of tracks
54 - downloading of guitar tabs from fretplay.com
55 - submitting played tracks on the iPod to last.fm
57 %description -l pl.UTF-8
58 Exaile to odtwarzacz multimediów mający być podobny do AmaroKa, ale
59 dla GTK+3. Łączy wiele dobrych cech AmaroKa (i innych odtwarzaczy
62 Niektóre możliwości to:
63 - automatyczne pobieranie okładki albumu
64 - obsługa dużych bibliotek
65 - pobieranie tekstów utworów
66 - informacje o wykonawcy/albumie z wikipedii
68 - opcjonalna obsługa iPoda (przy zainstalowanym pakiecie python-gpod)
69 - wbudowana przeglądarka katalogów shoutcastów
70 - playlisty z zakładkami
71 - czarna lista ścieżek
72 - ściąganie tabulatur gitarowych z fretplay.com
73 - przesyłanie ścieżek odtworzonych na iPodzie do last.fm
75 %package -n bash-completion-%{name}
76 Summary: Bash completion for exaile music player
77 Summary(pl.UTF-8): Bashowe dopełnianie parametrów odtwarzacza muzyki exaile
78 Group: Applications/Shells
79 Requires: %{name} = %{version}-%{release}
80 Requires: bash-completion >= 2.0
82 %description -n bash-completion-%{name}
83 Bash completion for exaile.
85 %description -n bash-completion-%{name} -l pl.UTF-8
86 Bashowe dopełnianie parametrów odtwarzacza muzyki exaile.
88 %package -n fish-completion-%{name}
89 Summary: Fish completion for exaile music player
90 Summary(pl.UTF-8): Dopełnianie parametrów w fish dla odtwarzacza muzyki exaile
91 Group: Applications/Shells
92 Requires: %{name} = %{version}-%{release}
95 %description -n fish-completion-%{name}
96 Fish completion for exaile music player.
98 %description -n fish-completion-%{name} -l pl.UTF-8
99 Dopełnianie parametrów w fish dla odtwarzacza muzyki exaile.
105 # useless, there are bigger correspondent locales
111 LIBINSTALLDIR=/%{_datadir}
114 rm -rf $RPM_BUILD_ROOT
118 DESTDIR=$RPM_BUILD_ROOT \
119 LIBINSTALLDIR=/%{_datadir}
122 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{cy,kk,ie,ur}
124 %find_lang %{name} --all-name
127 rm -rf $RPM_BUILD_ROOT
129 %files -f %{name}.lang
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_bindir}/%{name}
132 %dir %{_sysconfdir}/xdg/exaile
133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/exaile/settings.ini
135 %{_datadir}/metainfo/exaile.appdata.xml
136 %{_datadir}/dbus-1/services/org.exaile.Exaile.service
137 %{_desktopdir}/%{name}.desktop
138 %{_pixmapsdir}/%{name}.png
139 %{_mandir}/man1/exaile.1*
141 %files -n bash-completion-%{name}
142 %defattr(644,root,root,755)
143 %{bash_compdir}/%{name}
145 %files -n fish-completion-%{name}
146 %defattr(644,root,root,755)
147 %{fish_compdir}/%{name}.fish