Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > d243e24cd89f5787d5acc5bb5bc70619 > files > 2

kdf-4.8.2-1.mga2.src.rpm

%define rel   1

Name:       kdf
Summary:    View free disk space
Version: 4.8.2
Release:    %mkrel %{rel}
Group:      File tools
License:    GPLv2 and LGPLv2 and GPLD
URL:        http://utils.kde.org/projects/kdf
Source0:    ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%name-%{version}.tar.xz

BuildRequires: kdelibs4-devel >= 2:%version

Requires: kdebase4-runtime

Conflicts: kdeutils4-core < 4.5.72

Suggests: kdf-handbook

%description
KDiskFree displays the available file devices (hard drive partitions,
floppy and CD/DVD drives, etc.) along with information on their capacity,
free space, type and mount point. It also allows you to mount and unmount
drives and view them in a file manager.

%files
%_kde_appsdir/kdf/
%_kde_bindir/kdf
%_kde_bindir/kwikdisk
%_kde_libdir/kde4/kcm_kdf.so
%_kde_iconsdir/*/*/apps/kcmdf.*
%_kde_iconsdir/*/*/apps/kdf.*
%_kde_iconsdir/*/*/apps/kwikdisk.*
%_kde_applicationsdir/kdf.desktop
%_kde_applicationsdir/kwikdisk.desktop
%_kde_services/kcmdf.desktop

#------------------------------------------------------------------------------

%package -n kdf-handbook
Summary: kdf Handbook
Conflicts: kdf < 4.7.1
BuildArch: noarch
Group: Books/Other
%description -n kdf-handbook
This package provides kdf Handbook.

%files -n kdf-handbook
%doc COPYING
%docdir %_kde_docdir/HTML/
%_kde_docdir/HTML/en/kdf/
%_kde_docdir/HTML/en/kcontrol/blockdevices/

#------------------------------------------------------------------------------

%prep
%setup -q
%apply_patches

%build
export LD=/usr/bin/ld.gold
%cmake_kde4  -DKDE4_ENABLE_FINAL=ON 
%make

%install
rm -fr %buildroot
%makeinstall_std -C build


%changelog

* Wed Apr 04 2012 fwang <fwang> 4.8.2-1.mga2
+ Revision: 228475
- new version 4.8.2

* Thu Mar 08 2012 mikala <mikala> 4.8.1-1.mga2
+ Revision: 221477
- New upstream tarball

* Thu Jan 19 2012 mikala <mikala> 4.8.0-1.mga2
+ Revision: 198371
- Updating tarball to KDE 4.8.0
- Drop patch0 (merged upstream)

* Thu Jan 05 2012 mikala <mikala> 4.7.97-1.mga2
+ Revision: 191528
- Add patch0 from upstream to add missing add_definition() calls
- Update tarball to kde 4.7.97

* Fri Dec 23 2011 mikala <mikala> 4.7.95-1.mga2
+ Revision: 186319
- Update tarball to kde 4.7.95
- fix group

* Wed Dec 14 2011 mikala <mikala> 4.7.90-1.mga2
+ Revision: 181469
- imported package kdf