k3b-extras/k3b-extras-0.11.spec

Name: k3b-extras
Summary: Additional codec plugins for the k3b CD/DVD burning application
Version: 0.11.14
Release: 3
License: GPL
Group: Applications/Multimedia
URL: http://www.k3b.org/
Description: Additional decoder/encoder plugins for k3b, a feature-rich and easy to handle CD/DVD burning application.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

# ExclusiveDist: el4


%{?el4:%define _without_modxorg 1}

%{?el3:%define _without_kde32 1}
%{?el3:%define _without_modxorg 1}


Summary: Additional codec plugins for the k3b CD/DVD burning application
Name: k3b-extras
Version: 0.11.14
Release: 3%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://www.k3b.org/

Source: http://dl.sf.net/k3b/k3b-%{version}.tar.bz2
Patch0: k3b-0.11.23-statfs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

ExcludeArch: s390 s390x
BuildRequires: arts-devel
BuildRequires: ffmpeg-devel
BuildRequires: gettext
BuildRequires: k3b
BuildRequires: kdelibs-devel >= 6:3.1
BuildRequires: lame-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libjpeg-devel
BuildRequires: libmad-devel
BuildRequires: libmpcdec-devel
BuildRequires: libmusicbrainz-devel
BuildRequires: libpng-devel
BuildRequires: libsndfile-devel
BuildRequires: taglib-devel
BuildRequires: zlib-devel
%{!?_without_kde32:BuildRequires: libmng-devel fam-devel glib2-devel alsa-lib-devel esound-devel}
%{!?_without_modxorg:BuildRequires: libX11-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}

Requires: k3b = %{version}

Obsoletes: k3b-mp3 <= %{version}-%{release}
Provides: k3b-mp3 = %{version}-%{release}
Obsoletes: k3b-extras-nonfree <= %{version}-%{release}
Provides: k3b-extras-nonfree = %{version}-%{release}

%description
Additional decoder/encoder plugins for k3b, a feature-rich and easy to
handle CD/DVD burning application.

%prep
%setup -n k3b-%{version}
%patch0 -p1 -b .statfs

%build
source /etc/profile.d/qt.sh
%configure \
    --disable-rpath \
    --without-flac \
    --without-oggvorbis \
    --with-external-libsamplerate="no" \
    --with-k3bsetup="no" \
    --with-musepack \
    --with-qt-libraries="$QTDIR/lib" \
    --with-sndfile

%{__ln_s} -f %{_libdir}/libk3bdevice.la src/device/libk3bdevice.la
%{__ln_s} -f %{_libdir}/libk3bcore.la src/core/libk3bcore.la
%{__ln_s} -f %{_libdir}/libk3bplugin.la src/plugin/libk3bplugin.la

%{__make} -C src/audiodecoding/mp3 %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} -C src/audiodecoding/mp3 install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%dir %{_libdir}/kde3/
%{_libdir}/kde3/libk3bmaddecoder.*
%dir %{_datadir}/apps/
%dir %{_datadir}/apps/k3b/
%dir %{_datadir}/apps/k3b/plugins/
%{_datadir}/apps/k3b/plugins/k3bmaddecoder.plugin

%changelog
* Mon Dec 17 2007 Dag Wieers <dag@wieers.com> - 0.11.14-3
- Rebuild against libmpcdec 1.2.6.

* Fri Mar 30 2007 Dag Wieers <dag@wieers.com> - 0.11.14-2
- Renamed k3b-mp3 to k3b-extras.

* Sun Mar 05 2006 Dag Wieers <dag@wieers.com> - 0.11.14-1
- Imported based on Livna SPEC file.
- Initial package. (using DAR)