2015-01-03 19:05:21 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package kpackage
|
|
|
|
|
#
|
2021-01-09 12:18:54 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-01-03 19:05:21 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-10-16 12:26:08 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-01-03 19:05:21 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2017-09-13 13:01:16 +00:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
2018-07-17 08:58:07 +00:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2024-01-15 14:10:23 +00:00
|
|
|
%define qt5_version 5.15.2
|
2022-01-09 10:15:06 +00:00
|
|
|
%bcond_without released
|
2015-01-03 19:05:21 +00:00
|
|
|
Name: kpackage
|
2024-05-19 09:35:39 +00:00
|
|
|
Version: 5.116.0
|
2015-01-03 19:05:21 +00:00
|
|
|
Release: 0
|
2018-12-17 06:22:13 +00:00
|
|
|
Summary: Non-binary asset user-installable package managing framework
|
2020-07-11 10:30:54 +00:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
2018-10-16 12:26:08 +00:00
|
|
|
URL: https://www.kde.org
|
2021-11-12 12:20:58 +00:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-01-09 10:15:06 +00:00
|
|
|
%if %{with released}
|
2021-11-12 12:20:58 +00:00
|
|
|
Source1: %{name}-%{version}.tar.xz.sig
|
2019-08-11 21:07:31 +00:00
|
|
|
Source2: frameworks.keyring
|
|
|
|
|
%endif
|
2024-01-15 14:10:23 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
2015-01-03 19:05:21 +00:00
|
|
|
BuildRequires: fdupes
|
2024-01-15 14:10:23 +00:00
|
|
|
BuildRequires: cmake(KF5Archive) >= %{_kf5_version}
|
|
|
|
|
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version}
|
|
|
|
|
BuildRequires: cmake(KF5DocTools) >= %{_kf5_version}
|
|
|
|
|
BuildRequires: cmake(KF5I18n) >= %{_kf5_version}
|
|
|
|
|
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
|
|
|
|
|
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
|
|
|
|
|
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
|
2015-01-03 19:05:21 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This framework lets applications to manage user installable packages of non-binary assets.
|
|
|
|
|
|
|
|
|
|
%package devel
|
2018-12-17 06:22:13 +00:00
|
|
|
Summary: Non-binary asset user-installable package managing framework
|
2015-01-03 19:05:21 +00:00
|
|
|
Requires: %{name} = %{version}
|
2024-01-15 14:10:23 +00:00
|
|
|
Requires: cmake(KF5CoreAddons) >= %{_kf5_version}
|
2015-01-03 19:05:21 +00:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This framework lets applications to manage user installable packages of non-binary assets.
|
|
|
|
|
Development files.
|
|
|
|
|
|
2015-01-03 19:28:47 +00:00
|
|
|
%lang_package
|
2018-08-20 12:58:46 +00:00
|
|
|
|
2015-01-03 19:05:21 +00:00
|
|
|
%prep
|
2021-05-09 07:42:01 +00:00
|
|
|
%autosetup -p1
|
2015-01-03 19:05:21 +00:00
|
|
|
|
|
|
|
|
%build
|
2021-05-09 07:42:01 +00:00
|
|
|
%cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir}
|
|
|
|
|
%cmake_build
|
2015-01-03 19:05:21 +00:00
|
|
|
|
|
|
|
|
%install
|
2021-05-09 07:42:01 +00:00
|
|
|
%kf5_makeinstall -C build
|
2015-01-03 19:05:21 +00:00
|
|
|
|
2017-05-15 18:19:53 +00:00
|
|
|
%find_lang %{name} --with-man --all-name
|
2015-01-03 19:28:47 +00:00
|
|
|
|
2023-02-12 09:53:06 +00:00
|
|
|
%ldconfig_scriptlets
|
2015-01-03 19:05:21 +00:00
|
|
|
|
2017-05-15 18:19:53 +00:00
|
|
|
%files lang -f %{name}.lang
|
2015-01-03 19:28:47 +00:00
|
|
|
|
2015-01-03 19:05:21 +00:00
|
|
|
%files
|
2020-07-11 10:30:54 +00:00
|
|
|
%license LICENSES/*
|
2018-08-20 12:58:46 +00:00
|
|
|
%doc README*
|
2020-07-11 10:30:54 +00:00
|
|
|
%dir %{_kf5_servicetypesdir}
|
|
|
|
|
%doc %lang(en) %{_kf5_mandir}/*/kpackagetool*
|
2015-01-03 19:05:21 +00:00
|
|
|
%{_kf5_bindir}/kpackagetool*
|
2020-07-11 10:30:54 +00:00
|
|
|
%{_kf5_debugdir}/*.categories
|
2020-08-09 07:39:48 +00:00
|
|
|
%{_kf5_debugdir}/*.renamecategories
|
2015-01-03 19:05:21 +00:00
|
|
|
%{_kf5_libdir}/libKF5Package.so.*
|
2017-01-09 10:10:45 +00:00
|
|
|
%{_kf5_servicetypesdir}/kpackage-generic.desktop
|
2017-07-12 09:40:21 +00:00
|
|
|
%{_kf5_servicetypesdir}/kpackage-genericqml.desktop
|
2020-07-11 10:30:54 +00:00
|
|
|
%{_kf5_servicetypesdir}/kpackage-packagestructure.desktop
|
2015-01-03 19:05:21 +00:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_kf5_includedir}/
|
2020-07-11 10:30:54 +00:00
|
|
|
%{_kf5_libdir}/cmake/KF5Package/
|
|
|
|
|
%{_kf5_libdir}/libKF5Package.so
|
2015-01-03 19:05:21 +00:00
|
|
|
|
|
|
|
|
%changelog
|