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