Репозиторий Sisyphus
Последнее обновление: 18 сентября 2019 | Пакетов: 17447 | Посещений: 15126726
en ru br
Репозитории ALT

Группа :: Звук
Пакет: exaile

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_enable snapshot
%define beta -beta2
%define gst_api_ver 1.0

# no more these plugins

%def_disable exfalso
%def_disable ipod

Name: exaile
Version: 4.0.0
Release: alt0.2

Summary: a music player aiming to be similar to KDE's Amarok, but for GTK+ and written in Python
License: GPLv2
Group: Sound
Url: http://www.exaile.org

BuildArch: noarch

%if_disabled snapshot
Source: https://github.com/exaile/%name/releases/download/%version/%name-%version%beta.tar.gz
Source: %name-%version.tar
#Patch: %name-%version-%release.patch

# python-2.x supported only

#%%define __python %nil
#BuildRequires(pre): rpm-build-python3

# remove ubuntu and Mac-specific dependency

%add_typelib_req_skiplist typelib(GtkosxApplication)

BuildRequires(pre): rpm-build-gir rpm-build-python
BuildRequires: python-devel python-module-pygobject3 rpm-build-gir
BuildRequires: help2man bash-completion

# explicitly required gtk+3

Requires: typelib(Gtk) = 3.0
Requires: dbus dconf
Requires: gst-plugins-base%gst_api_ver
Requires: gst-plugins-good%gst_api_ver

Exaile is a music player with a simple interface and powerful music
management capabilities. Features include automatic fetching of album
art, lyrics fetching, streaming internet radio, tabbed playlists, smart
playlists with extensive filtering/search capabilities, and much more.

Exaile is written using Python and GTK+ and is easily extensible via
plugins. There are over 50 plugins distributed with Exaile that include
advanced track tagging, last.fm scrobbling, support for portable media
players, podcasts, internet radio such as icecast and Soma.FM,
ReplayGain, output via a secondary output device (great for DJs!), and
much more.

For more information see http://exaile.readthedocs.io/

%package plugin-ipod
Group: Sound
Summary: Ipod plugin for exaile
Requires: %name = %version-%release

%description plugin-ipod

%package plugin-exfalso
Group: Sound
Summary: Ex Falso tag editor for exaile
Requires: %name = %version-%release

%description plugin-exfalso

#%patch -p1
subst 's at \(\$(DATADIR)\/\)appdata at \1metainfo at ' Makefile

%make_build EPREFIX=%_prefix

%make_install DESTDIR=%buildroot PREFIX=%_prefix install

mkdir -p %buildroot{%_liconsdir,%_niconsdir,%_miconsdir}
cp %buildroot%_datadir/%name/data/images/16x16/%name.png %buildroot%_miconsdir/
cp %buildroot%_datadir/%name/data/images/32x32/%name.png %buildroot%_niconsdir/
cp %buildroot%_datadir/%name/data/images/48x48/%name.png %buildroot%_liconsdir/

%find_lang %name

%files -f %name.lang
%{?_enable_ipod:%exclude %_datadir/%name/plugins/ipod}
%{?_enable_exfalso:%exclude %_datadir/%name/plugins/exfalso}
%doc README.md

%if_enabled ipod
%files plugin-ipod

%if_enabled exfalso
%files plugin-exfalso


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin