Name: gparted
Summary: Gnome Partition Editor
Version: 0.6.2
Release: 1
License: GPLv2+
Group: Applications/System
URL: http://gparted.sourceforge.net/
Description: GParted stands for Gnome Partition Editor and is a graphical frontend to
libparted. Among other features it supports creating, resizing, moving
and copying of partitions. Also several (optional) filesystem tools provide
support for filesystems not included in libparted. These optional packages
will be detected at runtime and don't require a rebuild of GParted
The build could not start because the following file is missing: gparted-0.6.2.tar.bz2
The build could not start because the following file is missing: gparted-0.6.2.tar.bz2
The spec file used by the build system currently has the following contents:
# $Id$ # Authority: dag # Tag: rft %define desktop_vendor rpmforge Summary: Gnome Partition Editor Name: gparted Version: 0.6.2 Release: 1%{?dist} License: GPLv2+ Group: Applications/System URL: http://gparted.sourceforge.net/ Source: http://dl.sf.net/gparted/gparted-%{version}.tar.bz2 Patch0: gparted-0.4.8-icon.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: desktop-file-utils BuildRequires: e2fsprogs-devel BuildRequires: gettext BuildRequires: gnome-doc-utils BuildRequires: gtkmm24-devel BuildRequires: parted-devel BuildRequires: perl(XML::Parser) BuildRequires: scrollkeeper Requires: scrollkeeper %description GParted stands for Gnome Partition Editor and is a graphical frontend to libparted. Among other features it supports creating, resizing, moving and copying of partitions. Also several (optional) filesystem tools provide support for filesystems not included in libparted. These optional packages will be detected at runtime and don't require a rebuild of GParted %prep %setup %patch0 -p0 -b .icon ### Fails to build %{__rm} -rf po/lv.po %{__perl} -pi -e ' s|\bsbin\b|\bbin\b|; s|_X-GNOME-FullName|X-GNOME-FullName|; ' gparted.desktop %{__cat} <<EOF >gparted.pam #%PAM-1.0 auth sufficient /%{_lib}/security/pam_rootok.so auth sufficient /%{_lib}/security/pam_timestamp.so auth required /%{_lib}/security/pam_stack.so service=system-auth session required /%{_lib}/security/pam_permit.so session optional /%{_lib}/security/pam_xauth.so session optional /%{_lib}/security/pam_timestamp.so account required /%{_lib}/security/pam_permit.so EOF %{__cat} <<EOF >gparted.console-apps USER=root PROGRAM=%{_sbindir}/gparted SESSION=true FALLBACK=false EOF %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR="%{buildroot}" %find_lang %{name} desktop-file-install --delete-original \ --vendor %{desktop_vendor} \ --dir %{buildroot}%{_datadir}/applications \ --mode 0644 \ %{buildroot}%{_datadir}/applications/gparted.desktop #### consolehelper stuff %{__install} -d -m0755 %{buildroot}%{_bindir} %{__ln_s} -f consolehelper %{buildroot}%{_bindir}/gparted %{__install} -Dp -m0644 gparted.console-apps %{buildroot}%{_sysconfdir}/security/console.apps/gparted %{__install} -Dp -m0644 gparted.pam %{buildroot}%{_sysconfdir}/pam.d/gparted %preun if [ $1 -ge 0 ]; then if [ -a %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi ]; then %{__rm} -rf %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi fi fi %post scrollkeeper-update -q -o %{_datadir}/omf/gparted || : touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : %postun scrollkeeper-update -q || : touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : %clean %{__rm} -rf %{buildroot} %files -f %{name}.lang %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING README %doc %{_mandir}/man8/gparted.* %config(noreplace) %{_sysconfdir}/pam.d/gparted %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %{_bindir}/gparted %{_datadir}/applications/%{desktop_vendor}-gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* %{_datadir}/gnome/help/gparted/ %{_datadir}/omf/gparted/ %{_sbindir}/gparted %{_sbindir}/gpartedbin %exclude %{_localstatedir}/lib/scrollkeeper/ %changelog * Mon Aug 02 2010 Dag Wieers <dag@wieers.com> - 0.6.2-1 - Updated to release 0.6.2. * Fri Jul 30 2010 Dag Wieers <dag@wieers.com> - 0.6.1-1 - Updated to release 0.6.1. * Wed Sep 19 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.3-2 - Only use hal-lock on recent distributions. * Thu Jun 28 2007 Dag Wieers <dag@wieers.com> - 0.3.3-1 - Added Fedora patches. - Initial package. (using DAR)