|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
%define base_name systemsettings
|
|
|
|
|
|
|
|
|
|
Name: plasma-%{base_name}
|
|
|
|
|
Version: 5.4.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: KDE's System Settings application
|
|
|
|
|
Name: plasma-%{base_name}
|
|
|
|
|
Summary: KDE System Settings application
|
|
|
|
|
Version: 5.4.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/systemsettings
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/systemsettings
|
|
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
@ -14,13 +14,12 @@ URL: https://projects.kde.org/projects/kde/workspace/systemsettings
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: kf5-kitemviews-devel
|
|
|
|
|
BuildRequires: kf5-kcmutils-devel
|
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
@ -34,8 +33,7 @@ BuildRequires: kf5-kconfig-devel
|
|
|
|
|
BuildRequires: kf5-khtml-devel
|
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
|
BuildRequires: kf5-kdoctools-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
|
@ -57,14 +55,16 @@ developing applications that use %{name}.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{base_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
%find_lang systemsettings5 --with-qt --with-kde --all-name
|
|
|
|
@ -75,11 +75,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/systemsettings.deskto
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -f systemsettings5.lang
|
|
|
|
|
%doc COPYING COPYING.DOC
|
|
|
|
|
%license COPYING
|
|
|
|
|
%license COPYING.DOC
|
|
|
|
|
%{_bindir}/systemsettings5
|
|
|
|
|
%{_libdir}/libsystemsettingsview.so.*
|
|
|
|
|
%{_kf5_qtplugindir}/*.so
|
|
|
|
@ -95,7 +95,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/systemsettings.deskto
|
|
|
|
|
%{_includedir}/systemsettingsview
|
|
|
|
|
%{_libdir}/libsystemsettingsview.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Oct 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
|
|
|
|
|
- .spec cosmetics, use %%license
|
|
|
|
|
|
|
|
|
|
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
|
|
|
|
|
- 5.4.1
|
|
|
|
|
|
|
|
|
|