format spec
This commit is contained in:
parent
522c759b3f
commit
8ef197eeb1
@ -1,11 +1,11 @@
|
|||||||
%global framework frameworkintegration
|
%global framework frameworkintegration
|
||||||
|
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Version: 5.55.0
|
Version: 5.55.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins
|
Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://cgit.kde.org/%{framework}.git
|
URL: https://cgit.kde.org/%{framework}.git
|
||||||
|
|
||||||
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
||||||
%global revision %(echo %{version} | cut -d. -f3)
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
@ -19,28 +19,11 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{fra
|
|||||||
# filter plugin provides
|
# filter plugin provides
|
||||||
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
||||||
|
|
||||||
BuildRequires: extra-cmake-modules >= %{version}
|
BuildRequires: extra-cmake-modules >= %{version} kf5-kconfig-devel >= %{version} kf5-kconfigwidgets-devel >= %{version} kf5-ki18n-devel >= %{version} kf5-kiconthemes-devel >= %{version} kf5-kio-devel >= %{version} kf5-knewstuff-devel >= %{version} kf5-knotifications-devel >= %{version} kf5-kpackage-devel >= %{version} kf5-kwidgetsaddons-devel >= %{version} kf5-rpm-macros >= %{version} libXcursor-devel qt5-qtbase-devel qt5-qtx11extras-devel qt5-qtbase-private-devel
|
||||||
BuildRequires: kf5-kconfig-devel >= %{version}
|
|
||||||
BuildRequires: kf5-kconfigwidgets-devel >= %{version}
|
|
||||||
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
||||||
BuildRequires: kf5-kiconthemes-devel >= %{version}
|
|
||||||
BuildRequires: kf5-kio-devel >= %{version}
|
|
||||||
BuildRequires: kf5-knewstuff-devel >= %{version}
|
|
||||||
BuildRequires: kf5-knotifications-devel >= %{version}
|
|
||||||
BuildRequires: kf5-kpackage-devel >= %{version}
|
|
||||||
BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
|
|
||||||
BuildRequires: kf5-rpm-macros >= %{version}
|
|
||||||
|
|
||||||
BuildRequires: libXcursor-devel
|
|
||||||
BuildRequires: qt5-qtbase-devel
|
|
||||||
BuildRequires: qt5-qtx11extras-devel
|
|
||||||
|
|
||||||
# prior to 5.11.0-3, main pkg was multilib'd (due to arch'd -devel deps) -- rex
|
# prior to 5.11.0-3, main pkg was multilib'd (due to arch'd -devel deps) -- rex
|
||||||
Obsoletes: %{name} < 5.11.0-3
|
Obsoletes: %{name} < 5.11.0-3
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
## consider removing for f28+, since Qt5 tracks via versioned symbols now -- rex
|
## consider removing for f28+, since Qt5 tracks via versioned symbols now -- rex
|
||||||
BuildRequires: qt5-qtbase-private-devel
|
|
||||||
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -57,10 +40,7 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release} kf5-kiconthemes-devel >= %{version} kf5-kconfigwidgets-devel >= %{version}
|
||||||
Requires: kf5-kiconthemes-devel >= %{version}
|
|
||||||
Requires: kf5-kconfigwidgets-devel >= %{version}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
@ -111,3 +91,4 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
||||||
- Initial release for OpenEuler
|
- Initial release for OpenEuler
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user