2014-02-07 22:43:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package kimageformats
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kimageformats
|
2014-11-02 19:04:40 +01:00
|
|
|
Version: 5.4.0
|
2014-02-07 22:43:10 +01:00
|
|
|
Release: 0
|
|
|
|
BuildRequires: cmake >= 2.8.12
|
2014-11-02 19:04:40 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.4.0
|
2014-02-07 22:43:10 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: openexr
|
|
|
|
BuildRequires: openexr-devel
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
2014-08-07 23:49:31 +02:00
|
|
|
%requires_ge libQt5Gui5
|
|
|
|
%requires_ge libQt5PrintSupport5
|
2014-05-18 01:14:03 +02:00
|
|
|
Recommends: libqt5-qtimageformats >= 5.2.0
|
2014-02-11 03:39:31 +01:00
|
|
|
Summary: Image format plugins for Qt
|
2014-02-07 22:43:10 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2014-11-02 19:04:40 +01:00
|
|
|
Source: http://download.kde.org/stable/frameworks/5.4/%{name}-%{version}.tar.xz
|
2014-06-03 23:36:50 +02:00
|
|
|
Source1: baselibs.conf
|
2014-02-07 22:43:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2014-02-11 03:39:31 +01:00
|
|
|
This framework provides additional image format plugins for QtGui. As
|
|
|
|
such it is not required for the compilation of any other software, but
|
|
|
|
may be a runtime requirement for Qt-based software to support certain
|
|
|
|
image formats.
|
2014-02-07 22:43:10 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
|
|
|
%post -n kimageformats -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n kimageformats -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
2014-08-07 23:49:31 +02:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_servicesdir}/
|
2014-02-07 22:43:10 +01:00
|
|
|
|
|
|
|
%changelog
|