2015-04-11 14:09:25 +00:00
|
|
|
#
|
|
|
|
# spec file for package ffmpegthumbs
|
|
|
|
#
|
2016-02-13 11:31:50 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-04-11 14:09:25 +00:00
|
|
|
#
|
|
|
|
# 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: ffmpegthumbs
|
2016-12-03 16:01:54 +00:00
|
|
|
Version: 16.11.90
|
2016-12-03 14:27:49 +00:00
|
|
|
Release: 0
|
|
|
|
%define kf5_version 5.26.0
|
2016-12-03 16:01:54 +00:00
|
|
|
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.90 in KUA)
|
2016-12-03 14:27:49 +00:00
|
|
|
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
|
|
|
Summary: FFmpeg-based thumbnail creator for video files
|
|
|
|
License: LGPL-2.0+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
|
|
|
Source0: http://download.kde.org/stable/%{version}/src/%{name}-%{version}.tar.xz
|
2015-08-30 18:59:32 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: kio-devel
|
2016-12-03 14:27:49 +00:00
|
|
|
BuildRequires: pkgconfig
|
2015-04-11 14:09:25 +00:00
|
|
|
BuildRequires: xz
|
2015-08-30 18:59:32 +00:00
|
|
|
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
|
2016-05-07 07:20:01 +00:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
2016-06-28 09:32:16 +00:00
|
|
|
BuildRequires: pkgconfig(libavfilter)
|
2016-05-07 07:20:01 +00:00
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
|
|
|
BuildRequires: pkgconfig(libswscale)
|
2015-04-11 14:09:25 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
FFmpeg-based thumbnail creator for video files.
|
|
|
|
|
|
|
|
%prep
|
2016-12-03 14:27:49 +00:00
|
|
|
%setup -q
|
2015-04-11 14:09:25 +00:00
|
|
|
|
|
|
|
%build
|
2015-08-30 18:59:32 +00:00
|
|
|
%cmake_kf5 -d build
|
2015-04-11 14:09:25 +00:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2015-08-30 18:59:32 +00:00
|
|
|
%kf5_makeinstall -C build
|
2015-04-11 14:09:25 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
2015-08-30 18:59:32 +00:00
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_plugindir}/
|
2015-04-11 14:09:25 +00:00
|
|
|
|
|
|
|
%changelog
|