forked from pool/kipi-plugins
a0b929ec97
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kipi-plugins?expand=0&rev=100
106 lines
3.3 KiB
RPMSpec
106 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package kipi-plugins
|
|
#
|
|
# Copyright (c) 2024 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/
|
|
#
|
|
|
|
|
|
%bcond_without released
|
|
Name: kipi-plugins
|
|
Version: 24.02.2
|
|
Release: 0
|
|
Summary: KDE Plug-Ins for Image Manipulation
|
|
License: GPL-2.0-or-later
|
|
URL: https://www.kde.org/
|
|
Source: %{name}-%{version}.tar.xz
|
|
%if %{with released}
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
|
Source2: applications.keyring
|
|
%endif
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: kf5-filesystem
|
|
BuildRequires: libmediawiki-devel
|
|
BuildRequires: cmake(KF5Archive)
|
|
BuildRequires: cmake(KF5Config)
|
|
BuildRequires: cmake(KF5I18n)
|
|
BuildRequires: cmake(KF5KIO)
|
|
BuildRequires: cmake(KF5Kipi)
|
|
BuildRequires: cmake(KF5WindowSystem)
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
BuildRequires: cmake(Qt5Core)
|
|
BuildRequires: cmake(Qt5Gui)
|
|
BuildRequires: cmake(Qt5Network)
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
BuildRequires: cmake(Qt5Svg)
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
BuildRequires: cmake(Qt5Xml)
|
|
BuildRequires: cmake(Qt5XmlPatterns)
|
|
Obsoletes: kipi-plugins-acquireimage < %{version}
|
|
Obsoletes: kipi-plugins-geolocation < %{version}
|
|
Obsoletes: kipi-plugins5 < %{version}
|
|
Provides: kipi-plugins5 = %{version}
|
|
Obsoletes: kipi-plugin-icons < %{version}
|
|
Provides: kipi-plugin-icons = %{version}
|
|
|
|
%description
|
|
A set of plug-ins for the KDE KIPI interface, used by some KDE imaging
|
|
applications.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
# Remove build time references so build-compare can do its work
|
|
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
|
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/g" common/libkipiplugins/tools/kpversion.h.cmake.in
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
%cmake_build VERBOSE=1
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
# Not needed, the package doesn't actually provide any shared libraries
|
|
rm -f %{buildroot}%{_kf5_libdir}/libKF5kipiplugins.so
|
|
|
|
%find_lang kipiplugins %{name}.lang
|
|
|
|
for i in dropbox facebook flickr googleservices imageshack imgur jalbum kmlexport mediawiki piwigo printimages rajce remotestorage sendimages smug yandexfotki
|
|
do
|
|
%find_lang kipiplugin_$i %{name}.lang
|
|
done
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%license COPYING*
|
|
%doc AUTHORS ChangeLog NEWS README TODO
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24
|
|
%dir %{_kf5_iconsdir}/hicolor/24x24/apps
|
|
%{_kf5_applicationsdir}/kipiplugins.desktop
|
|
%{_kf5_appstreamdir}/org.kde.kipi_plugins.metainfo.xml
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kipi-*.*
|
|
%{_kf5_kxmlguidir}/kipi/
|
|
%{_kf5_libdir}/libKF5kipiplugins.so*
|
|
%{_kf5_plugindir}/kipiplugin_*.so
|
|
%{_kf5_servicesdir}/kipiplugin_*.desktop
|
|
%{_kf5_sharedir}/kipiplugin_*/
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|