]>
Commit | Line | Data |
---|---|---|
bb2ad145 | 1 | # |
2 | # TODO: - separate plugins/* | |
32f460c9 | 3 | # |
6733076d KM |
4 | Summary: A powerful GTK+3 media player |
5 | Summary(pl.UTF-8): Potężny odtwarzacz multimediów oparty na GTK+3 | |
101ec556 | 6 | Name: exaile |
c7924a3c | 7 | Version: 4.1.3 |
b6d81ef7 | 8 | Release: 1 |
32f460c9 | 9 | # GPL v2 in COPYING; GPL v1+ in license.txt; Artistic/Perl in lib/wmainfo.py |
862b5c9f JB |
10 | License: GPL |
11 | Group: X11/Applications/Multimedia | |
6733076d | 12 | Source0: https://github.com/exaile/exaile/releases/download/%{version}/%{name}-%{version}.tar.gz |
c7924a3c | 13 | # Source0-md5: cb43a90e9a0526fa455cab4628470260 |
6733076d | 14 | URL: https://exaile.org/ |
727185d9 | 15 | BuildRequires: gettext-tools |
e3e2f4c4 | 16 | BuildRequires: help2man |
6733076d KM |
17 | BuildRequires: python3 >= 3.6 |
18 | BuildRequires: python3-pygobject3 | |
d39b6889 | 19 | BuildRequires: rpm-pythonprov |
6733076d | 20 | BuildRequires: rpmbuild(macros) >= 2.000 |
b2a18a79 | 21 | BuildConflicts: python3-bsddb3 |
6733076d KM |
22 | Requires: gstreamer |
23 | Requires: gstreamer-plugins-good | |
24 | Requires: librsvg | |
b2a18a79 | 25 | Requires: python3-berkeleydb |
6733076d | 26 | Requires: python3-dbus |
c7924a3c | 27 | Requires: python3-discid |
6733076d | 28 | Requires: python3-feedparser |
c7924a3c | 29 | Requires: python3-musicbrainzngs |
b2a18a79 | 30 | Requires: python3-mutagen >= 1.42.0-8 |
6733076d KM |
31 | Requires: python3-pycairo |
32 | Requires: python3-pygobject3 | |
33 | Recommends: gstreamer-plugins-bad | |
34 | Recommends: gstreamer-plugins-ugly | |
35 | Recommends: python3-pillow | |
36 | Recommends: udisks2 | |
37 | BuildArch: noarch | |
101ec556 | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39 | ||
40 | %description | |
41 | Exaile is a media player aiming to be similar to KDE's AmaroK, but for | |
6733076d | 42 | GTK+3. It incorporates many of the cool things from AmaroK (and other |
101ec556 | 43 | media players). |
44 | ||
45 | Some of the features are: | |
46 | - automatic fetching of album art | |
47 | - handling of large libraries | |
48 | - lyrics fetching | |
49 | - artist/album information via the wikipedia | |
50 | - last.fm support | |
862b5c9f | 51 | - optional iPod support (assuming you have python-gpod installed) |
101ec556 | 52 | - builtin shoutcast directory browser |
53 | - tabbed playlists | |
54 | - blacklisting of tracks | |
55 | - downloading of guitar tabs from fretplay.com | |
56 | - submitting played tracks on the iPod to last.fm | |
57 | ||
c36081ff JR |
58 | %description -l pl.UTF-8 |
59 | Exaile to odtwarzacz multimediów mający być podobny do AmaroKa, ale | |
6733076d | 60 | dla GTK+3. Łączy wiele dobrych cech AmaroKa (i innych odtwarzaczy |
c36081ff | 61 | multimediów). |
862b5c9f | 62 | |
c36081ff JR |
63 | Niektóre możliwości to: |
64 | - automatyczne pobieranie okładki albumu | |
65 | - obsługa dużych bibliotek | |
66 | - pobieranie tekstów utworów | |
862b5c9f | 67 | - informacje o wykonawcy/albumie z wikipedii |
c36081ff JR |
68 | - obsługa last.fm |
69 | - opcjonalna obsługa iPoda (przy zainstalowanym pakiecie python-gpod) | |
70 | - wbudowana przeglądarka katalogów shoutcastów | |
71 | - playlisty z zakładkami | |
72 | - czarna lista ścieżek | |
73 | - ściąganie tabulatur gitarowych z fretplay.com | |
74 | - przesyłanie ścieżek odtworzonych na iPodzie do last.fm | |
862b5c9f | 75 | |
6733076d KM |
76 | %package -n bash-completion-%{name} |
77 | Summary: Bash completion for exaile music player | |
78 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów odtwarzacza muzyki exaile | |
79 | Group: Applications/Shells | |
80 | Requires: %{name} = %{version}-%{release} | |
81 | Requires: bash-completion >= 2.0 | |
82 | ||
83 | %description -n bash-completion-%{name} | |
84 | Bash completion for exaile. | |
85 | ||
86 | %description -n bash-completion-%{name} -l pl.UTF-8 | |
87 | Bashowe dopełnianie parametrów odtwarzacza muzyki exaile. | |
88 | ||
89 | %package -n fish-completion-%{name} | |
90 | Summary: Fish completion for exaile music player | |
91 | Summary(pl.UTF-8): Dopełnianie parametrów w fish dla odtwarzacza muzyki exaile | |
92 | Group: Applications/Shells | |
93 | Requires: %{name} = %{version}-%{release} | |
94 | Requires: fish | |
95 | ||
96 | %description -n fish-completion-%{name} | |
97 | Fish completion for exaile music player. | |
98 | ||
99 | %description -n fish-completion-%{name} -l pl.UTF-8 | |
100 | Dopełnianie parametrów w fish dla odtwarzacza muzyki exaile. | |
101 | ||
101ec556 | 102 | %prep |
b08858bb | 103 | %setup -q |
101ec556 | 104 | |
e3e2f4c4 | 105 | # useless, there are bigger correspondent locales |
6e041970 | 106 | %{__rm} po/frp.po |
a9542e8c | 107 | |
862b5c9f | 108 | %build |
9755aa98 | 109 | %{__make} \ |
4e31e023 | 110 | PREFIX=%{_prefix} \ |
384777b7 | 111 | LIBINSTALLDIR=/%{_datadir} |
862b5c9f | 112 | |
101ec556 | 113 | %install |
114 | rm -rf $RPM_BUILD_ROOT | |
101ec556 | 115 | |
9755aa98 | 116 | %{__make} install \ |
4e31e023 | 117 | PREFIX=%{_prefix} \ |
fd7d1a3e | 118 | DESTDIR=$RPM_BUILD_ROOT \ |
384777b7 | 119 | LIBINSTALLDIR=/%{_datadir} |
101ec556 | 120 | |
1b68311d | 121 | # unsupported |
c7924a3c | 122 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{cy,kk,ie,ur,zh} |
1b68311d | 123 | |
3f3f89ba | 124 | %find_lang %{name} --all-name |
125 | ||
101ec556 | 126 | %clean |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
3f3f89ba | 129 | %files -f %{name}.lang |
101ec556 | 130 | %defattr(644,root,root,755) |
101ec556 | 131 | %attr(755,root,root) %{_bindir}/%{name} |
9755aa98 ZU |
132 | %dir %{_sysconfdir}/xdg/exaile |
133 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/exaile/settings.ini | |
384777b7 | 134 | %{_datadir}/%{name} |
b2a18a79 | 135 | %{_datadir}/metainfo/exaile.appdata.xml |
6733076d | 136 | %{_datadir}/dbus-1/services/org.exaile.Exaile.service |
3f3f89ba | 137 | %{_desktopdir}/%{name}.desktop |
c7924a3c KM |
138 | %{_iconsdir}/hicolor/*x*/apps/exaile.png |
139 | %{_iconsdir}/hicolor/scalable/apps/exaile.svg | |
e3e2f4c4 | 140 | %{_mandir}/man1/exaile.1* |
6733076d KM |
141 | |
142 | %files -n bash-completion-%{name} | |
143 | %defattr(644,root,root,755) | |
144 | %{bash_compdir}/%{name} | |
145 | ||
146 | %files -n fish-completion-%{name} | |
147 | %defattr(644,root,root,755) | |
148 | %{fish_compdir}/%{name}.fish |