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