Blob Blame History Raw
Name:		bangarang
Version:	1.0.1
Release:	1%{?dist}
Summary:	Media player with nepomuk support

Group:		Applications/Multimedia
License:	GPLv3+
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# Fix DSO patch
patch10:	bangarang-DSO-fix.patch
patch20:	bangarang-DSO-fix2.patch

BuildRequires:	gettext, kdemultimedia-devel, taglib-devel, soprano-devel

%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }

* Play your media (Media files, CD and DVD).
* Restrained interface that puts your media front-and-center.
* Media library functions that allow you simple, effective browsing and 
  categorization for all your media including:
	o Music
	o Audio streams
	o Audio clips
	o Movies
	o TV Shows
	o Video clips
* Rating and play count tracking
* Search functions
* Saved media lists including:
	o Save media lists for any media type
	o Save media list “views” – Save any view while browsing, 
	  including search results. Views are “live” – when you add 
	  that new Muse album to your library, your saved media list 
	  view will automatically reflect it.
* Employs core KDE4 technologies including:
	o Nepomuk – Uses and shares media data with the rest of your desktop.
	o Phonon – Whatever the phonon backend plays, Bangarang plays.

%setup -q -n bangarang-bangarang
sed -i 's,x-ms-wmv;video/x-msvideo;video/x-ms-asf;video,x-ms-wmv;video/x-ms-asf;video,' data/bangarang.desktop
%patch10 -p0
%patch20 -p0

mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..

make %{?_smp_mflags} -C %{_target_platform}

rm -rf %{buildroot}
make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
%find_lang %{name} --with-kde

rm -rf %{buildroot}

touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

if [ $1 -eq 0 ] ; then
   touch --no-create %{_kde4_iconsdir}/hicolor &>/dev/null
   gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &>/dev/null || :
   update-desktop-database -q &> /dev/null
   update-mime-database %{_kde4_datadir}/mime &> /dev/null

gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
update-desktop-database -q &> /dev/null
update-mime-database %{_kde4_datadir}/mime &> /dev/null

desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop

%files -f %{name}.lang

* Sat May 01 2010 Thomas Janssen <> 1.0.1-1
- bugfix release 1.0.1

* Mon Feb 01 2010 Thomas Janssen <> 1.0-2
- Remove a double entry from .desktopfile

* Sun Jan 17 2010 Thomas Janssen <> 1.0-1
- Update to new source

* Thu Jan 07 2010 Thomas Janssen <> 1.0-1.rc1
- Initial Fedora release