diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0003.obj | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0003.obj')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20130329/756009f2/attachment-0003.obj | 153 |
1 files changed, 153 insertions, 0 deletions
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 |