Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
libkipi.16873
libkipi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libkipi.spec of Package libkipi.16873
# # spec file for package libkipi # # Copyright (c) 2020 SUSE LLC # # 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 32_0_0 %define libname libKF5Kipi %define kf5_version 5.60.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}')} %bcond_without lang Name: libkipi Version: 20.04.2 Release: 0 Summary: KDE Image Plugin Interface License: BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT Group: Development/Libraries/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz #PATCH-FIX-OPENSUSE dont-install-pics.diff - Don't install icons since those are included in libkipi11 in SLE12 Patch0: dont-install-pics.diff BuildRequires: extra-cmake-modules >= 1.1.0 BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5Service) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Widgets) Requires: %{libname}%{_so} = %{version} %if %{with lang} Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif %description This package provides a generic KDE Image Plug-in Interface used by some KDE image applications. Plug-ins for this interface are in the kipi-plugins package. %package -n %{libname}%{_so} Summary: KDE Image Plug-In Interface Group: System/Libraries Requires: libkipi-data >= %{version} %if !0%{?is_opensuse} && 0%{?sle_version} < 150000 #kipi icons are provided by libkipi11 Requires: libkipi11 %endif %description -n %{libname}%{_so} This package provides a generic KDE image plug-in interface used by some KDE image applications. Plug-ins for this interface are in the kipi-plugins package. %package data Summary: KDE Image Plug-In Interface - data files Group: System/Libraries Conflicts: %{libname}30_0_0 %description data This package contains data files needed by the KDE image plug-in library. %package devel Summary: KDE Image Plugin Interface Group: Development/Libraries/KDE Requires: %{libname}%{_so} = %{version} Requires: cmake(KF5Config) Requires: cmake(KF5I18n) Requires: cmake(KF5Service) Requires: cmake(KF5XmlGui) Requires: cmake(Qt5Core) Requires: cmake(Qt5Gui) Requires: cmake(Qt5Widgets) Obsoletes: libkipi-kf5-devel < %{version} Provides: libkipi-kf5-devel = %{version} %description devel This package provides a generic KDE Image Plug-in Interface used by some KDE image applications. Plug-ins for this interface are in the kipi-plugins package. %prep %setup -q %if !0%{?is_opensuse} && 0%{?sle_version} < 150000 %patch0 -p1 %endif %build %cmake_kf5 -d build %cmake_build %install %kf5_makeinstall -C build %post -n %{libname}%{_so} -p /sbin/ldconfig %postun -n %{libname}%{_so} -p /sbin/ldconfig %files -n %{libname}%{_so} %{_kf5_libdir}/%{libname}.so.* %files data %if 0%{?is_opensuse} || !0%{?sle_version} < 150000 %{_kf5_iconsdir}/hicolor/*/apps/kipi.png %endif %{_kf5_servicetypesdir}/kipiplugin.desktop %files devel %license COPYING %doc README %{_kf5_cmakedir}/KF5Kipi/ %{_kf5_includedir}/KIPI/ %{_kf5_includedir}/libkipi_version.h %{_kf5_libdir}/%{libname}.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