forked from pool/kdelibs4support
Revert to using _tar_path to fix Factory submission
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kdelibs4support?expand=0&rev=139
This commit is contained in:
parent
4e1fb1b9b1
commit
c44cfb63d5
@ -18,42 +18,39 @@
|
||||
|
||||
%bcond_without lang
|
||||
%define lname libKF5KDELibs4Support5
|
||||
%define _tar_path 5.33
|
||||
Name: kdelibs4support
|
||||
Version: 5.33.0
|
||||
Release: 0
|
||||
# Full KF5 version (e.g. 5.33.0)
|
||||
%{!?_kf5_version: %global _kf5_version %{version}}
|
||||
# Last major and minor KF5 version (e.g. 5.33)
|
||||
%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
||||
%define kf5_version %{version}
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: cmake >= 3.0
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kbookmarks-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kcompletion-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kconfig-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kconfigwidgets-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kcrash-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kdbusaddons-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kded-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kdesignerplugin-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kdoctools-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kbookmarks-devel >= %{_tar_path}
|
||||
BuildRequires: kcompletion-devel >= %{_tar_path}
|
||||
BuildRequires: kconfig-devel >= %{_tar_path}
|
||||
BuildRequires: kconfigwidgets-devel >= %{_tar_path}
|
||||
BuildRequires: kcrash-devel >= %{_tar_path}
|
||||
BuildRequires: kdbusaddons-devel >= %{_tar_path}
|
||||
BuildRequires: kded-devel >= %{_tar_path}
|
||||
BuildRequires: kdesignerplugin-devel >= %{_tar_path}
|
||||
BuildRequires: kdoctools-devel >= %{_tar_path}
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: kglobalaccel-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kguiaddons-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: ki18n-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kiconthemes-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kio-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kitemviews-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: knotifications-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kparts-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kservice-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: ktextwidgets-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kunitconversion-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kwidgetsaddons-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kwindowsystem-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kxmlgui-devel >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kglobalaccel-devel >= %{_tar_path}
|
||||
BuildRequires: kguiaddons-devel >= %{_tar_path}
|
||||
BuildRequires: ki18n-devel >= %{_tar_path}
|
||||
BuildRequires: kiconthemes-devel >= %{_tar_path}
|
||||
BuildRequires: kio-devel >= %{_tar_path}
|
||||
BuildRequires: kitemviews-devel >= %{_tar_path}
|
||||
BuildRequires: knotifications-devel >= %{_tar_path}
|
||||
BuildRequires: kparts-devel >= %{_tar_path}
|
||||
BuildRequires: kservice-devel >= %{_tar_path}
|
||||
BuildRequires: ktextwidgets-devel >= %{_tar_path}
|
||||
BuildRequires: kunitconversion-devel >= %{_tar_path}
|
||||
BuildRequires: kwidgetsaddons-devel >= %{_tar_path}
|
||||
BuildRequires: kwindowsystem-devel >= %{_tar_path}
|
||||
BuildRequires: kxmlgui-devel >= %{_tar_path}
|
||||
BuildRequires: perl-URI
|
||||
BuildRequires: cmake(Qt5Concurrent) >= 5.6.0
|
||||
BuildRequires: cmake(Qt5Core) >= 5.6.0
|
||||
@ -77,7 +74,7 @@ Summary: Code and utilities to ease the transition to KDE Frameworks 5
|
||||
License: LGPL-2.1+
|
||||
Group: System/GUI/KDE
|
||||
Url: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/frameworks/%{_kf5_bugfix_version}/portingAids/%{name}-%{version}.tar.xz
|
||||
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/portingAids/%{name}-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -122,7 +119,7 @@ KDEDIRS environment variable correctly.
|
||||
Summary: Code and utilities to ease the transition to KDE Frameworks 5
|
||||
License: LGPL-2.1+
|
||||
Group: System/GUI/KDE
|
||||
Requires: kded >= %{_kf5_bugfix_version}
|
||||
Requires: kded >= %{_tar_path}
|
||||
|
||||
%description -n %lname
|
||||
This package includes CMake macros and C++
|
||||
@ -149,24 +146,24 @@ Requires: %{name} = %{version}
|
||||
Provides: kde4support-devel = %{version}
|
||||
Obsoletes: kde4support-devel < %{version}
|
||||
Requires: extra-cmake-modules
|
||||
Requires: karchive-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kauth-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kconfigwidgets-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kcoreaddons-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kcrash-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kdbusaddons-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kdesignerplugin-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kdoctools-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kemoticons-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kguiaddons-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kiconthemes-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kinit-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kitemmodels-devel >= %{_kf5_bugfix_version}
|
||||
Requires: knotifications-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kparts-devel >= %{_kf5_bugfix_version}
|
||||
Requires: ktextwidgets-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kunitconversion-devel >= %{_kf5_bugfix_version}
|
||||
Requires: kwindowsystem-devel >= %{_kf5_bugfix_version}
|
||||
Requires: karchive-devel >= %{_tar_path}
|
||||
Requires: kauth-devel >= %{_tar_path}
|
||||
Requires: kconfigwidgets-devel >= %{_tar_path}
|
||||
Requires: kcoreaddons-devel >= %{_tar_path}
|
||||
Requires: kcrash-devel >= %{_tar_path}
|
||||
Requires: kdbusaddons-devel >= %{_tar_path}
|
||||
Requires: kdesignerplugin-devel >= %{_tar_path}
|
||||
Requires: kdoctools-devel >= %{_tar_path}
|
||||
Requires: kemoticons-devel >= %{_tar_path}
|
||||
Requires: kguiaddons-devel >= %{_tar_path}
|
||||
Requires: kiconthemes-devel >= %{_tar_path}
|
||||
Requires: kinit-devel >= %{_tar_path}
|
||||
Requires: kitemmodels-devel >= %{_tar_path}
|
||||
Requires: knotifications-devel >= %{_tar_path}
|
||||
Requires: kparts-devel >= %{_tar_path}
|
||||
Requires: ktextwidgets-devel >= %{_tar_path}
|
||||
Requires: kunitconversion-devel >= %{_tar_path}
|
||||
Requires: kwindowsystem-devel >= %{_tar_path}
|
||||
Requires: cmake(Qt5Core) >= 5.6.0
|
||||
Requires: cmake(Qt5DBus) >= 5.6.0
|
||||
Requires: cmake(Qt5PrintSupport) >= 5.6.0
|
||||
|
Loading…
Reference in New Issue
Block a user