Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
libkexiv2
libkexiv2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkexiv2.spec of Package libkexiv2
# # spec file for package libkexiv2 # # Copyright (c) 2018 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 https://bugs.opensuse.org/ # %define _so 15_0_0 %define lname libKF5KExiv2 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Name: libkexiv2 Version: 18.12.3 Release: 0 Summary: Library to manipulate picture meta data License: GPL-2.0-or-later Group: Development/Libraries/KDE URL: http://www.kde.org Source0: %{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM D17799-Fix_building_against_exiv2-0.27.diff -- Fix building against Exiv2 0.27 Patch0: D17799-Fix_building_against_exiv2-0.27.diff # PATCH-FIX-SUSE fix-reduce-required-exiv2-to-0.23.diff -- Reduce required exiv2 version from 0.24 to 0.23 for SLE12 Patch1: fix-reduce-required-exiv2-to-0.23.diff BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) Requires: %{name}-%{_so} = %{version} %if 0%{?suse_version} != 1315 || 0%{?is_opensuse} BuildRequires: pkgconfig(exiv2) >= 0.24 %else BuildRequires: pkgconfig(exiv2) >= 0.23 %endif %description Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %package -n %{lname}-%{_so} Summary: Library to manipulate picture meta data Group: System/Libraries %description -n %{lname}-%{_so} Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %package devel Summary: Build environment for libkexiv2, a library to manipulate picture meta data Group: Development/Libraries/KDE Requires: %{lname}-%{_so} = %{version} Obsoletes: libkexiv2-kf5-devel < %{version} Provides: libkexiv2-kf5-devel = %{version} %description devel Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %prep %setup -q %patch0 -p1 %if 0%{?suse_version} == 1315 && !0%{?is_opensuse} %patch1 -p1 %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %post -n %{lname}-%{_so} -p /sbin/ldconfig %postun -n %{lname}-%{_so} -p /sbin/ldconfig %files -n %{lname}-%{_so} %license COPYING* %doc README %{_kf5_libdir}/libKF5KExiv2.so.* %files devel %license COPYING* %{_kf5_cmakedir}/KF5KExiv2/ %{_kf5_includedir}/ %{_kf5_libdir}/libKF5KExiv2.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor