## Renamed due to the too generic name of the application Name: kde-partitionmanager Version: 1.0.3 Release: 1%{?dist} Summary: KDE Partition Manager Group: Applications/System License: GPLv2+ URL: http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595 Source0: http://www.kde-apps.org/CONTENT/content-files/89595-partitionmanager-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # upstreamable patches BuildRequires: parted-devel, e2fsprogs-devel, pkgconfig, gettext, kdelibs4-devel, cmake %if 0%{?fedora} >= 12 BuildRequires: libuuid-devel libblkid-devel %endif Requires: parted, e2fsprogs %global kde4_version %((kde4-config --version 2>/dev/null || echo "KDE 4.3.0") | grep ^KDE | cut -d' ' -f2) %{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} } %description KDE Partition Manager is a utility program to help you manage the disk devices, partitions and file systems on your computer. It allows you to easily create, copy, move, delete, resize without losing data, backup and restore partitions. KDE Partition Manager supports a large number of file systems, including ext2/3/4, reiserfs, NTFS, FAT16/32, jfs, xfs and more. It makes use of external programs to get its job done, so you might have to install additional software (preferably packages from your distribution) to make use of all features and get full support for all file systems. %prep %setup -q -n partitionmanager-%{version} ## Due to the name change mv src/partitionmanager.desktop src/kde-partitionmanager.desktop mv src/kcm/kcm_partitionmanager.desktop src/kcm/kcm_kde-partitionmanager.desktop sed -i 's,partitionmanager.desktop,kde-partitionmanager.desktop,' src/CMakeLists.txt %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast -C %{_target_platform} DESTDIR=%{buildroot} %find_lang partitionmanager --with-kde desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.desktop %clean rm -rf %{buildroot} %files -f partitionmanager.lang %defattr(-,root,root,-) %doc README COPYING CHANGES %{_kde4_bindir}/partitionmanager* ## %{_kde4_libdir}/kde4/*.so %{_kde4_libdir}/*.so %{_kde4_datadir}/applications/kde4/%{name}.desktop %{_kde4_iconsdir}/hicolor/*/*/*.png %{_kde4_datadir}/kde4/apps/partitionmanager ## %{_kde4_datadir}/kde4/services/kcm_kde-partitionmanager.desktop %changelog * Wed Sep 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.3-1 - 1.0.3 bugfix release * Tue May 18 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.2-1 - bugfix release * Wed Mar 31 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.1-1%{?dist}.2 - rebuild for new parted * Sun Feb 14 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.1-1%{?dist}.1 - DSO fix for rawhide * Mon Jan 25 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.1-1 - New upstream source * Wed Nov 18 2009 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-2 - Moved desktop-file-validate to %%install - Removed superfluous BR qt4-devel * Wed Nov 18 2009 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-1 - Initial Fedora release