Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
amarok2
> amarok.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File amarok.spec of Package amarok2
# # spec file for package amarok (Version 2.1.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %bcond_with mp4 Name: amarok BuildRequires: cups-devel libkcddb4-devel ruby-devel sqlite-devel taglib-devel BuildRequires: kdebase4-workspace-devel libkcompactdisc4-devel tse3-devel update-desktop-files BuildRequires: gstreamer010-devel libmtp-devel libnjb-devel libvisual-devel xine-devel BuildRequires: flac-devel gtk2-devel libQtWebKit-devel libdvdread-devel libkde4-devel BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel BuildRequires: gdk-pixbuf-devel libcurl-devel libsoprano-devel loudmouth-devel BuildRequires: libmysqlclient-devel libqca2-devel BuildRequires: qt4-qtscript taglib-extras-devel BuildRequires: libgpod-devel >= 0.7.0 BuildRequires: libmp4v2-devel # Required for the fdupes macro BuildRequires: fdupes Url: http://amarok.kde.org License: GPL v2 or later Group: Productivity/Multimedia/Sound/Players Summary: Media Player for KDE Version: 2.1.1 Release: 2.5 Source0: %name-%version.tar.bz2 Source1: errmsg.sys Patch3: link-mysql-embedded.diff Patch4: errmsg-mysql-embedded.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: kde4-amarok = 2.0.90 Obsoletes: kde4-amarok <= 2.0.90 Requires: qt4-qtscript Requires: %{name}-lang = %{version} %description Amarok is a media player for all kinds of media. This includes MP3, Ogg Vorbis, audio CDs, podcasts and streams. Play lists can be stored in .m3u or .pls files. Authors: -------- Christian Muehlhaeuser <chris@chris.de> Mark Kretschmann <markey@web.de> Max Howell <max.howell@methylblue.com> Stanislav Karchebny <berk@inbox.ru> %lang_package %prep %setup -q -n %name-%version %patch3 %patch4 %build %ifarch ppc ppc64 export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif %cmake_kde4 -d build %make_jobs %install cd build %makeinstall cd .. install -m 0644 %SOURCE1 $RPM_BUILD_ROOT/usr/share/kde4/apps/amarok/errmsg.sys %suse_update_desktop_file -r amarok AudioVideo Player %find_lang amarok %find_lang amarokcollectionscanner_qt amarok.lang %kde_post_install # create hardlinks for duplicate file using fdupes macro %fdupes %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files lang -f amarok.lang %files %defattr(-,root,root) %_bindir/amarok %_bindir/amarokcollectionscanner %_bindir/amarok_afttagger %_bindir/amarokmp3tunesharmonydaemon %_kde4_modules/amarok_* %_kde4_modules/kcm_amarok_service_* %_kde4_modules/libamarok_* %_libdir/libamarok_service_liblastfm.so %_libdir/libamaroklib.so %_libdir/libamaroklib.so.* %_libdir/libamarokpud.so %_libdir/libamarokpud.so.* %_libdir/libmediadevicelib.so %_libdir/libmediadevicelib.so.* %_libdir/strigi/strigita_audible.so %_libdir/strigi/strigita_mp4.so %{_datadir}/applications/kde4/amarok.desktop %{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.player.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.root.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.MediaPlayer.tracklist.xml %{_datadir}/icons/hicolor/*/apps/amarok.* %_kde_share_dir/apps/amarok %_kde_share_dir/apps/desktoptheme/Amarok-Mockup %_kde_share_dir/apps/desktoptheme/amarok-default.desktop %_kde_share_dir/apps/desktoptheme/default/widgets/amarok-* %_kde_share_dir/config.kcfg/amarokconfig.kcfg %_kde_config_dir/amarok.knsrc %_kde_share_dir/servicetypes/amarok_* %_kde_share_dir/services/amarok-* %_kde_share_dir/services/amarok_* %_kde_share_dir/services/amaroklastfm.protocol %_kde_share_dir/services/amarok.protocol %_kde_share_dir/services/ServiceMenus/amarok_append.desktop %_kde_config_dir/amarok_homerc %changelog * Sat Jun 13 2009 beineri@opensuse.org - update to 2.1.1: several bugfixes and * Option to hide the context view. * Applets are now laid out according to two criteria: either fixed height or flowing to fill the CV. No more slivers of applets visible at the bottom. * Load contents of an m3u file if specified when running amarok from the command line. File must be local. * Added large source emblem in current track applet. * Make it possible to delete multiple selected playlists at once from the "My Playlists" category in the playlist browser. * Show info box in CV if no applets are visible. * Thu Jun 4 2009 beineri@opensuse.org - don't require errmsg.sys from mysql package (bnc#509815) * Sat May 30 2009 beineri@opensuse.org - update to 2.1 release: several bugfixes and * Removed the "Amarok Handbook" menu entry until the handbook actually exists (work in progress). * Single-click/double-click behavior in the Collection Browser now follows the preference set in KDE System Settings. * Automatically fetch database for Jamendo/Opml on first load. * Escape clears most search filters throughout Amarok. * Tracks of saved playlists are again shown in playlistbrowser. They can be added and sorted using drag and drop. * Wed May 20 2009 beineri@opensuse.org - require amarok-lang * Mon May 18 2009 cmorve69@yahoo.es - make mp4 support a build option * Mon May 11 2009 beineri@opensuse.org - update to 2.1 Beta 2: several bugfixes and * New Script method to get current track time in milliseconds. * Pressing the return key in the playlist search activates the selected result. * Pressing escape key in playlist search clears its contents. * Optimizations to the insertion and removal of large numbers of tracks from the playlist. Especially clearing a large playlist is now about 300 times faster. * Always scroll to newly inserted tracks in the Playlist. * When removing upcoming tracks from an active dynamic playlist, add a simmilar number of new ones to keep if from "drying up". * Some action cleanup in the playlist context menu. * When clearing the playlist, also reset the search/filter text. * Podcast titles are stripped of unnecessary whitespace. * Tue Apr 21 2009 dmueller@suse.de - kde4-amarok -> amarok * Thu Apr 16 2009 shrikantkhare@gmail.com - update to version 2.0.90.svn954151.20090415 - FEATURES: * New Script method to get current track time in milliseconds. (BR 177073) - BUGFIXES: * Don't fetch all coverless albums automatically when opening the Cover Manager. (BR 176170) * Podcast episodes are loaded correctly when restoring a playlist on startup. This means the local file will be played if downloaded. (BR 189328) * Next button in the main toolbar no longer has a clipped shadow. (BR 176031) * Fixed slider mouse events in RTL layouts. (BR 185465) * Detect iPhones as iPods. (BR 184744) * Clicking on "Stop after current track" disables the flag if it is already enabled. * Show a track marker when the "stop after current track" flag is set. (BR 185888) * Don't flash the OSD when opening the settings dialog. Patch thanks to Andreas Heider <andreas@meetr.de>. * Podcast file formats are correctly displayed. * Don't crash when pressing Delete on empty playlist. (BR 189021) - VERSION 2.1beta1 * The collection scanner is now able to be run in batch mode, allowing for automated scans of both full and incremental types. In addition, all graphical dependencies have been removed, allowing for headless, remote runs of collection scans. A wiki page detailing how to do this will be made available shortly. * Covers are shown for iPod collections. * Phonon multimedia system can be configured directly from Amarok. * Cover art can now be disabled in the collection browser. * Scrobble tracks from streams that have title and artist metadata * Add support for showing a stream with multiple alternative servers as a single item in the playlist and add GUI for manually selecting prefered source. * Ampache service: Add support for Ampache 3.5.x as well as 3.4.4. * Auto timecoding (position bookmarking) now exists for tracks with length greater than 10 minutes. (BR 148740) * Add a animated "loading..." screen when dynamically fetching info about an item to show in the service info applet. * Deleting tracks from the local collection is now possible. (BR 170999) * Add a filter-by-date-added to the collection browser. Use added:"today" or added:<2m2d * Add a tab bar in the current track applet for showing also the favorite tracks in the collection. * Add an advanced but user friendly playlist layout editor allowing users to modify and create their own playlist layouts. * The Playlist can now render itself using layouts defined in XML. A number of default layouts are included and can be switched between. * Option to automatically scroll the playlist to the active item on track change. * New QtScript methods for accessing the playlist: Amarok.Playlist.selectedFilenames() & Amarok.Playlist.selectedIndizes(). Patch by Mathias Panzenböck <grosser.meister.morti@gmx.net>. * New QtScript method for the Track prototype: imagePixmap( size ). Returns a QPixmap of the given size, or the default if the size argument isn't supplied. * New QtScript class 'DataDownloader' that returns results as a QByteArray instead of a string. Needed for image downloads. * Cue Sheets are now supported as in Amarok 1.4, plus each cue entry (usually a track) will be displayed as a timecode on the Progress Bar with a nice onMouseOver popup. * Ipod support now uses/depends on libgpod 0.7.0 * Bookmarking specific positions within local tracks and downloaded local podcast episodes, with a nice visual indicator on the progress bar. * When the last.fm service is active, any track, from any collection or service, can be loved from the browser , and there will always be a love button for the currently playing track, no matter the source. * Dbus methods added: VolumeUp, VolumeDown and Mute. (BR 181130) * The feed url is displayed in the config dialog of a podcast channel. By left clicking in the url it's copied to the clipboard. (BR 180853) * The Playlist Browser can now show playlists from multiple sources, including media devices. * The last.fm service now allows for the playing of all types of user stations (personal, loved tracks, recommendations, and neighborhood). * Arbitrary Tags can now be played in the last.fm service. (BR 139802) * Replay Gain support for most file formats that Amarok can read tags from. Reading Replay Gain tags from MP4 files requires libMP4v2. Musepack (MPC) files are unsupported due to a limitation of TagLib. * Amarok urls. Amarok can now load and generate "amarok urls" that allows any "view" to be bookmarked and later retrieved. A protocol handler is also installed that will launch amarok into the correct state, or make amarok show the correct view if already running if such a url is activated system wide. * Customizable playlist layouts. The playlist is now rendered according to an xml layout, allowing the playlist to assume a variety of different looks and supply customizable information. * Album cover art can be accessed via the scripting API. Patch thanks to Simon Esneault <simon.esneault@gmail.com>. (BR 179732) * New vertical Context View layout. * New applet toolbar in the Context View to arrange, select, and add applets. * Thu Apr 9 2009 rhafer@suse.de - included upstream fix for broken last.fm authentication (kde#188678) * Fri Mar 6 2009 wstephenson@suse.de - update to 2.0.2 * Show a statusbar message when loving a lastfm track. * Show error message when Wikipedia information cannot be retrieved. * Fix showing of book information from the LibriVox service. * Don't crash if a script has uncaught exceptions. * Open ogg files in Amarok when using Dolphin and other file managers. Patch thanks to Lubos Lunak. (kde#180155) * Fix podcast episodes not ordered right because of incorrect parsing of pubdate. (kde#181338) * Fix crash in tagdialog when editing tracks without an artist. (kde#183180) * Statistics were not calculated properly in all instances. (kde#182025) * Compilation fixes on Open Solaris. * Trim URL before adding a new podcast. * Add Ok button to the podcast configuration dialog to improve usability. (kde#181339) * Add tooltips to now playing widget icons. * Fix not possible to download episodes from newly added podcast channel. (kde#180851) * Mon Mar 2 2009 coolo@suse.de - compile with gcc 4.4 * Sat Jan 10 2009 stbinner@suse.de - update to 2.0.0.1: fix possible buffer overflows when parsing Audible .aa files (bnc#465098) * Fri Jan 9 2009 llunak@suse.cz - add more variants of ogg mimetypes to amarok.desktop (bnc#438718) * Tue Jan 6 2009 stbinner@suse.de - update to 2.0.1 * Add advanced, configurable, searching and filtering to playlist. * Add "Stop after track" option to the playlist menu. * Queue track functionality has returned. * Add automatic recovery option to MySQL embedded server. * Greatly improved Librivox.org service script. It now works for all books, and dynamically fetches a summary of each book that is shown in the service info applet. The script now also has a propper icon in the service browser and its own emblem and default "album" cover for books. * Sorting collection by Composer is now possible. * Service scripts can now dynamically fetch context info when items are selected (info can still be applied statically to each item as well). * Album items from a service script can now have custom covers. * Items from a service script can now have a custom emblem. * Service scripts can now set custom icons for the service browser. * Add simple filtering to the service browser. * Podcast channels are automatically refreshed once per hour if autoscan is enabled. * Wed Dec 31 2008 stbinner@suse.de - gdkpixbuf is required for pod support * Tue Dec 30 2008 stbinner@suse.de - don't require errmsg.sys from mysql package (bnc#450318) * Mon Dec 15 2008 dmueller@suse.de - add missing requirement on qt4-sql-sqlite - use mysql embedded instead of mysql server * Sun Dec 14 2008 meissner@suse.de - fixed a crash with MTP devices without sufficient permissions. bnc#457931 * Sat Dec 6 2008 stbinner@suse.de - update to Amarok 2.0 final release tarball plus official patches: CHANGES: * Removed the KBookmarks menu in the FileBrowser because it causes crashes. * The Organize Collection dialog has been improved. * Last.Fm service now uses KIO for network access, respects desktop proxy settings. BUGFIXES: * Fix bug that showed misplaced applets in the Context View after resizing the window and changing to another containment. * Don't try to squeeze text into wrongly tiny space, make the track label in the tag dialog work again. * Collection setup directory chooser would incorrectly set some paths as disabled. Patch thanks to Ben Boeckel <MathStuf@gmail.com>. * Fix shadows around the cover in the current track applet (and potentially other places as well) getting progresssively darker. * Don't compare Solid and libmtp's serial number to connect. * Workaround a bug in the CurrentEngine class that makes the nocover image look grainy in the currenttrack applet. * Dragging and Dropping folders from the filebrowser into the playlist will now result in the tracks being ordered correctly. * Fixed deletion for downloaded podcast episodes * Show artists in Cover Manager sorted alphabetically. * Fix reading of windows playlists, recognise \ as directory separator. * Fix crash when searching in collections. * Prevent disabled MP3tunes service from being initialized on first run. * Elide text properly in applet chooser widget. * Fixed potential crash when playing streams. * Don't show wrong metadata for Last.fm radio. * Don't try to squeeze text into wrongly tiny space, make the track label in the tag dialog work again. * Expand applets width when a complete column has been removed. * Don't try to fetch another cover if there are no more albums to fetch for. * Don't crash when trying to edit the details of a track without an artist or album. * Sat Nov 29 2008 stbinner@suse.de - update to post-RC1 snapshot tarball provided by Amarok team: FEATURES: * Added read/write configuration APIs for Qtscript. CHANGES: * Added icons to the filename scheme and organize collection dialogs. * Added an OK button for the script manager. BUGFIXES: * Magnatune.com store: Correctly show progress info when downloading. * Magnatune.com store: Fix purchase/download of wrong album being initiated when selecting "Purchase" or "Download" from the playlist context menu. * Fix a bug that stopping a running script crashes amarok. * The context view could sometimes show the "stopped state" even when a track was playing. * Amarok 1.4 database importer would crash under some circumstances. * Covers could not be fetched from Amazon Japan. * Fix a bug that the script manager deletes wrong entry after script installation. * Make lyrics auto-display when applet is added while a song is playing. * "Watch folders for changes" actually works now * Fix a bug that caused dynamic playlists not to repopulate. * Fixed potential issues with malformed XML breaking the collection scan. * Focus of text fields no longer lost when changing tracks using the Next/ Previous buttons in tag dialog. * Sort Podcasts in the right order. * Fri Nov 21 2008 stbinner@suse.de - update to 1.98 (2.0 Release Candidate 1) FEATURES: * Users' Recommended radio is now shown in the Last.Fm Service. * Playlist browser items can be deleted and renamed using the keyboard. * Basic and Advanced view when editing a filename scheme are synchronized. * Added delete button to Advanced view for defining a filename scheme. * Importer for iTunes libraries now allows you to import your statistics from iTunes. * The settings dialog now remembers the page that was last used. * Track information can be edited from the file browser. CHANGES: * Video and Last.fm applet have been disabled. They are not ready for release. * Ipods and MTP devices auto-connect again for usability. * Ipod Collections can now delete multiple tracks at once. * User playlists added from files are now updated on collection rescans, so any changes in the file is reflected in the SQL playlist. * Layout refactoring in the Organize Collection dialog. * Enabled Last.fm scrobbling by default when Last.fm login is supplied. * Amarok now allows opening of video files again. * "Show active track" has been moved from the playlist context menu to the playlist toolbar. BUGFIXES: too many to copy them all here :-) * Wed Nov 12 2008 dmueller@suse.de - call post_install hook to update desktop translations * Wed Nov 5 2008 dmueller@suse.de - use minimal-toc to fix build on ppc(64) * Tue Nov 4 2008 stbinner@suse.de - update to 1.94 (2.0 Beta 3): * playlist and statusbar recieved major attention * database/statistics import from Amarok 1.4 * major overhaul of the Last.fm integration * sorting by year and album in the Collection Browser is possible again (small, but often requested) * shortcut to jump to current track in the playlist * many, many bugs squashed and stability fixes * Thu Oct 16 2008 stbinner@suse.de - split off kde4-amarok-lang package * Mon Oct 6 2008 dmueller@suse.de - update to 1.92.2 (2.0 Beta2) * music database is now using mysql embedded * various fixes / new features * Tue Sep 9 2008 dmueller@suse.de - fix uninitialized return value warnings * Wed Aug 20 2008 dmueller@suse.de - update to 1.90 (2.0 Beta1) * Mon Jul 21 2008 dmueller@suse.de - update to 1.86 (2.0 Alpha2) * Thu Jul 10 2008 dmueller@suse.de - update to 1.83 (2.0 Alpha1) * Thu Jun 26 2008 dmueller@suse.de - update to 4.0.84.svn824686 * Tue Jun 24 2008 dmueller@suse.de - update to 4.0.81.svn823998 * Tue Jun 3 2008 dmueller@suse.de - update to 4.0.81.svn816194 * Thu May 15 2008 dmueller@suse.de - update to 4.0.74.svn808129 * Wed May 7 2008 dmueller@suse.de - update to 4.0.73.svn805196 * Thu Apr 24 2008 dmueller@suse.de - update to 4.0.71.svn800684 * Fri Apr 18 2008 dmueller@suse.de - update to 4.0.69.svn798537 * Wed Apr 2 2008 dmueller@suse.de - update to 4.0.68.svn792936 * Fri Feb 15 2008 dmueller@suse.de - update to 4.0.62.svn775117 * Wed Nov 28 2007 dmueller@suse.de - update to 3.96.0.svn742626 * Thu Nov 1 2007 dmueller@suse.de - update to 3.95.0.svn731749