|
|
|
@ -7,12 +7,14 @@ Summary: KDE Frameworks 5 Tier 3 addon with extra API to write KConfigMod
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://www.kde.org
|
|
|
|
|
# git archive --format=tar --prefix=%{framework}-%{version}/ \
|
|
|
|
|
# --remote=git://anongit.kde.org/%{framework}.git master | \
|
|
|
|
|
# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
|
#Source0: %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
|
Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
%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/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
@ -32,7 +34,6 @@ Requires: kf5-filesystem
|
|
|
|
|
KCMUtils provides various classes to work with KCModules. KCModules can be
|
|
|
|
|
created with the KConfigWidgets framework.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
@ -48,6 +49,7 @@ Requires: kf5-kxmlgui-devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
@ -63,11 +65,10 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%make_install -C %{_target_platform}
|
|
|
|
|
%find_lang kcmutils5_qt --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f kcmutils5_qt.lang
|
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
|
%{_kf5_libdir}/libKF5KCMUtils.so.*
|
|
|
|
@ -80,6 +81,7 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%{_kf5_libdir}/cmake/KF5KCMUtils
|
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KCMUtils.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 03 2014 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
|
|
|
- KDE Frameworks 5.4.0
|
|
|
|
|