File transmageddon.spec of Package transmageddon

#
# spec file for package transmageddon
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# 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/
#



Name:           transmageddon
Version:        0.16
Release:        3
License:        LGPLv2+
Summary:        A Video Transcoder
Group:          Productivity/Multimedia/Video/Editors and Convertors
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  python
BuildRequires:  update-desktop-files
Requires:       gstreamer-0_10-plugins-base
Requires:       python-gobject2
Requires:       python-gstreamer-0_10
Requires:       python-gtk
Requires:       python-xml
Recommends:     gstreamer-0_10-plugins-bad
Recommends:     gstreamer-0_10-plugins-good
Recommends:     %{name}-lang
BuildArch:      noarch
%py_requires

%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 not hugely
experienced with multimedia to generate a multimedia file without
having to resort to command line tools with ungainly syntaxes.

%lang_package
%prep
%setup -q

%build
%configure
%__make %{?_smp_mflags}
%suse_update_desktop_file %{name} AudioVideoEditing

%install
%makeinstall
%fdupes %{buildroot}%{_datadir}
%find_lang %{name} %{?no_lang_C}

%if 0%{?suse_version} > 1130

%post
%desktop_database_post
%endif

%if 0%{?suse_version} > 1130

%postun
%desktop_database_postun
%endif

%files
%defattr(-, root, root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/gstreamer-0.10/
%{_datadir}/%{name}/
%{_datadir}/pixmaps/%{name}.svg
%{_mandir}/man1/%{name}*

%files lang -f %{name}.lang

%changelog