Name: bangarang Version: 1.0.1 Release: 2%{?dist} Summary: Media player with nepomuk support Group: Applications/Multimedia License: GPLv3+ URL: http://bangarangkde.wordpress.com/ Source0: http://www.kde-apps.org/CONTENT/content-files/113305-%{name}-%{version}.tar.gz 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} } %description * 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. %prep %setup -q -n bangarang-bangarang %patch10 -p0 %patch20 -p0 %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast -C %{_target_platform} DESTDIR=%{buildroot} %find_lang %{name} --with-kde %clean rm -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun 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 fi %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : update-desktop-database -q &> /dev/null update-mime-database %{_kde4_datadir}/mime &> /dev/null %check desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING README HACKING TESTING %{_kde4_bindir}/bangarang* %{_kde4_datadir}/applications/kde4/%{name}.desktop %{_kde4_iconsdir}/hicolor/*/*/*.png %{_kde4_appsdir}/solid/actions/%{name}* %changelog * Wed Nov 17 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.1-2 - removed sed lines, fix mimetype (sed is bad, patch is good) #654366 * Sat May 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.1-1 - bugfix release 1.0.1 * Mon Feb 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-2 - Remove a double entry from .desktopfile * Sun Jan 17 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-1 - Update to new source * Thu Jan 07 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-1.rc1 - Initial Fedora release