File cutterff.spec of Package cutterff

# spec file for package cutterff
# Copyright (c) 2019 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:           cutterff
Summary:        Video cutter that uses FFmpeg and GTK+
Version:        0.8
Release:        0
Source0:        %{name}-%{version}-src.tar.bz2
Source1:        %{name}.desktop
License:        GPL-3.0
Group:          Productivity/Multimedia/Video/Editors and Convertors
Recommends:     %{name}-lang = %{version}-%{release}
BuildRequires:  desktop-file-utils
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libavcodec)
BuildRequires:  pkgconfig(libavformat)
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(libswscale)

CutterFF is a program for cutting videos using FFmpeg and GTK+.
It does not decode/encode the streams, it only copies them.

 - Selecting which streams written to the output
 - Selecting the format and bitstream filters
 - Choose a program if video contains more than one
 - Set cutpoints everywhere in the video
 - Many formats and codecs supported by FFmpeg
 - Log window for displaying FFmpeg messages


%setup -q -n %{name}-%{version}

export CPPFLAGS="%{optflags}"
make %{?_smp_mflags}

install -D -m644 %{name}.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm
install -D -m644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop

%find_lang %{name}

%if 0%{?suse_version} < 1500


%license COPYING
%doc README ChangeLog

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by