Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37043784
en ru br
ALT Linux repos
5.0: 0.3.5-alt1

Group :: Sound
RPM: quimup

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define Name Quimup
Name: quimup
Version: 0.3.5
Release: alt1
Summary: A client for the music player daemon (MPD)
License: %gpl2plus
Group: Sound
#URL: http://kde-apps.org/content/show.php/Quimup?content=68374
URL: http://www.coonsden.com/
Source: %Name%{version}src.tar
Packager: Led <led at altlinux.ru>

BuildRequires(pre): rpm-build-licenses
BuildRequires: gcc-c++ libqt3-devel ImageMagick-tools

%description
%Name is a client for the music player daemon (MPD) written in C++ and
QT3. The clean interface makes controlling MPD's many features easy and
intuitive. The focus is on mouse handling: playlist management is done
entirely by drag-&-drop; playback functions are directly accessible
from the system tray.
%Name turns MPD into a perfect desktop music player.


%prep
%setup -n %Name%{version}src


%build
pushd %Name%version
%configure \
   ac_cv_path_ac_qmake=qmake-qt3 \
   ac_cv_path_ac_moc=moc-q3 \
   ac_cv_path_ac_uic=uic-qt3
%make_build
popd

iconv -f cp1251 -t utf-8 > %name.desktop <<__MENU__
[Desktop Entry]
Type=Application
Exec=%name
Icon=%name
Comment=Client for MPD
Terminal=false
Name=%Name
Categories=Qt;Audio;Player;
GenericName=%Name
__MENU__

for s in 16 22 24 36 72 96; do
   convert -resize ${s}x$s -depth 8 Icons/%name{128,$s}.png
done



%install
%make_install -C %Name%version prefix=%buildroot%_prefix install
install -D -m 0644 {,%buildroot%_desktopdir/}%name.desktop
for s in 16 22 24 32 36 48 64 72 96 128; do
   install -D -m 0644 {Icons/%name$s,%buildroot%_iconsdir/hicolor/${s}x$s/apps/%name}.png
done


%files
%doc Changelog FAQ.txt README
%_bindir/*
%_desktopdir/*
%_iconsdir/hicolor/*/apps/*


%changelog

Full changelog you can see here

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