2014-05-18 01:33:40 +02:00
|
|
|
#
|
|
|
|
# spec file for package kfilemetadata5
|
|
|
|
#
|
|
|
|
# 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: kfilemetadata5
|
2014-09-26 00:33:46 +02:00
|
|
|
Version: 5.0.95
|
2014-05-18 01:33:40 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Extract Metadata
|
|
|
|
License: GPL-2.0+ and LGPL-2.1+ and LGPL-3.0
|
2014-05-18 01:42:03 +02:00
|
|
|
Group: Development/Libraries/KDE
|
2014-05-18 01:40:59 +02:00
|
|
|
Url: http://www.kde.org/
|
2014-07-11 16:40:18 +02:00
|
|
|
Source: kfilemetadata-%{version}.tar.xz
|
2014-09-11 18:01:33 +02:00
|
|
|
Source1: baselibs.conf
|
2014-07-03 19:55:50 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.0.0
|
2014-07-11 16:40:18 +02:00
|
|
|
BuildRequires: karchive-devel >= 5.0.0
|
2014-05-18 01:33:40 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2014-07-11 16:40:18 +02:00
|
|
|
BuildRequires: ki18n-devel >= 5.0.0
|
2014-05-18 01:33:40 +02:00
|
|
|
BuildRequires: libepub-devel
|
|
|
|
BuildRequires: libexiv2-devel >= 0.21
|
|
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
|
2014-07-03 19:55:50 +02:00
|
|
|
%if 0%{?suse_version} > 1310
|
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
|
|
|
%endif
|
2014-05-18 01:33:40 +02:00
|
|
|
BuildRequires: taglib-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2014-07-03 19:55:50 +02:00
|
|
|
A library for extracting file metadata.
|
2014-05-18 01:33:40 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for kfilemetadata
|
2014-05-18 01:42:03 +02:00
|
|
|
Group: Development/Libraries/KDE
|
2014-05-18 01:33:40 +02:00
|
|
|
Requires: %{name} = %{version}
|
2014-07-03 19:55:50 +02:00
|
|
|
Requires: extra-cmake-modules >= 1.0.0
|
2014-05-18 01:33:40 +02:00
|
|
|
Requires: pkgconfig(Qt5Core) >= 5.2.0
|
|
|
|
|
|
|
|
%description devel
|
2014-07-03 19:55:50 +02:00
|
|
|
A library for extracting file metadata. Development files
|
2014-05-18 01:33:40 +02:00
|
|
|
|
|
|
|
%prep
|
2014-06-05 17:56:48 +02:00
|
|
|
%setup -q -n kfilemetadata-%{version}
|
2014-05-18 01:33:40 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2014-05-18 01:37:34 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-05-18 01:33:40 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
|
|
|
%{_kf5_plugindir}/
|
2014-07-03 19:55:50 +02:00
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so.*
|
2014-05-18 01:33:40 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING*
|
2014-07-03 19:55:50 +02:00
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so
|
|
|
|
%{_kf5_includedir}/KFileMetaData/
|
|
|
|
%{_kf5_libdir}/cmake/KF5FileMetaData/
|
2014-05-18 01:33:40 +02:00
|
|
|
|
|
|
|
%changelog
|