diff --git a/kdf.spec b/kdf.spec index 1b2f053..37dc54e 100644 --- a/kdf.spec +++ b/kdf.spec @@ -1,5 +1,5 @@ Name: kdf -Version: 4.14.3 +Version: 16.08.1 Release: 1mamba Summary: A graphical free disk space view Group: Graphical Desktop/Applications/Utilities @@ -7,22 +7,34 @@ Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.kde.org -Source: http://download.kde.org/stable/%{version}/src/kdf-%{version}.tar.xz +Source: http://download.kde.org/stable/applications/%{version}/src/kdf-%{version}.tar.xz License: GPL BuildRequires: cmake ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: kdelibs-devel -BuildRequires: kde-workspace-devel BuildRequires: libgcc -BuildRequires: libqt4-devel +BuildRequires: libkauth-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkiconthemes-devel +BuildRequires: libkio-devel +BuildRequires: libkjobwidgets-devel +BuildRequires: libknotifications-devel +BuildRequires: libkservice-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END Provides: kdf4 = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: kdf4 Provides: kwikdisk Obsoletes: kwikdisk -Requires: kde-workspace +#Requires: kde-workspace BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -34,7 +46,7 @@ Like "df", a graphical free disk space viewer. %setup -q %build -%cmake_kde4 -d build +%cmake_kde5 -d build %make %install @@ -45,45 +57,50 @@ Like "df", a graphical free disk space viewer. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 -touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1 +touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 +touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1 exit 0 %posttrans update-desktop-database -q >/dev/null 2>&1 -update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 -gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 -gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1 +update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 +gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 +gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1 exit 0 %postun if [ $1 -eq 0 ]; then update-desktop-database -q >/dev/null 2>&1 - update-mime-database %{_kde4_mimedir} >/dev/null 2>&1 - touch --no-create %{_kde4_icondir}/hicolor >/dev/null 2>&1 - gtk-update-icon-cache %{_kde4_icondir}/hicolor >/dev/null 2>&1 - touch --no-create %{_kde4_icondir}/oxygen >/dev/null 2>&1 - gtk-update-icon-cache %{_kde4_icondir}/oxygen >/dev/null 2>&1 + update-mime-database %{_kde5_mimedir} >/dev/null 2>&1 + touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1 + gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1 + touch --no-create %{_kde5_icondir}/oxygen >/dev/null 2>&1 + gtk-update-icon-cache %{_kde5_icondir}/oxygen >/dev/null 2>&1 fi exit 0 %files %defattr(-,root,root) -%{_kde4_bindir}/%{name} -%{_kde4_bindir}/kwikdisk -%{_kde4_libdir}/kde4/kcm_%{name}.so -%{_kde4_xdgappsdir}/kdf.desktop -%{_kde4_xdgappsdir}/kwikdisk.desktop -%{_kde4_datadir}/%{name} -%doc %lang(en) %{_kde4_htmldir}/en/kcontrol/blockdevices -%doc %lang(en) %{_kde4_htmldir}/en/%{name} -%{_kde4_icondir}/hicolor/*/apps/%{name}.png -%{_kde4_icondir}/hicolor/*/apps/kwikdisk.png -%{_kde4_icondir}/oxygen/*/apps/kcmdf.png -%{_kde4_servicesdir}/kcmdf.desktop +%{_kde5_bindir}/%{name} +%{_kde5_bindir}/kwikdisk +%{_libdir}/libkdfprivate.so.* +%{_libdir}/qt5/plugins/libkcm_kdf.so +%{_datadir}/applications/org.kde.kdf.desktop +%{_datadir}/applications/org.kde.kwikdisk.desktop +%{_datadir}/icons/hicolor/*/apps/kcmdf.png +%{_datadir}/kxmlgui5/kdf/kdfui.rc +%doc %lang(en) %{_kde5_htmldir}/en/kcontrol/blockdevices +%doc %lang(en) %{_kde5_htmldir}/en/%{name} +%{_kde5_icondir}/hicolor/*/apps/%{name}.png +%{_kde5_icondir}/hicolor/*/apps/kwikdisk.png +#%{_kde5_icondir}/oxygen/*/apps/kcmdf.png +%{_kde5_servicesdir}/kcmdf.desktop %doc COPYING %changelog +* Tue Oct 04 2016 Automatic Build System 16.08.1-1mamba +- automatic version update by autodist + * Thu Nov 20 2014 Automatic Build System 4.14.3-1mamba - automatic version update by autodist