File qt-recordMyDesktop.spec of Package qt-recordMyDesktop

# spec file for package qt-recordmydesktop
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

Name:     qt-recordmydesktop
Version:  0.3.8
Release:  0.1
Summary:  QT4 Frontend for Desktop Recorder
Source:   %{name}-%{version}.tar.gz
Group:     Productivity/Multimedia/Video/Editors and Convertors
License:   GPL
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires:	libqt4 >= 4.2 libqt4-devel >= 4.2 automake >= 1.5
BuildRequires:  python >= 2.4 python-devel >= 2.4 python-qt4 >= 4.1
BuildRequires:	update-desktop-files
BuildRequires:  fdupes
Requires:  jack
Provides:  recordmydesktop-qt = %{version}
Requires:  recordmydesktop >= %{version}
Requires:  python-qt4 >= 4.1
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch:     noarch

recordMyDesktop is a program that captures audio and video data from a Linux
desktop session, producing an Ogg-encapsulated Theora-Vorbis file. The main
goal is to be as unobstrusive as possible by proccessing only regions of the
screen that have changed.

%setup -q -n "qt-recordmydesktop-%{version}"

%configure --prefix=%{_prefix}/
%__make %{?jobs:-j%{jobs}}


%suse_update_desktop_file -r qt-recordmydesktop AudioVideo AudioVideoEditing
# Unfortunately, we cannot use %%{name} here due to different capitalization:
%{find_lang} qt-recordMyDesktop
%fdupes %buildroot

%files -f qt-recordMyDesktop.lang
%dir %{python_sitelib}/qt_recordMyDesktop

openSUSE Build Service is sponsored by