Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 9eee09e0b1519ca6b2adbf6e85276842 > files > 4

audiokonverter-5.9.1-4.mga3.src.rpm

%define iconname %{name}.png
%define build_tainted	0

%if "%{distro_section}" == "tainted"
%global build_tainted	1
%endif

Name:		audiokonverter
Version:	5.9.1
Release:	%mkrel 4
Summary:	A KDE audio converter service menu for Dolphin
Group:		Sound/Editors and Converters
License:	GPLv2
URL:		http://www.kde-apps.org/content/show.php?content=12608

Source0:	http://www.kde-apps.org/CONTENT/content-files/12608-%{name}-%{version}.tar.bz2

BuildRequires:	kde4-macros

Requires:	dolphin
Requires:	mplayer flac wavpack
Requires:	id3lib id3v2 vorbis-tools

%if %{build_tainted}
Requires:	lame
Requires:	faad2
%endif

BuildArch:	noarch

Patch0:		audiokonverter-nofaac.patch
Patch1:		audiokonverter-free.patch

%description
audiokonverter is a small utility to easily convert from OGG, MP3,
AAC, M4A, FLAC, WMA, RealAudio, Musepack, Wavpack, WAV and movies to
MP3, OGG, M4A, WAV and FLAC in Dolphin and Konqueror by right-clicking
on them.

%if %{build_tainted}
This package is in the tainted section because it contains software that
supports codecs that may be covered by software patents.
%endif

%prep
%setup -q -n %{name}-%{version}

%if %{build_tainted}
%patch0 -p0 -b .audiokonverter-nofaac.patch
%else
%patch1 -p0 -b .audiokonverter-free.patch
%endif

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%_kde_services/ServiceMenus
install -m 644 *4.desktop %{buildroot}%_kde_services/ServiceMenus
mkdir -p %{buildroot}%_kde_appsdir/dolphin/servicemenus
install -m 644 *4.desktop %{buildroot}%_kde_appsdir/dolphin/servicemenus
mkdir -p %{buildroot}%_kde_bindir
install -m 755 anytowav4 audioconvert4 movie2sound4 oggdrop-lx %{buildroot}%_kde_bindir

%files
%doc README Changelog
%_kde_bindir/*
%_kde_services/ServiceMenus/*.desktop
%_kde_appsdir/dolphin/servicemenus/*.desktop



%changelog

* Fri Jan 11 2013 umeabot <umeabot> 5.9.1-4.mga3
+ Revision: 346582
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 07 2013 neoclust <neoclust> 5.9.1-3.mga3.tainted
+ Revision: 341073
- Fix group

* Mon Sep 17 2012 shlomif <shlomif> 5.9.1-2.mga3.tainted
+ Revision: 294951
- Add requires on id3v2. New release of 2.
- Remove trailing whitespace

* Sun Oct 02 2011 wally <wally> 5.9.1-1.mga3.tainted
+ Revision: 150957
- fix requires (require faad2 only in tainted build)

* Sat Oct 01 2011 shlomif <shlomif> 5.9.1-0.mga2.tainted
+ Revision: 150765
- New version 5.9.1 - thanks to barjac

  + obgr_seneca <obgr_seneca>
    - imported package audiokonverter