Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
k3b
> k3b.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File k3b.spec of Package k3b (Revision 2)
Currently displaying revision
2
,
show latest
# norootforbuild %define optflags ${RPM_OPT_FLAGS} -fno-strict-aliasing -D__STDC_CONSTANT_MACROS Name: k3b BuildRequires: cups-devel libkcddb4-devel ruby-devel sqlite-devel taglib-devel BuildRequires: libkcompactdisc4-devel libkdepimlibs4-devel tse3-devel update-desktop-files BuildRequires: gstreamer010-devel libmtp-devel libnjb-devel libvisual-devel libxine-devel BuildRequires: flac-devel libQtWebKit-devel libdvdread-devel libvorbis-devel BuildRequires: dbus-1-glib-devel libogg-devel libsamplerate-devel libsndfile-devel BuildRequires: libmpcdec-devel libmusicbrainz-devel BuildRequires: libffmpeg-devel libmad-devel libmp3lame-devel BuildRequires: fdupes # only needed to patch broken images in the upstream tarball: BuildRequires: ImageMagick Url: http://k3b.sourceforge.net/ License: GPL v2 or later Group: Productivity/Multimedia/CD/Record Summary: Universal CD and DVD Burning Application Requires: /usr/bin/cdrecord /usr/bin/mkisofs /usr/bin/cdrdao dvd+rw-tools Version: 2.0.1 Release: 1.pm.2.5 Source: http://prdownloads.sourceforge.net/k3b/k3b-%{version}.tar.bz2 Patch1: initial-preference.diff Source99: k3b-rpmlintrc 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 Recommends: %{name}-lang = %{version} %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 License: GPL v2 or later Summary: A Universal CD and DVD Burning Application Group: Development/Libraries/C and C++ 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> %package codecs License: GPL v2 or later Summary: A Universal CD and DVD Burning Application Build Environemnt Group: Productivity/Multimedia/CD/Record Requires: %name = %version %kde4_runtime_requires %description codecs K3b is a CD burning application that supports Ogg Vorbis, MP3 audio files, DVD burning, CDDB, and much more. This package contains its build environment. Authors: -------- Sebastian Trueg <trueg@informatik.uni-freiburg.de> Thomas Froescher <tfroescher@gmx.de> %debug_package %lang_package %prep %setup -q %patch1 for l in ast csb hne; do %__rm -rf "po/$l" %__sed -i "/add_subdirectory( $l )/d" po/CMakeLists.txt done # patch image with wrong dimensions pushd src/icons/actions for f in hi16*.png; do geom=$(identify -ping "$f"|cut -f3 -d" ") x=${geom%x*} y=${geom#*x} if [ "$x" != "16" -o "$y" != "16" ]; then if [ "$x" -gt "$y" ]; then nugeom="${x}x${x}" grav=south elif [ "$x" -lt "$y" ]; then nugeom="${y}x${y}" grav=center else nugeom="" fi [ -n "$nugeom" ] && mogrify -extent "$nugeom" -background transparent -gravity "$grav" "$f" mogrify -scale 16x16 -background transparent "$f" fi done popd #src/icons/actions #echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt #echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt #echo "add_subdirectory( po )" >> CMakeLists.txt #echo "add_subdirectory( doc-translations )" >> CMakeLists.txt #echo "add_subdirectory( doc )" >> CMakeLists.txt %build %cmake_kde4 -d build -- -DK3B_BUILD_K3BSETUP=OFF %make_jobs %install pushd build %makeinstall %__install -D -m0755 lib/k3bmaddecoder.so %buildroot/%_libdir/kde4/k3bmaddecoder.so rm -rf %buildroot/usr/share/locale/sr@ijekavian rm -rf %buildroot/usr/share/locale/sr@ijekavianlatin popd %suse_update_desktop_file -r k3b AudioVideo DiscBurning %kde_post_install %if %suse_version < 1120 # work-around bnc#457908 for i in uk fr de et nl pt es sv; do install -d "$RPM_BUILD_ROOT/usr/share/doc/kde/HTML/$i/common"; done %endif L="%{name}.lang" echo -n >"$L" # kio_videodvd for x in k3b k3bsetup libk3b libk3bdevice kio_videodvd; do %find_lang "$x" "_$x.lang" cat "_$x.lang" >>"$L" done %fdupes -s "%{buildroot}%{_datadir}/doc/kde/HTML/" %fdupes -s "%{buildroot}%{_datadir}/kde4/apps/" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %__rm -rf "%{buildroot}" %files lang -f "%{name}.lang" %files %defattr(-,root,root) %{_bindir}/k3b %{_libdir}/kde4/k3b*.so %exclude %_libdir/kde4/k3bffmpegdecoder.so %exclude %_libdir/kde4/k3bflacdecoder.so %exclude %_libdir/kde4/k3blameencoder.so %exclude %_libdir/kde4/k3bmaddecoder.so /usr/%_lib/kde4/kcm_k3b*.so /usr/%_lib/kde4/kio_videodvd.so /usr/%_lib/libk3blib.so.* /usr/%_lib/libk3bdevice.so.* /usr/share/applications/kde4/k3b.desktop #/usr/share/icons/hicolor/*/apps/k3b.* /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 %exclude %_datadir/kde4/services/k3bffmpegdecoder.desktop %exclude %_datadir/kde4/services/k3bflacdecoder.desktop %exclude %_datadir/kde4/services/k3blameencoder.desktop %exclude %_datadir/kde4/services/k3bmaddecoder.desktop %exclude %_datadir/kde4/services/kcm_k3blameencoder.desktop /usr/share/kde4/services/videodvd.protocol /usr/share/kde4/servicetypes/k3bplugin.desktop /usr/share/sounds/k3b_* /usr/share/mime/packages/x-k3b.xml %dir /usr/share/kde4/apps/solid %dir /usr/share/kde4/apps/solid/actions /usr/share/kde4/apps/solid/actions/k3b_*.desktop %{_datadir}/icons/*/*/apps/k3b.* %if %suse_version < 1120 # work-around bnc#457911 %dir /usr/share/doc/kde/HTML/* %if 0%{?sles_version} != 11 %dir /usr/share/locale/hne %dir /usr/share/locale/hne/LC_MESSAGES %endif %endif %files devel %defattr(-,root,root) /usr/include/k3b* /usr/%_lib/libk3blib.so /usr/%_lib/libk3bdevice.so %files codecs %defattr(-,root,root) %_libdir/kde4/k3bffmpegdecoder.so %_libdir/kde4/k3bflacdecoder.so %_libdir/kde4/k3blameencoder.so %_libdir/kde4/k3bmaddecoder.so %_datadir/kde4/services/k3bffmpegdecoder.desktop %_datadir/kde4/services/k3bflacdecoder.desktop %_datadir/kde4/services/k3blameencoder.desktop %_datadir/kde4/services/k3bmaddecoder.desktop %_datadir/kde4/services/kcm_k3blameencoder.desktop %changelog * Fri Aug 27 2010 pascal@links2linux.de - update to 2.0.1 * Sun Jun 27 2010 andrea@opensuse.org - New upstream version 2.0.0 * Mon May 24 2010 andrea@opensuse.org - update to 1.92.0 rc3 * Wed Apr 28 2010 Manfred.Tremmel@iiv.de - fixed build against latest ffmpeg snapshot by redefining optflags, included -D__STDC_CONSTANT_MACROS * Sun Mar 14 2010 pascal@links2linux.de - update to 1.90.1rc2 (as 1.90.1_rc2, final will be 1.90.1+0) - translations from SVN * Tue Feb 2 2010 andrea@opensuse.org - update to 1.70.0 beta 1 * Wed Dec 2 2009 andrea@opensuse.org - update to 1.69 alpha 4 * Sat Oct 17 2009 beineri@opensuse.org - update to 1.68 Alpha 3: many bugfixes - updated translations from SVN * Sun Oct 4 2009 beineri@opensuse.org - updated translations from SVN * Tue Aug 11 2009 beineri@opensuse.org - update to r1009369, add documentation & translations (bnc#529600) * Thu Jul 30 2009 beineri@opensuse.org - apply trunk diff (r1004480) when building on 11.2 * Thu Jul 23 2009 beineri@opensuse.org - apply trunk diff (r1001450) when building on 11.2 * Wed May 27 2009 beineri@opensuse.org - update to 1.66 Alpha 2: many bugfixes * Sun May 3 2009 cmorve69@yahoo.es - Add support for Musepack/MPC - Disable K3BSetup * Thu Apr 23 2009 beineri@opensuse.org - rename to k3b, update to 1.65.0 Alpha * Sat Mar 21 2009 beineri@opensuse.org - update to 4.2.1.svn942189 * Wed Feb 25 2009 stbinner@suse.de - update to 4.2.0.svn931376 * Wed Feb 18 2009 stbinner@suse.de - update to 4.2.0.svn927728 * Fri Jan 23 2009 stbinner@suse.de - update to 4.1.4.svn915827 * Wed Jan 7 2009 stbinner@suse.de - update to 4.1.4.svn907132 * Tue Dec 16 2008 stbinner@suse.de - update to 4.1.3.svn897517 * Sat Nov 22 2008 stbinner@suse.de - update to 4.1.3.svn887510 * Fri Nov 7 2008 stbinner@suse.de - update to 4.1.3.svn881374 * Sat Sep 13 2008 stbinner@suse.de - update to 4.1.1.svn860449 * Fri Aug 22 2008 stbinner@suse.de - update to 4.1.0.svn851044 * Fri Jul 25 2008 stbinner@suse.de - update to 4.1.0.svn837567 * Wed Jul 16 2008 stbinner@suse.de - update to 4.0.98.svn833153 * Fri Jun 27 2008 dmueller@suse.de - update to 4.0.84.svn825098 * Tue Jun 3 2008 dmueller@suse.de - update to 4.0.81.svn816194 * Thu May 15 2008 dmueller@suse.de - update to 4.0.74.svn808129 * Wed May 7 2008 dmueller@suse.de - update to 4.0.73.svn805196 * Thu Apr 24 2008 dmueller@suse.de - update to 4.0.71.svn800684 * Fri Apr 18 2008 dmueller@suse.de - update to 4.0.69.svn798537 * Wed Apr 2 2008 dmueller@suse.de - update to 4.0.68.svn792936 * Thu Feb 14 2008 dmueller@suse.de - update to 4.0.62.svn775117 * Wed Nov 28 2007 dmueller@suse.de - update to 3.96.0.svn742626 * Thu Nov 1 2007 dmueller@suse.de - update to 3.95.0.svn731749