Name: transmageddon Version: 0.16 Release: 2%{dist} Summary: A video transcoder built using GStreamer Group: Applications/Multimedia License: GPLv2+ URL: http://www.linuxrising.org/transmageddon/ Source0: http://www.linuxrising.org/transmageddon/files/%{name}-%{version}.tar.bz2 BuildRequires: intltool desktop-file-utils pygtk2 gstreamer-python Requires: gstreamer gettext pygtk2 gstreamer-python BuildArch: noarch Patch0: desktop_entry.patch %description Transmageddon is a video transcoder for Linux and Unix systems built using GStreamer. It supports almost any format as its input and can generate a very large host of output files. The goal of the application was to help people to create the files they need to be able to play on their mobile devices and for people to generate a multimedia file without having to resort to command line tools. %prep %setup -q # This patch fixes the ENCODING issue and has been mailed to upstream maintainer, bug id: https://bugzilla.gnome.org/show_bug.cgi?id=626626 %patch0 -p1 -b .desktop_entry %build %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} #mkdir -p %{buildroot}/%{_bindir} #mkdir -p %{buildroot}/%{_datadir} #mkdir -p %{buildroot}/%{_datadir}/applications #mkdir -p %{buildroot}/%{_datadir}/pixmaps #mkdir -p %{buildroot}/%{_datadir}/gstreamer-0.10 #mkdir -p %{buildroot}/%{_datadir}/gstreamer-0.10/presets #mkdir -p %{buildroot}/%{_datadir}/%{name} #mkdir -p %{buildroot}/%{_datadir}/%{name}/profiles #mkdir -p %{buildroot}/%{_mandir}/man1 %find_lang %{name} desktop-file-validate %{buildroot}/%{_datadir}/applications/transmageddon.desktop desktop-file-install \ --dir=%{buildroot}/%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/transmageddon.desktop sed -i -e '/^#!\//, 1d' %{buildroot}/%{_datadir}/%{name}/which.py %files -f %{name}.lang %defattr(-,root,root,-) %doc README COPYING AUTHORS ChangeLog NEWS TODO %doc %{_mandir}/man1/transmageddon.1.gz %{_bindir}/transmageddon %{_datadir}/applications/transmageddon*.desktop %{_datadir}/pixmaps/transmageddon.svg %{_datadir}/%{name}/ %{_datadir}/gstreamer-0.*/presets/GstFaac.prs %{_datadir}/gstreamer-0.*/presets/GstLameMP3Enc.prs %{_datadir}/gstreamer-0.*/presets/GstTheoraEnc.prs %{_datadir}/gstreamer-0.*/presets/GstVorbisEnc.prs %{_datadir}/gstreamer-0.*/presets/GstXvidEnc.prs %{_datadir}/gstreamer-0.*/presets/ffenc_ac3.prs %{_datadir}/gstreamer-0.*/presets/ffenc_flv.prs %{_datadir}/gstreamer-0.*/presets/ffenc_h263p.prs %{_datadir}/gstreamer-0.*/presets/ffenc_mpeg4.prs %changelog * Wed Aug 11 2010 Runa Bhattacharjee - 0.16-2 - Fixed desktop file ENCODING issue * Thu Jun 17 2010 Runa Bhattacharjee - 0.16-1 - Initial version of the package