diff options
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130329/756009f2')
8 files changed, 458 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0001.html new file mode 100644 index 000000000..bf845febb --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0001.html @@ -0,0 +1,12 @@ +<div dir="ltr"><div><div>Hi. I have managed to build kmediafactory with additional fedora patches. <br><br></div>Corrects desktop file validation: kmediafactory-0.8.1-fdr-desktop_validate.patch<br></div>Fixes build ffmeg libraries in CMake.lst (and eliminates compiling error: kmediafactory-0.8.1-fdr-FindFFmpeg.patch<br> +</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/29 Johnny A. Solbu <span dir="ltr"><<a href="mailto:cooker@solbu.net" target="_blank">cooker@solbu.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +kmediafactory and redmine doesn't build, and I can't figure out how to fix it.<br> +Can someone take a look at them?<br> +<br> +oar have a missing dependency, ruby-dbi.<br> +ruby-dbi is in svn but not on mirrors. It is is it simply forgotten to submit? It builds fine on iurt.<br> +<span class="HOEnZb"><font color="#888888"><br> +--<br> +Johnny A. Solbu<br> +PGP key ID: 0xFA687324<br> +</font></span></blockquote></div><br></div> diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0001.obj b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0001.obj new file mode 100644 index 000000000..a7d915407 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0001.obj @@ -0,0 +1,9 @@ +diff -up kmediafactory-0.8.1/src/kmediafactory.desktop.desktop_validate kmediafactory-0.8.1/src/kmediafactory.desktop +--- kmediafactory-0.8.1/src/kmediafactory.desktop.desktop_validate 2011-08-01 02:47:08.000000000 -0500 ++++ kmediafactory-0.8.1/src/kmediafactory.desktop 2012-11-26 08:38:01.039007506 -0600 +@@ -11,4 +11,4 @@ GenericName[fi]=DVD:n kokoaminen + Terminal=false + MimeType=application/x-kmediafactory; + X-KDE-NativeMimeType=application/x-kmediafactory; +-Categories=KDE;AudioVideo;AudioVideoEditing ++Categories=KDE;AudioVideo;AudioVideoEditing;
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0002.obj b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0002.obj new file mode 100644 index 000000000..1d3e6ef22 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0002.obj @@ -0,0 +1,55 @@ +diff -up kmediafactory-0.8.1/CMakeLists.txt.FindFFmpeg kmediafactory-0.8.1/CMakeLists.txt +--- kmediafactory-0.8.1/CMakeLists.txt.FindFFmpeg 2012-11-26 08:23:48.502384898 -0600 ++++ kmediafactory-0.8.1/CMakeLists.txt 2012-11-26 08:23:48.514384761 -0600 +@@ -53,8 +53,12 @@ macro_log_feature(DVDAUTHOR_EXECUTABLE " + find_program(MPEG2ENC_EXECUTABLE mpeg2enc) + macro_log_feature(MPEG2ENC_EXECUTABLE "mpeg2enc" "For making mpeg files" "http://mjpeg.sourceforge.net/" FALSE "" "NOTE: Is required runtime") + +-find_package(Ffmpeg REQUIRED) +-macro_log_feature(FFMPEG_SWSCALE_FOUND "ffmpeg libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++find_package(FFmpeg REQUIRED) ++macro_log_feature(FFMPEG_FOUND "ffmpeg libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(AVCODEC_FOUND "ffmpeg avcodec libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(AVFORMAT_FOUND "ffmpeg avformat libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(AVUTIL_FOUND "ffmpeg avutil libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(SWSCALE_FOUND "ffmpeg swscale libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") + + # Optional packages + find_package(LibDvdread) +diff -up kmediafactory-0.8.1/lib/CMakeLists.txt.FindFFmpeg kmediafactory-0.8.1/lib/CMakeLists.txt +--- kmediafactory-0.8.1/lib/CMakeLists.txt.FindFFmpeg 2011-08-01 02:47:08.000000000 -0500 ++++ kmediafactory-0.8.1/lib/CMakeLists.txt 2012-11-26 08:27:03.391015691 -0600 +@@ -1,6 +1,20 @@ + add_subdirectory(pics) + +-include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${FFMPEG_INCLUDE_DIR}) ++include_directories( ++ ${CMAKE_CURRENT_SOURCE_DIR} ++ ${AVCODEC_INCLUDE_DIRS} ++ ${AVFORMAT_INCLUDE_DIRS} ++ ${AVUTIL_INCLUDE_DIRS} ++ ${SWSCALE_INCLUDE_DIRS} ++) ++ ++add_definitions( ++ ${AVCODEC_DEFINITIONS} ++ ${AVFORMAT_DEFINITIONS} ++ ${AVUTIL_DEFINITIONS} ++ ${SWSCALE_DEFINITIONS} ++) ++ + if(LIBDVDREAD_FOUND) + include_directories(${LIBDVDREAD_INCLUDE_DIR}) + endif(LIBDVDREAD_FOUND) +@@ -35,7 +49,10 @@ set(kmf_HEADERS + ) + + kde4_add_library(kmf SHARED ${kmf_LIB_SRCS}) +-target_link_libraries(kmf ${KDE4_KIO_LIBS} ${QT_QTXML_LIBRARY} ${KDE4_KUTILS_LIBS} ${XINE_LIBRARY} ${FONTCONFIG_LIBRARIES} ${FFMPEG_LIBRARIES}) ++target_link_libraries(kmf ++ ${KDE4_KIO_LIBS} ${QT_QTXML_LIBRARY} ${KDE4_KUTILS_LIBS} ${XINE_LIBRARY} ${FONTCONFIG_LIBRARIES} ++ ${AVCODEC_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVUTIL_LIBRARIES} ${SWSCALE_LIBRARIES} ++) + if(LIBDVDREAD_FOUND) + target_link_libraries(kmf ${LIBDVDREAD_LIBRARY}) + endif(LIBDVDREAD_FOUND)
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0003.obj b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0003.obj new file mode 100644 index 000000000..52299e45a --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0003.obj @@ -0,0 +1,153 @@ +%define develname %mklibname %name -d + +Name: kmediafactory +Version: 0.8.1 +Release: %mkrel 3 +URL: http://code.google.com/p/kmediafactory/ +Source0: http://kmediafactory.googlecode.com/files/%{name}-%{version}.tar.bz2 +Patch0: kmediafactory-0.8.1-ffmpeg0.11.patch +Patch1: kmediafactory-0.8.1-gcc47.patch +Patch2: kmediafactory-0.8.1-link.patch +Patch3: kmediafactory-0.8.1-fdr-desktop_validate.patch +Patch4: kmediafactory-0.8.1-fdr-FindFFmpeg.patch +License: GPLv2+ +Group: Publishing +Summary: DVD menu generator +BuildRequires: kdelibs4-devel +BuildRequires: fontconfig-devel +BuildRequires: phonon-devel +BuildRequires: gettext +BuildRequires: zip +BuildRequires: dvdauthor +BuildRequires: ffmpeg +BuildRequires: mjpegtools +BuildRequires: libdvdread-devel +BuildRequires: ffmpeg-devel +BuildRequires: dvd-slideshow +BuildRequires: k3b +BuildRequires: xine-ui +BuildRequires: ghostscript +BuildRequires: pkgconfig(libkexiv2) +BuildRequires: docbook-dtd42-xml +BuildRequires: docbook-style-xsl +Requires: zip +Requires: dvdauthor +Requires: ffmpeg +Requires: mjpegtools +Requires: dvd-slideshow +Requires: k3b +Requires: xine-ui +Obsoletes: kde4-%name < 0.6.0-4 +Provides: kde4-%name = %version-%release + +%description +KMediaFactory is an easy to use template based dvd authoring tool. +You can quickly create DVD menus for home videos and TV recordings +in three simple steps. + +%files -f %{name}.lang +%{_kde_bindir}/* +%{_kde_datadir}/applications/kde4/*.desktop +%{_kde_datadir}/config/* +%{_kde_datadir}/config.kcfg/* +%{_kde_datadir}/apps/kmediafactory* +%{_kde_datadir}/apps/kmfwidgets +%{_kde_datadir}/icons/*/*/*/* +%{_kde_datadir}/kde4/services/* +%{_kde_datadir}/kde4/servicetypes/* +%{_kde_datadir}/mime/packages/kmediafactory.xml +%{_kde_libdir}/kde4/* + +#-------------------------------------------------------------------- + +%define kmediafactorykstore_major 0 +%define libkmediafactorykstore %mklibname kmediafactorykstore %{kmediafactorykstore_major} + +%package -n %libkmediafactorykstore +Summary: %name library +Group: System/Libraries +Obsoletes: %{mklibname kde4-kmediafactory 0} + +%description -n %libkmediafactorykstore +%name library. + +%files -n %libkmediafactorykstore +%_kde_libdir/libkmediafactorykstore.so.%{kmediafactorykstore_major}* + +#-------------------------------------------------------------------- + +%define kmf_major 0 +%define libkmf %mklibname kmf %{kmf_major} + +%package -n %libkmf +Summary: %name library +Group: System/Libraries +Obsoletes: %{mklibname kde4-kmediafactory 0} + +%description -n %libkmf +%name library. + +%files -n %libkmf +%_kde_libdir/libkmf.so.%{kmf_major}* + +#-------------------------------------------------------------------- + +%define kmediafactoryinterfaces_major 0 +%define libkmediafactoryinterfaces %mklibname kmediafactoryinterfaces %{kmediafactoryinterfaces_major} + +%package -n %libkmediafactoryinterfaces +Summary: %name library +Group: System/Libraries +Obsoletes: %{mklibname kde4-kmediafactory 0} + +%description -n %libkmediafactoryinterfaces +%name library. + +%files -n %libkmediafactoryinterfaces +%_kde_libdir/libkmediafactoryinterfaces.so.%{kmediafactoryinterfaces_major}* + +#-------------------------------------------------------------------- + +%package -n %{develname} +Summary: Development headers and libraries for %{name} +Group: Development/C++ +Requires: %{libkmediafactoryinterfaces} = %{version} +Requires: %{libkmf} = %{version} +Requires: %{libkmediafactorykstore} = %{version} +Provides: lib%{name}-devel = %{version}-%{release} +Provides: %{name}-devel = %{version}-%{release} +Obsoletes: %mklibname -d %name 0 +Obsoletes: %mklibname kde4-kmediafactory -d + +%description -n %{develname} +Development libraries and headers for %{name}. + +%files -n %{develname} +%{_kde_includedir}/%{name} +%{_kde_libdir}/lib*.so + +#-------------------------------------------------------------------- + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p0 -b .ffmpeg +%patch1 -p0 -b .gcc +%patch2 -p0 -b .link +%patch3 -p1 +%patch4 -p1 + +%build +%cmake_kde4 +%make + +%install +%makeinstall_std -C build + +desktop-file-install --vendor='' \ + --dir=%buildroot%{_kde_datadir}/applications/kde4 \ + --remove-key='Encoding' \ + --remove-category='Application' \ + --add-category='Qt;AudioVideoEditing' \ + %buildroot%{_kde_datadir}/applications/kde4/*.desktop + +%find_lang %{name} --all-name --with-html
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0004.obj b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0004.obj new file mode 100644 index 000000000..a7d915407 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0004.obj @@ -0,0 +1,9 @@ +diff -up kmediafactory-0.8.1/src/kmediafactory.desktop.desktop_validate kmediafactory-0.8.1/src/kmediafactory.desktop +--- kmediafactory-0.8.1/src/kmediafactory.desktop.desktop_validate 2011-08-01 02:47:08.000000000 -0500 ++++ kmediafactory-0.8.1/src/kmediafactory.desktop 2012-11-26 08:38:01.039007506 -0600 +@@ -11,4 +11,4 @@ GenericName[fi]=DVD:n kokoaminen + Terminal=false + MimeType=application/x-kmediafactory; + X-KDE-NativeMimeType=application/x-kmediafactory; +-Categories=KDE;AudioVideo;AudioVideoEditing ++Categories=KDE;AudioVideo;AudioVideoEditing;
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0005.obj b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0005.obj new file mode 100644 index 000000000..1d3e6ef22 --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0005.obj @@ -0,0 +1,55 @@ +diff -up kmediafactory-0.8.1/CMakeLists.txt.FindFFmpeg kmediafactory-0.8.1/CMakeLists.txt +--- kmediafactory-0.8.1/CMakeLists.txt.FindFFmpeg 2012-11-26 08:23:48.502384898 -0600 ++++ kmediafactory-0.8.1/CMakeLists.txt 2012-11-26 08:23:48.514384761 -0600 +@@ -53,8 +53,12 @@ macro_log_feature(DVDAUTHOR_EXECUTABLE " + find_program(MPEG2ENC_EXECUTABLE mpeg2enc) + macro_log_feature(MPEG2ENC_EXECUTABLE "mpeg2enc" "For making mpeg files" "http://mjpeg.sourceforge.net/" FALSE "" "NOTE: Is required runtime") + +-find_package(Ffmpeg REQUIRED) +-macro_log_feature(FFMPEG_SWSCALE_FOUND "ffmpeg libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++find_package(FFmpeg REQUIRED) ++macro_log_feature(FFMPEG_FOUND "ffmpeg libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(AVCODEC_FOUND "ffmpeg avcodec libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(AVFORMAT_FOUND "ffmpeg avformat libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(AVUTIL_FOUND "ffmpeg avutil libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") ++macro_log_feature(SWSCALE_FOUND "ffmpeg swscale libraries" "Parsing of mpeg files" "www.ffmpeg.org/" FALSE "" "") + + # Optional packages + find_package(LibDvdread) +diff -up kmediafactory-0.8.1/lib/CMakeLists.txt.FindFFmpeg kmediafactory-0.8.1/lib/CMakeLists.txt +--- kmediafactory-0.8.1/lib/CMakeLists.txt.FindFFmpeg 2011-08-01 02:47:08.000000000 -0500 ++++ kmediafactory-0.8.1/lib/CMakeLists.txt 2012-11-26 08:27:03.391015691 -0600 +@@ -1,6 +1,20 @@ + add_subdirectory(pics) + +-include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${FFMPEG_INCLUDE_DIR}) ++include_directories( ++ ${CMAKE_CURRENT_SOURCE_DIR} ++ ${AVCODEC_INCLUDE_DIRS} ++ ${AVFORMAT_INCLUDE_DIRS} ++ ${AVUTIL_INCLUDE_DIRS} ++ ${SWSCALE_INCLUDE_DIRS} ++) ++ ++add_definitions( ++ ${AVCODEC_DEFINITIONS} ++ ${AVFORMAT_DEFINITIONS} ++ ${AVUTIL_DEFINITIONS} ++ ${SWSCALE_DEFINITIONS} ++) ++ + if(LIBDVDREAD_FOUND) + include_directories(${LIBDVDREAD_INCLUDE_DIR}) + endif(LIBDVDREAD_FOUND) +@@ -35,7 +49,10 @@ set(kmf_HEADERS + ) + + kde4_add_library(kmf SHARED ${kmf_LIB_SRCS}) +-target_link_libraries(kmf ${KDE4_KIO_LIBS} ${QT_QTXML_LIBRARY} ${KDE4_KUTILS_LIBS} ${XINE_LIBRARY} ${FONTCONFIG_LIBRARIES} ${FFMPEG_LIBRARIES}) ++target_link_libraries(kmf ++ ${KDE4_KIO_LIBS} ${QT_QTXML_LIBRARY} ${KDE4_KUTILS_LIBS} ${XINE_LIBRARY} ${FONTCONFIG_LIBRARIES} ++ ${AVCODEC_LIBRARIES} ${AVFORMAT_LIBRARIES} ${AVUTIL_LIBRARIES} ${SWSCALE_LIBRARIES} ++) + if(LIBDVDREAD_FOUND) + target_link_libraries(kmf ${LIBDVDREAD_LIBRARY}) + endif(LIBDVDREAD_FOUND)
\ No newline at end of file diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment.html b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment.html new file mode 100644 index 000000000..bf845febb --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment.html @@ -0,0 +1,12 @@ +<div dir="ltr"><div><div>Hi. I have managed to build kmediafactory with additional fedora patches. <br><br></div>Corrects desktop file validation: kmediafactory-0.8.1-fdr-desktop_validate.patch<br></div>Fixes build ffmeg libraries in CMake.lst (and eliminates compiling error: kmediafactory-0.8.1-fdr-FindFFmpeg.patch<br> +</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/29 Johnny A. Solbu <span dir="ltr"><<a href="mailto:cooker@solbu.net" target="_blank">cooker@solbu.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +kmediafactory and redmine doesn't build, and I can't figure out how to fix it.<br> +Can someone take a look at them?<br> +<br> +oar have a missing dependency, ruby-dbi.<br> +ruby-dbi is in svn but not on mirrors. It is is it simply forgotten to submit? It builds fine on iurt.<br> +<span class="HOEnZb"><font color="#888888"><br> +--<br> +Johnny A. Solbu<br> +PGP key ID: 0xFA687324<br> +</font></span></blockquote></div><br></div> diff --git a/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment.obj b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment.obj new file mode 100644 index 000000000..52299e45a --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment.obj @@ -0,0 +1,153 @@ +%define develname %mklibname %name -d + +Name: kmediafactory +Version: 0.8.1 +Release: %mkrel 3 +URL: http://code.google.com/p/kmediafactory/ +Source0: http://kmediafactory.googlecode.com/files/%{name}-%{version}.tar.bz2 +Patch0: kmediafactory-0.8.1-ffmpeg0.11.patch +Patch1: kmediafactory-0.8.1-gcc47.patch +Patch2: kmediafactory-0.8.1-link.patch +Patch3: kmediafactory-0.8.1-fdr-desktop_validate.patch +Patch4: kmediafactory-0.8.1-fdr-FindFFmpeg.patch +License: GPLv2+ +Group: Publishing +Summary: DVD menu generator +BuildRequires: kdelibs4-devel +BuildRequires: fontconfig-devel +BuildRequires: phonon-devel +BuildRequires: gettext +BuildRequires: zip +BuildRequires: dvdauthor +BuildRequires: ffmpeg +BuildRequires: mjpegtools +BuildRequires: libdvdread-devel +BuildRequires: ffmpeg-devel +BuildRequires: dvd-slideshow +BuildRequires: k3b +BuildRequires: xine-ui +BuildRequires: ghostscript +BuildRequires: pkgconfig(libkexiv2) +BuildRequires: docbook-dtd42-xml +BuildRequires: docbook-style-xsl +Requires: zip +Requires: dvdauthor +Requires: ffmpeg +Requires: mjpegtools +Requires: dvd-slideshow +Requires: k3b +Requires: xine-ui +Obsoletes: kde4-%name < 0.6.0-4 +Provides: kde4-%name = %version-%release + +%description +KMediaFactory is an easy to use template based dvd authoring tool. +You can quickly create DVD menus for home videos and TV recordings +in three simple steps. + +%files -f %{name}.lang +%{_kde_bindir}/* +%{_kde_datadir}/applications/kde4/*.desktop +%{_kde_datadir}/config/* +%{_kde_datadir}/config.kcfg/* +%{_kde_datadir}/apps/kmediafactory* +%{_kde_datadir}/apps/kmfwidgets +%{_kde_datadir}/icons/*/*/*/* +%{_kde_datadir}/kde4/services/* +%{_kde_datadir}/kde4/servicetypes/* +%{_kde_datadir}/mime/packages/kmediafactory.xml +%{_kde_libdir}/kde4/* + +#-------------------------------------------------------------------- + +%define kmediafactorykstore_major 0 +%define libkmediafactorykstore %mklibname kmediafactorykstore %{kmediafactorykstore_major} + +%package -n %libkmediafactorykstore +Summary: %name library +Group: System/Libraries +Obsoletes: %{mklibname kde4-kmediafactory 0} + +%description -n %libkmediafactorykstore +%name library. + +%files -n %libkmediafactorykstore +%_kde_libdir/libkmediafactorykstore.so.%{kmediafactorykstore_major}* + +#-------------------------------------------------------------------- + +%define kmf_major 0 +%define libkmf %mklibname kmf %{kmf_major} + +%package -n %libkmf +Summary: %name library +Group: System/Libraries +Obsoletes: %{mklibname kde4-kmediafactory 0} + +%description -n %libkmf +%name library. + +%files -n %libkmf +%_kde_libdir/libkmf.so.%{kmf_major}* + +#-------------------------------------------------------------------- + +%define kmediafactoryinterfaces_major 0 +%define libkmediafactoryinterfaces %mklibname kmediafactoryinterfaces %{kmediafactoryinterfaces_major} + +%package -n %libkmediafactoryinterfaces +Summary: %name library +Group: System/Libraries +Obsoletes: %{mklibname kde4-kmediafactory 0} + +%description -n %libkmediafactoryinterfaces +%name library. + +%files -n %libkmediafactoryinterfaces +%_kde_libdir/libkmediafactoryinterfaces.so.%{kmediafactoryinterfaces_major}* + +#-------------------------------------------------------------------- + +%package -n %{develname} +Summary: Development headers and libraries for %{name} +Group: Development/C++ +Requires: %{libkmediafactoryinterfaces} = %{version} +Requires: %{libkmf} = %{version} +Requires: %{libkmediafactorykstore} = %{version} +Provides: lib%{name}-devel = %{version}-%{release} +Provides: %{name}-devel = %{version}-%{release} +Obsoletes: %mklibname -d %name 0 +Obsoletes: %mklibname kde4-kmediafactory -d + +%description -n %{develname} +Development libraries and headers for %{name}. + +%files -n %{develname} +%{_kde_includedir}/%{name} +%{_kde_libdir}/lib*.so + +#-------------------------------------------------------------------- + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p0 -b .ffmpeg +%patch1 -p0 -b .gcc +%patch2 -p0 -b .link +%patch3 -p1 +%patch4 -p1 + +%build +%cmake_kde4 +%make + +%install +%makeinstall_std -C build + +desktop-file-install --vendor='' \ + --dir=%buildroot%{_kde_datadir}/applications/kde4 \ + --remove-key='Encoding' \ + --remove-category='Application' \ + --add-category='Qt;AudioVideoEditing' \ + %buildroot%{_kde_datadir}/applications/kde4/*.desktop + +%find_lang %{name} --all-name --with-html
\ No newline at end of file |