]> git.pld-linux.org Git - packages/exaile.git/blob - exaile.spec
df7280e305e3e843657b872600864e5f57a5083d
[packages/exaile.git] / exaile.spec
1 #
2 # TODO: - separate plugins/*
3 #
4 Summary:        A powerful GTK+3 media player
5 Summary(pl.UTF-8):      Potężny odtwarzacz multimediów oparty na GTK+3
6 Name:           exaile
7 Version:        4.1.2
8 Release:        1
9 # GPL v2 in COPYING; GPL v1+ in license.txt; Artistic/Perl in lib/wmainfo.py
10 License:        GPL
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
23 Requires:       gstreamer
24 Requires:       gstreamer-plugins-good
25 Requires:       librsvg
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
35 Recommends:     udisks2
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
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
42 media players).
43
44 Some of the features are:
45 - automatic fetching of album art
46 - handling of large libraries
47 - lyrics fetching
48 - artist/album information via the wikipedia
49 - last.fm support
50 - optional iPod support (assuming you have python-gpod installed)
51 - builtin shoutcast directory browser
52 - tabbed playlists
53 - blacklisting of tracks
54 - downloading of guitar tabs from fretplay.com
55 - submitting played tracks on the iPod to last.fm
56
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
60 multimediów).
61
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
67 - obsługa last.fm
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
74
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
81
82 %description -n bash-completion-%{name}
83 Bash completion for exaile.
84
85 %description -n bash-completion-%{name} -l pl.UTF-8
86 Bashowe dopełnianie parametrów odtwarzacza muzyki exaile.
87
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}
93 Requires:       fish
94
95 %description -n fish-completion-%{name}
96 Fish completion for exaile music player.
97
98 %description -n fish-completion-%{name} -l pl.UTF-8
99 Dopełnianie parametrów w fish dla odtwarzacza muzyki exaile.
100
101 %prep
102 %setup -q
103 %patch0 -p0
104
105 # useless, there are bigger correspondent locales
106 %{__rm} po/frp.po
107
108 %build
109 %{__make} \
110         PREFIX=%{_prefix} \
111         LIBINSTALLDIR=/%{_datadir}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115
116 %{__make} install \
117         PREFIX=%{_prefix} \
118         DESTDIR=$RPM_BUILD_ROOT \
119         LIBINSTALLDIR=/%{_datadir}
120
121 # unsupported
122 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{cy,kk,ie,ur}
123
124 %find_lang %{name} --all-name
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
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
134 %{_datadir}/%{name}
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*
140
141 %files -n bash-completion-%{name}
142 %defattr(644,root,root,755)
143 %{bash_compdir}/%{name}
144
145 %files -n fish-completion-%{name}
146 %defattr(644,root,root,755)
147 %{fish_compdir}/%{name}.fish
This page took 0.069956 seconds and 2 git commands to generate.