Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
libkexiv2
libkexiv2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkexiv2.spec of Package libkexiv2
# # spec file for package libkexiv2 # # Copyright (c) 2017 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 http://bugs.opensuse.org/ # %define _so 15_0_0 %define lname libKF5KExiv2 Name: libkexiv2 Version: 17.12.3 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Library to manipulate picture meta data License: GPL-2.0+ Group: Development/Libraries/KDE Url: http://www.kde.org Source0: %{name}-%{version}.tar.xz # PATCH-FIX-SUSE fix-reduce-required-exiv2-to-0.23.diff -- Reduce required exiv2 version from 0.24 to 0.23 for SLE12 Patch0: fix-reduce-required-exiv2-to-0.23.diff BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) %if 0%{?suse_version} != 1315 || 0%{?is_opensuse} BuildRequires: pkgconfig(exiv2) >= 0.24 %else BuildRequires: pkgconfig(exiv2) >= 0.23 %endif Requires: %{name}-%{_so} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %prep %setup -q %if 0%{?suse_version} == 1315 && !0%{?is_opensuse} %patch0 -p1 %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %package -n %{lname}-%{_so} Summary: Library to manipulate picture meta data Group: Development/Libraries/KDE %description -n %{lname}-%{_so} Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures metadata. %post -n %{lname}-%{_so} -p /sbin/ldconfig %postun -n %{lname}-%{_so} -p /sbin/ldconfig %files -n %{lname}-%{_so} %defattr(-,root,root) %{_kf5_libdir}/libKF5KExiv2.so.* %package devel Summary: 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. %files devel %defattr(-,root,root) %doc COPYING README %{_kf5_libdir}/libKF5KExiv2.so %{_kf5_includedir}/ %{_kf5_libdir}/cmake/KF5KExiv2/ %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