This commit is contained in:
parent
e3f58bfcb6
commit
f96f4e17ca
@ -17,8 +17,14 @@
|
||||
|
||||
|
||||
Name: ksystemlog
|
||||
BuildRequires: libkde4-devel
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kdelibs4support-devel
|
||||
BuildRequires: oxygen-icon-theme-large
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: xz
|
||||
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
||||
Url: http://www.kde.org
|
||||
Version: 15.12.0
|
||||
Release: 0
|
||||
@ -27,7 +33,6 @@ License: GPL-2.0
|
||||
Group: System/Monitoring
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
|
||||
%description
|
||||
This program is developed for use by beginner users, who do not know
|
||||
@ -41,15 +46,12 @@ want to quickly see problems occurring on their server.
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kf5 -d build
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
cd build
|
||||
%makeinstall
|
||||
cd ..
|
||||
%suse_update_desktop_file ksystemlog System Monitor
|
||||
%kde_post_install
|
||||
%kf5_makeinstall -C build
|
||||
%suse_update_desktop_file org.kde.ksystemlog System Monitor
|
||||
for i in {16,22,32,48,64,128}; do
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps
|
||||
cp /usr/share/icons/oxygen/"$i"x"$i"/apps/utilities-log-viewer.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps/;
|
||||
@ -65,10 +67,12 @@ want to quickly see problems occurring on their server.
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_kde4_bindir}/ksystemlog
|
||||
%{_kde4_applicationsdir}/ksystemlog.desktop
|
||||
%{_kde4_htmldir}/en/ksystemlog/
|
||||
%{_kde4_appsdir}/ksystemlog/
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/utilities-log-viewer.*
|
||||
%{_kf5_bindir}/ksystemlog
|
||||
%{_kf5_applicationsdir}/*.desktop
|
||||
%dir %{_kf5_htmldir}/en
|
||||
%dir %{_kf5_htmldir}
|
||||
%doc %{_kf5_htmldir}/en/*/
|
||||
%{_kf5_sharedir}/kxmlgui5/
|
||||
%{_kf5_iconsdir}/hicolor/*/*/*.png
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user