|
|
|
@ -1,48 +1,46 @@
|
|
|
|
|
%global framework kparts
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.47.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 3 solution for KParts
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 3 solution for KParts
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kio-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kjobwidgets-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-knotifications-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kservice-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-ktextwidgets-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kxmlgui-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kiconthemes-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kio-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kjobwidgets-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-knotifications-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kservice-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-ktextwidgets-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kwidgetsaddons-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-kxmlgui-devel >= %{majmin}
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
KDE Frameworks 5 Tier 3 solution for KParts
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: kf5-kio-devel >= %{version}
|
|
|
|
|
Requires: kf5-ktextwidgets-devel >= %{version}
|
|
|
|
|
Requires: kf5-kxmlgui-devel >= %{version}
|
|
|
|
|
Requires: kf5-kio-devel >= %{majmin}
|
|
|
|
|
Requires: kf5-ktextwidgets-devel >= %{majmin}
|
|
|
|
|
Requires: kf5-kxmlgui-devel >= %{majmin}
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
@ -58,17 +56,16 @@ pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name --with-html --with-qt
|
|
|
|
|
%find_lang %{name} --all-name --with-html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%doc README.md AUTHORS
|
|
|
|
@ -89,6 +86,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 08 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-2
|
|
|
|
|
- cleanup, use %%majmin %%make_build %%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
|
|
|
|
|
- 5.47.0
|
|
|
|
|
|
|
|
|
|