File qt-recordmydesktop.spec of Package qt-recordmydesktop

# spec file for package qt-recordmydesktop
# Copyright (c) 2015 SUSE LINUX 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
Summary:        QT4 Frontend for Desktop Recorder
License:        GPL-3.0 and LGPL-3.0
Group:          Productivity/Multimedia/Video/Editors and Convertors
BuildRequires:  automake >= 1.5
BuildRequires:  fdupes
BuildRequires:  libqt4 >= 4.2
BuildRequires:  libqt4-devel >= 4.2
BuildRequires:  python >= 2.4
BuildRequires:  python-devel >= 2.4
BuildRequires:  python-qt4 >= 4.1
BuildRequires:  update-desktop-files
Requires:       jack
Requires:       python-qt4 >= 4.1
Requires:       recordmydesktop >= %{version}
Provides:       recordmydesktop-qt = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %{?suse_version: 0%{?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

%configure --prefix=%{_prefix}/
make %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}

%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