a71baf
Name:    kdf
aca573
Summary: View disk usage
911142
Version: 14.12.3
Rex Dieter 20cc24
Release: 1%{?dist}
aca573
aca573
License: GPLv2+
aca573
#URL:     https://projects.kde.org/projects/kde/kdeutils/%{name}
aca573
URL:     http://utils.kde.org/projects/%{name}
a71baf
%global revision %(echo %{version} | cut -d. -f3)
a71baf
%if %{revision} >= 50
a71baf
%global stable unstable
a71baf
%else
a71baf
%global stable stable
a71baf
%endif
Rex Dieter 109fb4
Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz
aca573
aca573
BuildRequires: desktop-file-utils
Rex Dieter 109fb4
BuildRequires: kdelibs4-devel >= 4.14
aca573
aca573
# when split occured
aca573
Conflicts: kdeutils-common < 6:4.7.80
aca573
aca573
Obsoletes: kdeutils-kdf < 6:4.7.80
aca573
Provides:  kdeutils-kdf = 6:%{version}-%{release}
aca573
d6ccc2
%{?_kde4_version:Requires: kdelibs4%{?_isa} >= %{_kde4_version}}
aca573
aca573
aca573
%description
aca573
KDiskFree displays the available file devices (hard drive partitions,
aca573
floppy and CD/DVD drives, etc.) along with information on their capacity,
aca573
free space, type and mount point.
aca573
aca573
aca573
%prep
aca573
%setup -q -n %{name}-%{version}
aca573
aca573
aca573
%build
aca573
mkdir -p %{_target_platform}
aca573
pushd %{_target_platform}
aca573
%{cmake_kde4} ..
aca573
popd
aca573
Rex Dieter a3a28e
# not smp safe
Rex Dieter a3a28e
make -C %{_target_platform}
aca573
aca573
aca573
%install
aca573
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
aca573
aca573
%find_lang %{name} --with-kde --without-mo
aca573
aca573
aca573
%check
aca573
desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop
aca573
aca573
aca573
%post
aca573
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
aca573
touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null ||:
aca573
aca573
%posttrans
aca573
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
aca573
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null ||:
aca573
aca573
%postun
aca573
if [ $1 -eq 0 ] ; then
aca573
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
aca573
touch --no-create %{_kde4_iconsdir}/oxygen &> /dev/null ||:
aca573
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
aca573
gtk-update-icon-cache %{_kde4_iconsdir}/oxygen &> /dev/null ||:
aca573
fi
aca573
aca573
%files -f %{name}.lang
aca573
%doc COPYING
aca573
%{_kde4_bindir}/kdf
aca573
%{_kde4_appsdir}/kdf/
aca573
%{_kde4_iconsdir}/hicolor/*/apps/kdf.*
aca573
%{_kde4_datadir}/kde4/services/kcmdf.desktop
aca573
%{_kde4_iconsdir}/oxygen/*/apps/kcmdf.*
aca573
%{_kde4_datadir}/applications/kde4/kdf.desktop
aca573
%{_kde4_libdir}/kde4/kcm_kdf.so
aca573
%{_kde4_bindir}/kwikdisk
aca573
%{_kde4_iconsdir}/hicolor/*/apps/kwikdisk.*
aca573
%{_kde4_datadir}/applications/kde4/kwikdisk.desktop
aca573
%{_kde4_docdir}/HTML/en/kcontrol/blockdevices/
aca573
aca573
aca573
aca573
%changelog
911142
* Sun Mar 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 14.12.3-1
911142
- 14.12.3
911142
632659
* Tue Feb 24 2015 Than Ngo <than@redhat.com> - 14.12.2-1
632659
- 14.12.2
632659
Rex Dieter 109fb4
* Sat Jan 17 2015 Rex Dieter <rdieter@fedoraproject.org> - 14.12.1-1
Rex Dieter 109fb4
- 14.12.1
Rex Dieter 109fb4
Rex Dieter 3202bd
* Sun Nov 09 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.3-1
Rex Dieter 3202bd
- 4.14.3
Rex Dieter 3202bd
Rex Dieter e34842
* Sun Oct 12 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.2-1
Rex Dieter e34842
- 4.14.2
Rex Dieter e34842
Rex Dieter 20cc24
* Tue Sep 16 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.1-1
Rex Dieter 20cc24
- 4.14.1
Rex Dieter 20cc24
465dc6
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.14.0-2
465dc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
465dc6
Rex Dieter ac7e49
* Fri Aug 15 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.14.0-1
Rex Dieter ac7e49
- 4.14.0
Rex Dieter ac7e49
Rex Dieter 6c27f8
* Tue Aug 05 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.97-1
Rex Dieter 6c27f8
- 4.13.97
Rex Dieter 6c27f8
Rex Dieter a97bcf
* Tue Jul 15 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.3-1
Rex Dieter a97bcf
- 4.13.3
Rex Dieter a97bcf
Rex Dieter 403474
* Mon Jun 09 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.2-1
Rex Dieter 403474
- 4.13.2
Rex Dieter 403474
70c494
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.13.1-2
70c494
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
70c494
Rex Dieter a68d8d
* Sun May 11 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.1-1
Rex Dieter a68d8d
- 4.13.1
Rex Dieter a68d8d
Rex Dieter 91b09a
* Sat Apr 12 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.13.0-1
Rex Dieter 91b09a
- 4.13.0
Rex Dieter 91b09a
Rex Dieter aefae2
* Fri Apr 04 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.97-1
Rex Dieter aefae2
- 4.12.97
Rex Dieter aefae2
Rex Dieter 889ed3
* Sun Mar 23 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.95-1
Rex Dieter 889ed3
- 4.12.95
Rex Dieter 889ed3
Rex Dieter 0b57a1
* Wed Mar 19 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.90-1
Rex Dieter 0b57a1
- 4.12.90
Rex Dieter 0b57a1
Rex Dieter 3118df
* Sun Mar 02 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.3-1
Rex Dieter 3118df
- 4.12.3
Rex Dieter 3118df
Rex Dieter 7c40bc
* Fri Jan 31 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.2-1
Rex Dieter 7c40bc
- 4.12.2
Rex Dieter 7c40bc
Rex Dieter e29b76
* Fri Jan 10 2014 Rex Dieter <rdieter@fedoraproject.org> - 4.12.1-1
Rex Dieter e29b76
- 4.12.1
Rex Dieter e29b76
Rex Dieter 4445b2
* Thu Dec 19 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.12.0-1
Rex Dieter 4445b2
- 4.12.0
Rex Dieter 4445b2
Rex Dieter 92d810
* Sun Dec 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.97-1
Rex Dieter 92d810
- 4.11.97
Rex Dieter 92d810
Rex Dieter 01f604
* Thu Nov 21 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.95-1
Rex Dieter 01f604
- 4.11.95
Rex Dieter 01f604
Rex Dieter 63f1f1
* Sat Nov 16 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.90-1
Rex Dieter 63f1f1
- 4.11.90
Rex Dieter 63f1f1
Rex Dieter 8a5ce7
* Sat Nov 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.3-1
Rex Dieter 8a5ce7
- 4.11.3
Rex Dieter 8a5ce7
Rex Dieter 1dc22f
* Sat Sep 28 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.2-1
Rex Dieter 1dc22f
- 4.11.2
Rex Dieter 1dc22f
Rex Dieter 0c8915
* Wed Sep 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.11.1-1
Rex Dieter 0c8915
- 4.11.1
Rex Dieter 0c8915
7c05bf
* Thu Aug 08 2013 Than Ngo <than@redhat.com> - 4.11.0-1
7c05bf
- 4.11.0
7c05bf
Rex Dieter 9f3d65
* Thu Jul 25 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.97-1
Rex Dieter 9f3d65
- 4.10.97
Rex Dieter 9f3d65
Rex Dieter 0c3304
* Tue Jul 23 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.95-1
Rex Dieter 0c3304
- 4.10.95
Rex Dieter 0c3304
Rex Dieter e37633
* Fri Jun 28 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.90-1
Rex Dieter e37633
- 4.10.90
Rex Dieter e37633
Rex Dieter fcbbf5
* Sat Jun 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.4-1
Rex Dieter fcbbf5
- 4.10.4
Rex Dieter fcbbf5
4f785f
* Mon May 06 2013 Than Ngo <than@redhat.com> - 4.10.3-1
4f785f
- 4.10.3
4f785f
Rex Dieter beed16
* Mon Apr 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.2-1
Rex Dieter beed16
- 4.10.2
Rex Dieter beed16
Rex Dieter 7de668
* Sat Mar 02 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.1-1
Rex Dieter 7de668
- 4.10.1
Rex Dieter 7de668
Rex Dieter 0f54fa
* Fri Feb 01 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.10.0-1
Rex Dieter 0f54fa
- 4.10.0
Rex Dieter 0f54fa
Rex Dieter d10eca
* Tue Jan 22 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.98-1
Rex Dieter d10eca
- 4.9.98
Rex Dieter d10eca
Rex Dieter 88d93e
* Fri Jan 04 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.9.97-1
Rex Dieter 88d93e
- 4.9.97
Rex Dieter 88d93e
Rex Dieter d3a810
* Thu Dec 20 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.95-1
Rex Dieter d3a810
- 4.9.95
Rex Dieter d3a810
Rex Dieter dc5843
* Tue Dec 04 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.90-1
Rex Dieter dc5843
- 4.9.90
Rex Dieter dc5843
9e1a32
* Mon Dec 03 2012 Than Ngo <than@redhat.com> - 4.9.4-1
9e1a32
- 4.9.4
9e1a32
31d809
* Sat Nov 03 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.3-1
31d809
- 4.9.3
31d809
db1393
* Sat Sep 29 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.9.2-1
db1393
- 4.9.2
db1393
7a0c19
* Mon Sep 03 2012 Than Ngo <than@redhat.com> - 4.9.1-1
7a0c19
- 4.9.1
7a0c19
Lukas Tinkl 786e88
* Thu Jul 26 2012 Lukas Tinkl <ltinkl@redhat.com> - 4.9.0-1
Lukas Tinkl 786e88
- 4.9.0
Lukas Tinkl 786e88
fd1c07
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.97-2
fd1c07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fd1c07
ab8671
* Thu Jul 12 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.97-1
ab8671
- 4.8.97
ab8671
Jaroslav Reznik f9c0f6
* Wed Jun 27 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.95-1
Jaroslav Reznik f9c0f6
- 4.8.95
Jaroslav Reznik f9c0f6
e8d800
* Sun Jun 10 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.90-1
e8d800
- 4.8.90
e8d800
d6ccc2
* Tue Jun 05 2012 Rex Dieter <rdieter@fedoraproject.org> 4.8.80-2
d6ccc2
- fix %%_kde_version macro usage
d6ccc2
Jaroslav Reznik 265c5d
* Sun Jun 03 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.80-1
Jaroslav Reznik 265c5d
- 4.8.80
Jaroslav Reznik 265c5d
Jaroslav Reznik 38eccb
* Mon Apr 30 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.3-1
Jaroslav Reznik 38eccb
- 4.8.3
Jaroslav Reznik 38eccb
e64b91
* Fri Mar 30 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.2-1
e64b91
- 4.8.2
e64b91
Jaroslav Reznik 697ade
* Mon Mar 05 2012 Jaroslav Reznik <jreznik@redhat.com> - 4.8.1-1
Jaroslav Reznik 697ade
- 4.8.1
Jaroslav Reznik 697ade
0b36e2
* Sun Jan 22 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.8.0-1
0b36e2
- 4.8.0
0b36e2
d688b2
* Wed Jan 04 2012 Rex Dieter <rdieter@fedoraproject.org> - 4.7.97-1
d688b2
- 4.7.97
d688b2
Radek Novacek 4f5e56
* Thu Dec 22 2011 Radek Novacek <rnovacek@redhat.com> - 4.7.95-1
Radek Novacek 4f5e56
- 4.7.95
Radek Novacek 4f5e56
aca573
* Thu Dec 08 2011 Rex Dieter <rdieter@fedoraproject.org> 4.7.90-1
aca573
- 4.7.90
aca573
aca573
* Sat Nov 26 2011 Rex Dieter <rdieter@fedoraproject.org> 4.7.80-1
aca573
- first try
aca573