File banshee-community-extensions.spec of Package banshee-community-extensions

#
# spec file for package banshee-community-extensions
#
# Copyright (c) 2012 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/
#


# We don't build clutter flow extensions for openSUSE
%define disable_clutter_flow 1

Name:           banshee-community-extensions
Version:        2.4.0
Release:        0
# FIXME: ClutterFlow requires clutter-sharp, ZeitgeistDataprovider requires zeitgeist-sharp
Summary:        Extensions for Banshee media player
License:        MIT ; GPL-2.0+
Group:          Productivity/Multimedia/Sound/Players
Url:            http://banshee.fm/
Source0:        http://download.banshee.fm/banshee-community-extensions/2.4.0/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  banshee-devel >= 2.4.0
BuildRequires:  gcc-c++
BuildRequires:  gettext-runtime
BuildRequires:  intltool
BuildRequires:  lirc-devel
BuildRequires:  pkgconfig(dbus-sharp-glib-1.0)
BuildRequires:  pkgconfig(fftw3)
BuildRequires:  pkgconfig(gconf-sharp-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires:  pkgconfig(gtk-sharp-2.0)
BuildRequires:  pkgconfig(mono)
BuildRequires:  pkgconfig(mono-addins)
BuildRequires:  pkgconfig(notify-sharp)
BuildRequires:  pkgconfig(samplerate)
BuildRequires:  pkgconfig(sqlite3)
BuildRequires:  pkgconfig(taglib-sharp)

%description
This package provides several extensions to use with Banshee.

%package common
Summary:        Extensions for Banshee Media Player -- Common Files
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       banshee >= %{version}
Recommends:     %{name}-common-lang

%description common
This package provides files common to several community extensions.

%package -n banshee-extension-alarmclock
Summary:        Banshee extension to provide an alarm clock
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}
# Renamed during openSUSE 12.1 development
Provides:       banshee-extension-alarm = %{version}
Obsoletes:      banshee-extension-alarm < %{version}

%description -n banshee-extension-alarmclock
This package provides an extension for Banshee to use Banshee as an
alarm clock.

%package -n banshee-extension-album-art-writer
Summary:        Banshee extension to write album art
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}
# Renamed during openSUSE 12.1 development
Provides:       banshee-extension-album-art = %{version}
Obsoletes:      banshee-extension-album-art < %{version}

%description -n banshee-extension-album-art-writer
This package provides an extension for Banshee to write album art from
cache to the folder containing the music files.

%package -n banshee-extension-ampache
Summary:        Banshee extension to browse and play music with Ampache
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-ampache
This package provides an extension for Banshee to browse and play
remote music with Ampache.

%package -n banshee-extension-awn
Summary:        Banshee extension for AWN integration
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-awn
This package provides an extension for Banshee to provide integration
with Avant Window Navigator.

%package -n banshee-extension-coverwallpaper
Summary:        Banshee extension to use cover art as wallpaper
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-coverwallpaper
This package provides an extension for Banshee to display the current
album cover art as the wallpaper.

%package -n banshee-extension-duplicate-song-detector
Summary:        Banshee extension to detect duplicate songs
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}
# Renamed during openSUSE 12.1 development
Provides:       banshee-extensions-dsd = %{version}
Obsoletes:      banshee-extensions-dsd < %{version}

%description -n banshee-extension-duplicate-song-detector
This package provides an extension for Banshee to detect and remove
duplicate songs in the library.

%package -n banshee-extension-folder-sync
Summary:        Banshee extension to copy and synchronize music files
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-folder-sync
This package provides an extension for Banshee to copy and synchronize
music files from playlists into user specified folders.

%package -n banshee-extension-jamendo
Summary:        Banshee extension to listen to music from Jamendo
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-jamendo
This package provides an extension for Banshee to browse, stream and
download music from Jamendo.

%package -n banshee-extension-karaoke
Summary:        Banshee extension to filter out singers voice
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-karaoke
This package provides an extension for Banshee to filter the singers
voice out of songs.

%package -n banshee-extension-lastfm-fingerprint
Summary:        Banshee extension to identify music using Last.fm
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-lastfm-fingerprint
This package provides an extension for Banshee to identify music
automatically, using the Last.fm online service.

%package -n banshee-extension-lcd
Summary:        Banshee extension to display track info on a LCD
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-lcd
This package provides an extension for Banshee to display track info
on a LCD using LCDproc.

%package -n banshee-extension-lirc
Summary:        Banshee extension to control Banshee via a remote control
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}
Requires:       lirc

%description -n banshee-extension-lirc
This package provides an extension for Banshee to control Banshee via
a normal (infrared) remote control.

%package -n banshee-extension-liveradio
Summary:        Banshee extension to find and listen to internet radio stations
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-liveradio
This package provides an extension for Banshee to find and listen to
internet radio stations from various web directories.

%package -n banshee-extension-lyrics
Summary:        Banshee extension to view lyrics
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-lyrics
This package provides an extension for Banshee to view lyrics for the
currently playing song in the context pane.

%package -n banshee-extension-magnatune
Summary:        Banshee extension to listen to music from Magnatune
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-magnatune
This package provides an extension for Banshee to listen to music
from Magnatune.

%package -n banshee-extension-mirage
Summary:        Banshee extension to add shuffle-by-similar and fill-by-similar modes
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-mirage
This package provides an extension for Banshee to add playback
shuffle-by-similar and Auto DJ fill-by-similar modes, based on
songs' acoustic similarity.

%package -n banshee-extension-radiostationfetcher
Summary:        Banshee extension to fetch internet radio stations
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-radiostationfetcher
This package provides an extension for Banshee to fetch internet radio
stations from services like shoutcast.com.

%package -n banshee-extension-randomby-lastfm
Summary:        Banshee extension to shuffle the library using Last.fm
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-randomby-lastfm
This package provides an extension for Banshee to shuffle the library
using information from the Last.fm online service.

%package -n banshee-extension-streamrecorder
Summary:        Banshee extension to record internet-radio streams
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}

%description -n banshee-extension-streamrecorder
This package provides an extension for Banshee to record
internet-radio streams.

%package -n banshee-extension-telepathy
Summary:        Banshee extension to share music with instant messaging friends
License:        MIT
Group:          Productivity/Multimedia/Sound/Players
Requires:       %{name}-common = %{version}
Requires:       empathy >= 2.27.91
Requires:       telepathy-gabble >= 0.9
Requires:       telepathy-mission-control >= 5.3.1

%description -n banshee-extension-telepathy
This package provides an extension for Banshee to share music with
instant messaging friends.

%lang_package -n %{name}-common
%prep
%setup -q

%build
%configure \
%if %{disable_clutter_flow}
    --disable-clutterflow \
%endif
    --disable-static
make %{?_smp_mflags}

%install
%makeinstall
%find_lang %{name}
find %{buildroot}%{_libdir} -type f -name '*.la' -print -delete

%files common-lang -f %{name}.lang

%files common
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%dir %{_datadir}/banshee-community-extensions
%dir %{_datadir}/banshee-community-extensions/icons
%dir %{_datadir}/banshee-community-extensions/icons/hicolor
%dir %{_datadir}/banshee-community-extensions/icons/hicolor/22x22
%dir %{_datadir}/banshee-community-extensions/icons/hicolor/22x22/categories

%files -n banshee-extension-alarmclock
%defattr(-,root,root)
%doc src/AlarmClock/AUTHORS src/AlarmClock/COPYING src/AlarmClock/README
%{_libdir}/banshee/Extensions/Banshee.AlarmClock.*

%files -n banshee-extension-album-art-writer
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.AlbumArtWriter.*

%files -n banshee-extension-ampache
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.Ampache.*

%files -n banshee-extension-awn
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.Awn.*

%files -n banshee-extension-coverwallpaper
%defattr(-,root,root)
%doc src/CoverWallpaper/COPYING
%{_libdir}/banshee/Extensions/Banshee.CoverWallpaper.*

%files -n banshee-extension-duplicate-song-detector
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.DuplicateSongDetector.*

%files -n banshee-extension-folder-sync
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.FolderSync.*

%files -n banshee-extension-jamendo
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.Jamendo.*
%{_datadir}/banshee-community-extensions/icons/hicolor/22x22/categories/jamendo.png

%files -n banshee-extension-karaoke
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.Karaoke.*

%files -n banshee-extension-lastfm-fingerprint
%defattr(-,root,root)
%doc src/LastfmFingerprint/AUTHORS
%{_libdir}/banshee/Extensions/Banshee.LastfmFingerprint.*
%{_libdir}/banshee/Extensions/liblastfmfpbridge.so

%files -n banshee-extension-lcd
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.LCD.*

%files -n banshee-extension-lirc
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.Lirc.*
%{_libdir}/banshee/Extensions/liblircglue.so

%files -n banshee-extension-liveradio
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.LiveRadio.*

%files -n banshee-extension-lyrics
%defattr(-,root,root)
%doc src/Lyrics/AUTHORS
%{_libdir}/banshee/Extensions/Banshee.Lyrics.*

%files -n banshee-extension-magnatune
%defattr(-,root,root)
%doc src/Magnatune/README
%{_libdir}/banshee/Extensions/Banshee.Magnatune.*

%files -n banshee-extension-mirage
%defattr(-,root,root)
%doc src/Mirage/AUTHORS src/Mirage/COPYING src/Mirage/NEWS src/Mirage/README
%{_libdir}/banshee/Extensions/libmirageaudio.so
%{_libdir}/banshee/Extensions/Banshee.Mirage.*
%{_libdir}/banshee/Extensions/Mirage.*

%files -n banshee-extension-radiostationfetcher
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.RadioStationFetcher.*

%files -n banshee-extension-randomby-lastfm
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.RandomByLastfm.*

%files -n banshee-extension-streamrecorder
%defattr(-,root,root)
%{_libdir}/banshee/Extensions/Banshee.Streamrecorder.*

%files -n banshee-extension-telepathy
%defattr(-,root,root)
%doc src/Telepathy/AUTHORS src/Telepathy/README
%{_libdir}/banshee/Extensions/Banshee.Telepathy.*

%changelog
openSUSE Build Service is sponsored by