Sisyphus repository
Last update: 12 april 2021 | SRPMs: 17839 | Visits: 20700551
en ru br
ALT Linux repos

Group :: Sound
RPM: pragha

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable snapshot

%define rdn_name io.github.pragha-music-player

%def_disable libxfce4ui
%def_enable grilo
# works only with rygel-2.2
%def_disable rygel

Name: pragha
Release: alt2

Summary: Pragha is a "Fork" of consonance Music manager
License: GPLv3
Group: Sound

%if_disabled snapshot
# VCS:
Source: %name-%version.tar
# adapt to newer keybinder
Patch: pragha-1.3.3-alt-configure.patch

%define gtk_ver 3.14

Requires: gst-plugins-base1.0
Requires: gst-plugins-good1.0

BuildRequires: libcddb-devel libcdio-devel libcdio-paranoia-devel
BuildRequires: libclastfm-devel libglyr-devel
BuildRequires: libkeybinder-devel libnotify-devel libtag-devel
BuildRequires: gstreamer1.0-devel gst-plugins1.0-devel libgtk+3-devel >= %gtk_ver
BuildRequires: libpeas-devel libtotem-pl-parser-devel
BuildPreReq: libgudev-devel libsoup-devel libjson-glib-devel libmtp-devel
%{?_enable_rygel:BuildRequires: rygel-devel}
%{?_enable_grilo:BuildRequires: libgrilo-devel}
%{?_enable_libxfce4ui:BuildRequires: libxfce4ui-devel}
# requires for
BuildRequires: xfce4-dev-tools

Pragha is a reproducer and administrator of music for GNU/Linux, based
on Gtk, sqlite, and completely written in C, constructed to be fast,
light, and simultaneously complete without obstructing the daily work.

subst 's/%name.appdata/%rdn_name.metainfo/' data/

%add_optflags %(getconf LFS_CFLAGS)
NOCONFIGURE=1 xdt-autogen
%configure \
%{subst_enable libxfce4ui} \
LIBS="%(pkg-config taglib_c --libs) %(pkg-config gio-2.0 --libs)"
%make_build V=1

%find_lang %name

%files -f %name.lang

%doc ChangeLog FAQ NEWS README


%exclude %_includedir/lib%name
%exclude %_pkgconfigdir/lib%name.pc


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin