Package qtscrob: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | 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 * Thu May 22 2014 Sergey V Turchin <zerg@altlinux.org> 0.11-alt1 - initial build |