OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kde-dev-utils?expand=0&rev=28
153 lines
4.3 KiB
RPMSpec
153 lines
4.3 KiB
RPMSpec
#
|
|
# spec file for package kde-dev-utils
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: kde-dev-utils
|
|
BuildRequires: libkde4-devel
|
|
Summary: KDE SDK Package
|
|
License: GPL-2.0 and GFDL-1.2 and LGPL-2.0
|
|
Group: System/GUI/KDE
|
|
Url: http://www.kde.org/
|
|
Version: 16.04.2
|
|
Release: 0
|
|
Source0: %{name}-%{version}.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%kde4_runtime_requires
|
|
|
|
%description
|
|
This package suggests the packages, built from the kde-dev-utils module.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
%ifarch ppc64
|
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
|
|
%endif
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
%cmake_kde4 -d build -- -DCMAKE_CXXFLAGS="$RPM_OPT_FLAGS" -DCMAKE_CFLAGS="$RPM_OPT_FLAGS"
|
|
%make_jobs
|
|
make
|
|
|
|
%install
|
|
cd build
|
|
%makeinstall
|
|
%create_subdir_filelist -d kmtrace
|
|
%create_subdir_filelist -d kuiviewer
|
|
%create_subdir_filelist -d kpartloader
|
|
%create_subdir_filelist -d kstartperf
|
|
%create_exclude_filelist
|
|
%suse_update_desktop_file kuiviewer Development GUIDesigner
|
|
%kde_post_install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf filelists
|
|
|
|
%package -n kuiviewer
|
|
Summary: UI Files Viewer
|
|
Group: Development/Tools/Other
|
|
%kde4_runtime_requires
|
|
Provides: kde4-kuiviewer = 4.3.0
|
|
Obsoletes: kde4-kuiviewer < 4.3.0
|
|
|
|
%description -n kuiviewer
|
|
Displays Qt Designer UI files
|
|
|
|
%post -n kuiviewer -p /sbin/ldconfig
|
|
|
|
%postun -n kuiviewer -p /sbin/ldconfig
|
|
|
|
%files -n kuiviewer -f filelists/kuiviewer
|
|
%defattr(-,root,root)
|
|
%doc COPYING COPYING.DOC COPYING.LIB
|
|
%dir %_kde4_appsdir/kuiviewerpart
|
|
|
|
%package -n kmtrace
|
|
Summary: Memory Allocation Debugging Tool
|
|
Group: Development/Tools/Other
|
|
%kde4_runtime_requires
|
|
Provides: kde4-kmtrace = 4.3.0
|
|
Obsoletes: kde4-kmtrace < 4.3.0
|
|
|
|
%description -n kmtrace
|
|
This is a KDE tool to assist with malloc debugging using glibc's
|
|
"mtrace" functionality.
|
|
|
|
%post -n kmtrace -p /sbin/ldconfig
|
|
|
|
%postun -n kmtrace -p /sbin/ldconfig
|
|
|
|
%files -n kmtrace -f filelists/kmtrace
|
|
%defattr(-,root,root)
|
|
%doc COPYING COPYING.DOC COPYING.LIB
|
|
|
|
%package -n kpartloader
|
|
Summary: KDE SDK Package
|
|
Group: System/GUI/KDE
|
|
%kde4_runtime_requires
|
|
Provides: kde4-kpartloader = 4.3.0
|
|
Obsoletes: kde4-kpartloader < 4.3.0
|
|
|
|
%description -n kpartloader
|
|
This package suggests the packages, built from the kdesdk module.
|
|
|
|
%post -n kpartloader -p /sbin/ldconfig
|
|
|
|
%postun -n kpartloader -p /sbin/ldconfig
|
|
|
|
%files -n kpartloader -f filelists/kpartloader
|
|
%defattr(-,root,root)
|
|
%doc COPYING COPYING.DOC COPYING.LIB
|
|
|
|
%package -n kstartperf
|
|
Summary: Startup time measurement tool for KDE applications
|
|
Group: System/GUI/KDE
|
|
%kde4_runtime_requires
|
|
|
|
%description -n kstartperf
|
|
kstartperf measures startup time for KDE applications.
|
|
|
|
The startup time is taken as the amount of time from starting the application to the first window
|
|
created by that application appearing on screen.
|
|
|
|
%post -n kstartperf -p /sbin/ldconfig
|
|
|
|
%postun -n kstartperf -p /sbin/ldconfig
|
|
|
|
%files -n kstartperf -f filelists/kstartperf
|
|
%defattr(-,root,root)
|
|
%doc COPYING COPYING.DOC COPYING.LIB
|
|
|
|
%package -n kprofilemethod
|
|
Summary: Macros to help profiling using QTime
|
|
Group: System/GUI/KDE
|
|
%kde4_runtime_requires
|
|
|
|
%description -n kprofilemethod
|
|
These macros help profiling using QTime. They allow to sum up the time taken by a given bit of code
|
|
in a method called several times. This way one can find out which low-level method used by a high-level
|
|
method is taking most of its time. Please do not commit code that uses kprofilemethod.h
|
|
|
|
%files -n kprofilemethod
|
|
%defattr(-,root,root)
|
|
%doc COPYING COPYING.DOC COPYING.LIB
|
|
%{_kde4_includedir}/kprofilemethod.h
|
|
|
|
%changelog
|