This commit is contained in:
parent
755b5f504c
commit
2a55f24765
53
kdf.spec
53
kdf.spec
@ -25,12 +25,21 @@ Group: System/Monitoring
|
||||
Url: http://www.kde.org
|
||||
Source0: kdf-%{version}.tar.xz
|
||||
Patch1: desktop-files.diff
|
||||
BuildRequires: libkde4-devel
|
||||
BuildRequires: xz
|
||||
Provides: kde4-kdf = 4.3.0
|
||||
Obsoletes: kde4-kdf < 4.3.0
|
||||
BuildRequires: kconfigwidgets-devel
|
||||
BuildRequires: kcoreaddons-devel
|
||||
BuildRequires: kdoctools-devel
|
||||
BuildRequires: ki18n-devel
|
||||
BuildRequires: kiconthemes-devel
|
||||
BuildRequires: kio-devel
|
||||
BuildRequires: kcmutils-devel
|
||||
BuildRequires: knotifications-devel
|
||||
BuildRequires: kwidgetsaddons-devel
|
||||
BuildRequires: kxmlgui-devel
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5Gui)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
|
||||
%description
|
||||
KDE free disk space utility
|
||||
@ -40,14 +49,13 @@ KDE free disk space utility
|
||||
%patch1
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kf5 -d build
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
cd build
|
||||
%kde4_makeinstall
|
||||
%suse_update_desktop_file kdf System Filesystem
|
||||
%kde_post_install
|
||||
%kf5_makeinstall
|
||||
%suse_update_desktop_file org.kde.kdf System Filesystem
|
||||
|
||||
%package -n kwikdisk
|
||||
Summary: Removable Media Utility
|
||||
@ -60,22 +68,23 @@ This utility allows you to manage removable media.
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%_kde4_bindir/kdf
|
||||
%_kde4_modulesdir/kcm_kdf.so
|
||||
%_kde4_applicationsdir/kdf.desktop
|
||||
%_kde4_htmldir/en/kdf/
|
||||
%dir %_kde4_htmldir/en/kcontrol/
|
||||
%_kde4_htmldir/en/kcontrol/blockdevices/
|
||||
%_kde4_iconsdir/hicolor/*/*/kdf.png
|
||||
%_kde4_iconsdir/oxygen/*/*/kcmdf.png
|
||||
%_kde4_appsdir/kdf/
|
||||
%_kde4_servicesdir/kcmdf.desktop
|
||||
%_kf5_bindir/kdf
|
||||
%_kf5_plugindir/libkcm_kdf.so
|
||||
%_kf5_applicationsdir/org.kde.kdf.desktop
|
||||
%_kf5_htmldir/en/kdf/
|
||||
%dir %_kf5_htmldir/en/kcontrol/
|
||||
%_kf5_htmldir/en/kcontrol/blockdevices/
|
||||
%_kf5_iconsdir/hicolor/*/*/kdf.png
|
||||
%_kf5_iconsdir/hicolor/*/*/kcmdf.png
|
||||
%_kf5_sharedir/kxmlgui5/kdf/
|
||||
%_kf5_servicesdir/kcmdf.desktop
|
||||
%_kf5_libdir/libkdfprivate.so.*
|
||||
|
||||
%files -n kwikdisk
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%_kde4_bindir/kwikdisk
|
||||
%_kde4_applicationsdir/kwikdisk.desktop
|
||||
%_kde4_iconsdir/hicolor/*/*/kwikdisk.png
|
||||
%_kf5_bindir/kwikdisk
|
||||
%_kf5_applicationsdir/org.kde.kwikdisk.desktop
|
||||
%_kf5_iconsdir/hicolor/*/*/kwikdisk.png
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user