]> git.pld-linux.org Git - packages/exaile.git/blame - exaile.spec
- moving python files from libdir to datadir; rel. 2
[packages/exaile.git] / exaile.spec
CommitLineData
bb2ad145 1#
2# TODO: - separate plugins/*
32f460c9 3#
6733076d
KM
4Summary: A powerful GTK+3 media player
5Summary(pl.UTF-8): Potężny odtwarzacz multimediów oparty na GTK+3
101ec556 6Name: exaile
6733076d 7Version: 4.1.1
384777b7 8Release: 2
32f460c9 9# GPL v2 in COPYING; GPL v1+ in license.txt; Artistic/Perl in lib/wmainfo.py
862b5c9f
JB
10License: GPL
11Group: X11/Applications/Multimedia
6733076d
KM
12Source0: https://github.com/exaile/exaile/releases/download/%{version}/%{name}-%{version}.tar.gz
13# Source0-md5: e65089a19b038024a6b342db7eec06af
14URL: https://exaile.org/
727185d9 15BuildRequires: gettext-tools
e3e2f4c4 16BuildRequires: help2man
6733076d
KM
17BuildRequires: python3 >= 3.6
18BuildRequires: python3-pygobject3
d39b6889 19BuildRequires: rpm-pythonprov
6733076d
KM
20BuildRequires: rpmbuild(macros) >= 2.000
21Requires: gstreamer
22Requires: gstreamer-plugins-good
23Requires: librsvg
24Requires: python3-bsddb3
25Requires: python3-dbus
26Requires: python3-feedparser
27Requires: python3-mutagen >= 1.10
28Requires: python3-pycairo
29Requires: python3-pygobject3
30Recommends: gstreamer-plugins-bad
31Recommends: gstreamer-plugins-ugly
32Recommends: python3-pillow
33Recommends: udisks2
34BuildArch: noarch
101ec556 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
38Exaile is a media player aiming to be similar to KDE's AmaroK, but for
6733076d 39GTK+3. It incorporates many of the cool things from AmaroK (and other
101ec556 40media players).
41
42Some 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
56Exaile to odtwarzacz multimediów mający być podobny do AmaroKa, ale
6733076d 57dla GTK+3. Łączy wiele dobrych cech AmaroKa (i innych odtwarzaczy
c36081ff 58multimediów).
862b5c9f 59
c36081ff
JR
60Niektó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}
74Summary: Bash completion for exaile music player
75Summary(pl.UTF-8): Bashowe dopełnianie parametrów odtwarzacza muzyki exaile
76Group: Applications/Shells
77Requires: %{name} = %{version}-%{release}
78Requires: bash-completion >= 2.0
79
80%description -n bash-completion-%{name}
81Bash completion for exaile.
82
83%description -n bash-completion-%{name} -l pl.UTF-8
84Bashowe dopełnianie parametrów odtwarzacza muzyki exaile.
85
86%package -n fish-completion-%{name}
87Summary: Fish completion for exaile music player
88Summary(pl.UTF-8): Dopełnianie parametrów w fish dla odtwarzacza muzyki exaile
89Group: Applications/Shells
90Requires: %{name} = %{version}-%{release}
91Requires: fish
92
93%description -n fish-completion-%{name}
94Fish completion for exaile music player.
95
96%description -n fish-completion-%{name} -l pl.UTF-8
97Dopeł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
111rm -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
124rm -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
This page took 0.243979 seconds and 4 git commands to generate.