LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde4-amarok.spec of Package kde4-amarok (Project home:KlaasT:KDE4)

#
# spec file for package kde4-amarok
#
# 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


Name:           kde4-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 libmusicbrainz3-devel libqca2-devel
BuildRequires:  taglib-extras-devel qtscript-qt 
BuildRequires:  libgpod-devel >= 0.7.0

#Currently no package in openSUSE BuildService provides this
#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.0.80.951440
Release:        1.1
Source0:        amarok.tar.bz2
BuildRoot:      %{_tmppath}/amarok-build

%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.

This is the trunk svn version (r949093) of upcoming Amarok 2.1.

You need KDE4.2 or later to install this version.

Authors:
--------
    Christian Muehlhaeuser <chris@chris.de>
    Mark Kretschmann <markey@web.de>
    Max Howell <max.howell@methylblue.com>
    Stanislav Karchebny <berk@inbox.ru>

%prep
%setup -q -n amarok

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  cd ..
  %suse_update_desktop_file -r amarok AudioVideo Player
  %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
%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*
%{_libdir}/libmediadevicelib*
%{_libdir}/strigi/strigita_*
%{_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

%changelog

* Sat Apr 04 2009 shrikantkhare@gmail.com
- update to 2.0.80.svn949093.20090404
  * 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.