Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37404302
en ru br
Репозитории ALT

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

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


Name: qtscrob
Version: 0.11
Release: alt1

Group: Sound
Summary: Submit .scrobbler.log from portable players to Last.fm and Libre.fm
Url: http://qtscrob.sourceforge.net/
License: GPLv2

Requires: %name-gui %name-cli

Source: qtscrob-%version.tar
# Debian
Patch1: 0001-Add-dependencies-between-install-and-compress-man.patch

# Automatically added by buildreq on Thu May 22 2014 (-bi)

# optimized out: elfutils fontconfig libX11-devel libXext-devel libcloog-isl4 libqt4-core libqt4-gui libqt4-network libqt4-sql libqt4-xml libstdc++-devel libusb-devel phonon-devel pkg-config python-base
#BuildRequires: desktop-file-utils dos2unix gcc-c++ glibc-devel-static libicu50 libmtp-devel libqt4-devel ruby ruby-stdlibs
BuildRequires: desktop-file-utils dos2unix gcc-c++ glibc-devel libmtp-devel libqt4-devel

%description
Update your last.fm profile using information from portable player!
QTScrobbler is tool for submitting from portable players to
Last.fm & Libre.fm. It is written in C++ using the QT4 library.

Features:
* Parsing iPod's Play Counts file to get recently played tracks;
* Parsing .scrobbler.log (and .scrobbler-timeless.log);
* MTP (aka PlaysForSure) support;
* Ability to recalculate the listen times of any loaded tracks;
* Proxy support;
* Protocol 1.2 support;
* Automatically detect timezone and summertime details;

%package gui
Group: Sound
Summary: %name GUI tool
%description gui
qtscrob is a GUI tool which reads playback information from iPods,
MTP (aka Plays for Sure) or Rockbox (open source audio player
firmware) devices and submits them to an audioscrobbler service, such
as "last.fm" or "libre.fm"

%package cli
Group: Sound
Summary: %name CLI tool
%description cli
scrobbler is a CLI tool which reads playback information from iPods,
MTP (aka Plays for Sure) or Rockbox (open source audio player
firmware) devices and submits them to an audioscrobbler service, such
as "last.fm" or "libre.fm".


%prep
%setup
find ./ -type f | \
while read f
do
   dos2unix $f
   chmod 0644 $f
done

%patch1 -p1

cd src
%qmake_qt4 PREFIX=%prefix


%build
cd src
%make_build


%install
cd src
%make install INSTALL_ROOT=%buildroot
ln -s scrobbler %buildroot/%_bindir/qtscrob-cli
ln -s qtscrob %buildroot/%_bindir/qtscrob-gui

desktop-file-install \
   --vendor="" \
   --add-category="AudioVideo" \
   --add-category="Music" \
   --remove-category="Network" \
   --dir %buildroot/%_desktopdir %buildroot/%_desktopdir/%name.desktop

%files

%files cli
%doc AUTHORS CHANGELOG README
%_bindir/scrobbler
%_bindir/qtscrob-cli
%_man1dir/scrobbler.*

%files gui
%doc AUTHORS CHANGELOG README
%_bindir/qtscrob
%_bindir/qtscrob-gui
%_desktopdir/%name.desktop
%_iconsdir/hicolor/*/apps/%name.*
%_man1dir/qtscrob.*

%changelog

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

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