File kvpm.spec of Package kvpm
Name: kvpm
Version: 0.7.8
Release: 1
License: GPLv3
AutoReqProv: on
Summary: A KDE GUI for editing disk partitions and logical volumes
Group: System/Filesystems
BuildRequires: cmake gcc-c++ libkde4-devel device-mapper-devel parted-devel
# kvpm home page says we need >= 2.02.86, but cannot find a package for it
# and it seems to work with 2.02.84
BuildRequires: liblvm2app2_2-devel >= 2.02.84
# we need patched device-mapper-devel, old versions use "private" as identifier
# which does not work for C++
BuildRequires: device-mapper-devel >= 1.02.63
Source: http://sourceforge.net/projects/kvpm/files/kvpm-%{version}.tar.gz
Patch1: no_setPlaceholder_for_old_KDE.patch
%description
Kvpm is a KDE 4 GUI for the Linux Volume Manager project and
libparted. It uses the standard lvm tools and programs to work with
logical volumes. It also can format volumes and mount them. It is
possible to create, delete, move or resize partitions.
%prep
%setup - q
%patch1
%build
%cmake_kde4 -d kvpm/build
%make_jobs
%install
pwd
pushd kvpm/build
%make_install
popd
%files
%defattr(-,root,root)
/usr/bin/kvpm