2009-04-30 17:39:08 +02:00
|
|
|
#
|
2010-08-23 16:02:03 +02:00
|
|
|
# spec file for package k3b (Version 2.0.1)
|
2009-04-30 17:39:08 +02:00
|
|
|
#
|
2010-02-25 02:21:56 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-04-30 17:39:08 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-05-28 05:05:52 +02:00
|
|
|
%bcond_with ffmpeg
|
|
|
|
%bcond_with mad
|
|
|
|
%bcond_with lame
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
Name: k3b
|
|
|
|
BuildRequires: cups-devel libkcddb4-devel ruby-devel sqlite-devel taglib-devel
|
|
|
|
BuildRequires: libkcompactdisc4-devel libkdepimlibs4-devel tse3-devel update-desktop-files
|
2010-08-14 00:05:00 +02:00
|
|
|
BuildRequires: gstreamer010-devel libmtp-devel libvisual-devel xine-devel
|
2009-04-30 17:39:08 +02:00
|
|
|
BuildRequires: flac-devel libQtWebKit-devel libdvdread-devel libvorbis-devel
|
|
|
|
BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel
|
2009-05-28 05:05:52 +02:00
|
|
|
BuildRequires: libmpcdec-devel libmusicbrainz-devel
|
|
|
|
%if %{with ffmpeg}
|
|
|
|
BuildRequires: libffmpeg-devel
|
|
|
|
%endif
|
|
|
|
%if %{with mad}
|
|
|
|
BuildRequires: libmad-devel
|
|
|
|
%endif
|
|
|
|
%if %{with lame}
|
|
|
|
BuildRequires: libmp3lame-devel
|
2009-04-30 17:39:08 +02:00
|
|
|
%endif
|
|
|
|
Url: http://k3b.sourceforge.net/
|
2009-12-02 13:03:33 +01:00
|
|
|
License: GPLv2+
|
2009-04-30 17:39:08 +02:00
|
|
|
Group: Productivity/Multimedia/CD/Record
|
|
|
|
Summary: A Universal CD and DVD Burning Application
|
|
|
|
Requires: /usr/bin/cdrecord /usr/bin/mkisofs /usr/bin/cdrdao dvd+rw-tools
|
2010-06-21 18:55:04 +02:00
|
|
|
Requires: hal
|
2010-08-23 16:02:03 +02:00
|
|
|
Version: 2.0.1
|
|
|
|
Release: 1
|
2009-10-21 00:48:31 +02:00
|
|
|
%define rversion %version
|
2009-04-30 17:39:08 +02:00
|
|
|
# svn.kde.org/home/kde/trunk/extragear/multimedia/k3b
|
2010-07-19 20:59:30 +02:00
|
|
|
Source0: k3b-%{version}.tar.bz2
|
2010-06-21 18:55:04 +02:00
|
|
|
Patch1: initial-preference.diff
|
2009-04-30 17:39:08 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
|
|
|
Provides: kde4-k3b = 4.2.1.svn942189
|
|
|
|
Provides: kde4-k3b = 4.2.2.svn951754
|
|
|
|
Obsoletes: kde4-k3b <= 4.2.2.svn951754
|
2009-08-11 17:40:19 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
|
|
|
|
files, DVD burning, CDDB, and much more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sebastian Trueg <trueg@informatik.uni-freiburg.de>
|
|
|
|
Thomas Froescher <tfroescher@gmx.de>
|
|
|
|
|
|
|
|
%package devel
|
2009-12-02 13:03:33 +01:00
|
|
|
License: GPLv2+
|
2009-04-30 17:39:08 +02:00
|
|
|
Summary: A Universal CD and DVD Burning Application
|
|
|
|
Group: Productivity/Multimedia/CD/Record
|
|
|
|
Requires: %name = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
K3b is a CD burning application that supports Ogg Vorbis, MP3 audio
|
|
|
|
files, DVD burning, CDDB, and much more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Sebastian Trueg <trueg@informatik.uni-freiburg.de>
|
|
|
|
Thomas Froescher <tfroescher@gmx.de>
|
|
|
|
|
2009-08-11 17:40:19 +02:00
|
|
|
%lang_package
|
2009-04-30 17:39:08 +02:00
|
|
|
%prep
|
2010-07-19 20:59:30 +02:00
|
|
|
%setup -q -n k3b-%{version}
|
2010-06-21 18:55:04 +02:00
|
|
|
%patch1
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%build
|
2010-03-12 01:50:56 +01:00
|
|
|
%cmake_kde4 -d build
|
2009-04-30 17:39:08 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2009-08-11 17:40:19 +02:00
|
|
|
pushd build
|
2009-04-30 17:39:08 +02:00
|
|
|
%makeinstall
|
2009-08-11 17:40:19 +02:00
|
|
|
popd
|
2009-04-30 17:39:08 +02:00
|
|
|
%suse_update_desktop_file k3b DiscBurning
|
|
|
|
%kde_post_install
|
2010-06-21 18:55:04 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@ijekavian
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@ijekavianlatin
|
2009-08-11 17:40:19 +02:00
|
|
|
%find_lang k3b k3b.lang
|
|
|
|
%find_lang k3bsetup k3b.lang
|
|
|
|
%find_lang libk3b k3b.lang
|
|
|
|
%find_lang libk3bdevice k3b.lang
|
2010-08-23 16:02:03 +02:00
|
|
|
%find_lang kio_videodvd k3b.lang
|
2010-02-25 02:21:56 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/scalable/apps
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-08-11 17:40:19 +02:00
|
|
|
%files lang -f k3b.lang
|
|
|
|
|
2009-04-30 17:39:08 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/k3b
|
2010-03-12 01:50:56 +01:00
|
|
|
/usr/bin/k3bsetup
|
2009-04-30 17:39:08 +02:00
|
|
|
/usr/%_lib/kde4/k3b*.so
|
|
|
|
/usr/%_lib/kde4/kcm_k3b*.so
|
|
|
|
/usr/%_lib/kde4/kio_videodvd.so
|
2010-02-25 02:21:56 +01:00
|
|
|
/usr/%_lib/libk3blib.so.*
|
2009-04-30 17:39:08 +02:00
|
|
|
/usr/%_lib/libk3bdevice.so.*
|
2010-03-12 01:50:56 +01:00
|
|
|
/usr/%_lib/kde4/libexec/k3bsetuphelper
|
2009-04-30 17:39:08 +02:00
|
|
|
/usr/share/applications/kde4/k3b.desktop
|
|
|
|
/usr/share/kde4/apps/k3b
|
|
|
|
/usr/share/kde4/apps/konqsidebartng/virtual_folders/services/videodvd.desktop
|
|
|
|
/usr/share/kde4/services/ServiceMenus/k3b_*
|
|
|
|
/usr/share/kde4/services/k3b*.desktop
|
|
|
|
/usr/share/kde4/services/kcm_k3b*.desktop
|
|
|
|
/usr/share/kde4/services/videodvd.protocol
|
|
|
|
/usr/share/kde4/servicetypes/k3bplugin.desktop
|
|
|
|
/usr/share/sounds/k3b_*
|
2010-03-12 01:50:56 +01:00
|
|
|
%if %suse_version < 1120
|
|
|
|
/usr/share/PolicyKit/policy/org.kde.kcontrol.k3bsetup.policy
|
|
|
|
%else
|
|
|
|
/usr/share/polkit-1/actions/org.kde.kcontrol.k3bsetup.policy
|
|
|
|
%endif
|
2009-04-30 17:39:08 +02:00
|
|
|
%dir /usr/share/kde4/apps/solid
|
|
|
|
%dir /usr/share/kde4/apps/solid/actions
|
|
|
|
/usr/share/kde4/apps/solid/actions/k3b_*.desktop
|
2009-12-02 13:03:33 +01:00
|
|
|
/usr/share/mime/packages/x-k3b.xml
|
2010-08-23 16:02:03 +02:00
|
|
|
/usr/share/icons/hicolor/*/apps/k3b.*
|
2009-08-11 17:40:19 +02:00
|
|
|
%if %suse_version < 1120
|
|
|
|
%dir /usr/share/locale/hne
|
|
|
|
%dir /usr/share/locale/hne/LC_MESSAGES
|
|
|
|
%endif
|
2010-03-17 14:24:14 +01:00
|
|
|
/etc/dbus-1/system.d/org.kde.kcontrol.k3bsetup.conf
|
|
|
|
/usr/share/dbus-1/system-services/org.kde.kcontrol.k3bsetup.service
|
2009-04-30 17:39:08 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/k3b*
|
2010-02-25 02:21:56 +01:00
|
|
|
/usr/%_lib/libk3blib.so
|
2009-04-30 17:39:08 +02:00
|
|
|
/usr/%_lib/libk3bdevice.so
|
|
|
|
|
|
|
|
%changelog
|