Репозиторий Sisyphus
Последнее обновление: 19 мая 2019 | Пакетов: 17692 | Посещений: 13567315
en ru br
Репозитории ALT
S:4.0.0-alt0.2
5.1: 0.3.1.2-alt0.M51.1
www.altlinux.org/Changes

Группа :: Звук
Пакет: 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
%else
Source: %name-%version.tar
%endif
#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

%description
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
%summary

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

%description plugin-exfalso
%summary

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

%build
%make_build EPREFIX=%_prefix

%install
%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
%_sysconfdir/xdg/%name
%_bindir/%name
%_desktopdir/%name.desktop
%_prefix/lib/%name
%{?_enable_ipod:%exclude %_datadir/%name/plugins/ipod}
%{?_enable_exfalso:%exclude %_datadir/%name/plugins/exfalso}
%_datadir/%name
%_datadir/metainfo/exaile.appdata.xml
%_datadir/dbus-1/services/org.exaile.Exaile.service
%_liconsdir/%name.png
%_niconsdir/%name.png
%_miconsdir/%name.png
%_man1dir/%name.*
%_datadir/bash-completion/completions/%name
%doc README.md

%if_enabled ipod
%files plugin-ipod
%_datadir/%name/plugins/ipod
%endif

%if_enabled exfalso
%files plugin-exfalso
%_datadir/%name/plugins/exfalso
%endif

%changelog

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

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