1 # TODO: /usr/share/gnome-shell/search-providers/quodlibet-search-provider.ini
3 %define module quodlibet
4 %define egg_name quodlibet
5 Summary: Quod Libet - GTK+-based audio player
6 Summary(pl.UTF-8): Quod Libet - odtwarzacz dźwięku oparty na GTK+
11 Group: X11/Applications/Multimedia
12 Source0: https://github.com/quodlibet/quodlibet/releases/download/release-%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: f8f282e7cc43f2ec2148dd2e9d93808d
14 Patch0: %{name}-nopy.patch
15 URL: https://quodlibet.readthedocs.org
16 BuildRequires: gettext-tools
17 BuildRequires: intltool
18 BuildRequires: python3-modules
19 BuildRequires: python3-setuptools
20 BuildRequires: rpm-pythonprov
21 BuildRequires: rpmbuild(macros) >= 1.719
23 Requires: gobject-introspection
24 Requires: gstreamer >= 1.0
25 #Requires: gstreamer-GConf >= 1.0
26 Requires: gstreamer-audio-effects-base >= 1.0
27 Requires: gstreamer-plugins-base >= 1.0
30 #Requires: python-dbus
31 #Requires: python-gstreamer >= 0.10.2-2
32 #Requires: python-pygobject3
33 Requires: python3-feedparser
34 Requires: python3-mutagen >= 1.14
35 Suggests: %{name}-plugins
36 Suggests: gstreamer-audiosink
37 Suggests: gstreamer-mad
38 Suggests: gstreamer-musepack
39 Suggests: gstreamer-vorbis
42 #Suggests: python-keybinder
44 Conflicts: quodlibet-plugins < 2.9.82
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 Quod Libet is a GTK+-based audio player written in Python. It's
50 designed around the idea that you know better than we do how to
51 organize your music. It lets you make playlists based on regular
52 expressions (don't worry, regular searches work too). It lets you
53 display and edit any tags you want in the file. And it lets you do
54 this for all the file formats it supports -- Ogg Vorbis, FLAC, MP3,
57 To use all of Quod Libet features (including audio playback) you will
58 also need the following packages: python-pyvorbis, python-pyao,
59 python-mad, python-pyid3lib.
61 %description -l pl.UTF-8
62 Quod Libet to oparty na GTK+ odtwarzacz dźwięku napisany w Pythonie.
63 Jest zaprojektowany w oparciu o ideę, że sami wiemy lepiej, jak chcemy
64 organizować swoją muzykę. Odtwarzacz pozwala tworzyć playlisty w
65 oparciu o wyrażenia regularne (nie jest to powód do zmartwienia,
66 zwykłe wyszukiwanie też działa). Pozwala wyświetlać i modyfikować
67 dowolne znaczniki w pliku. Umożliwia to dla wszystkich obsługiwanych
68 formatów dźwiękowych: Ogg Vorbis, FLAC, MP3, Musepack i MOD.
70 Aby używać wszystkich możliwości Quod Libet (włącznie z odtwarzaniem
71 dźwięku) potrzebne są także następujące pakiety: python-pyvorbis,
72 python-pyao, python-mad, python-pyid3lib.
82 rm -rf $RPM_BUILD_ROOT
85 # adjust for pld path (no vendor support yet)
86 install -d $RPM_BUILD_ROOT%{zsh_compdir}
87 mv $RPM_BUILD_ROOT{%{_datadir}/zsh/vendor-completions,%{zsh_compdir}}/_quodlibet
92 rm -rf $RPM_BUILD_ROOT
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_bindir}/exfalso
98 %attr(755,root,root) %{_bindir}/operon
99 %attr(755,root,root) %{_bindir}/quodlibet
100 %{_mandir}/man1/exfalso.1*
101 %{_mandir}/man1/operon.1*
102 %{_mandir}/man1/quodlibet.1*
103 %{_desktopdir}/exfalso.desktop
104 %{_desktopdir}/quodlibet.desktop
105 %{_iconsdir}/hicolor/*/apps/exfalso.png
106 %{_iconsdir}/hicolor/*/apps/quodlibet.png
107 %{_iconsdir}/hicolor/scalable/apps/exfalso-symbolic.svg
108 %{_iconsdir}/hicolor/scalable/apps/exfalso.svg
109 %{_iconsdir}/hicolor/scalable/apps/quodlibet-symbolic.svg
110 %{_iconsdir}/hicolor/scalable/apps/quodlibet.svg
111 %{_datadir}/appdata/exfalso.appdata.xml
112 %{_datadir}/appdata/quodlibet.appdata.xml
113 %{_datadir}/dbus-1/services/net.sacredchao.QuodLibet.service
114 %{zsh_compdir}/_quodlibet
115 %{py3_sitescriptdir}/%{egg_name}-%{version}-py*.egg-info
116 %{py3_sitescriptdir}/%{module}