automatic version update by autodist [release 0.18.0-1mamba;Thu Feb 20 2014]

This commit is contained in:
Automatic Build System 2024-01-05 23:21:49 +01:00
parent 547920ab69
commit 915c53a709
9 changed files with 397 additions and 0 deletions

View File

@ -1,2 +1,8 @@
# gparted
GParted is an industrial-strength package for creating, destroying, resizing, checking and copying partitions, and the file systems on them.
This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks and mirroring one partition with another (disk imaging).
A hard disk is usually subdivided into one or more partitions.
These partitions are normally not re-sizable (making one larger and the adjacent one smaller) The purpose of GParted is to allow the individual to take a hard disk and change the partition organization therein, while preserving the partition contents.

View File

@ -0,0 +1,9 @@
diff -Nru gparted-0.11.0.orig/gparted.desktop.in.in gparted-0.11.0/gparted.desktop.in.in
--- gparted-0.11.0.orig/gparted.desktop.in.in 2010-05-28 23:18:25.000000000 +0200
+++ gparted-0.11.0/gparted.desktop.in.in 2012-02-26 23:50:15.001119698 +0100
@@ -8,4 +8,4 @@
Terminal=false
Type=Application
Categories=GNOME;System;Filesystem;
-StartupNotify=true
+StartupNotify=false

View File

@ -0,0 +1,24 @@
diff -Nru gparted-0.13.0.orig/gparted.desktop gparted-0.13.0/gparted.desktop
--- gparted-0.14.1.orig/gparted.desktop.orig 2012-12-15 12:13:44.617156912 +0100
+++ gparted-0.14.1/gparted.desktop 2012-12-15 12:14:08.697910276 +0100
@@ -209,7 +209,7 @@
Comment[zh_CN]=创建、重新组织或删除分区
Comment[zh_HK]=建立、編輯或刪除分割區
Comment[zh_TW]=建立、編輯或刪除分割區
-Exec=kdesudo /usr/local/sbin/gparted %f
+Exec=%{_bindir}/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application
diff -Nru gparted-0.13.0.orig/gparted.desktop.in.in gparted-0.13.0/gparted.desktop.in.in
--- gparted-0.13.0.orig/gparted.desktop.in.in 2012-08-05 21:11:24.467479696 +0200
+++ gparted-0.13.0/gparted.desktop.in.in 2012-08-05 21:11:59.976122931 +0200
@@ -3,7 +3,7 @@
_GenericName=Partition Editor
_X-GNOME-FullName=GParted Partition Editor
_Comment=Create, reorganize, and delete partitions
-Exec=@gksuprog@ @installdir@/gparted %f
+Exec=/usr/bin/gparted-pkexec %f
Icon=gparted
Terminal=false
Type=Application

33
gparted-0.3.3-hal.patch Normal file
View File

@ -0,0 +1,33 @@
--- src/GParted_Core.cc 2006-12-05 14:39:31.000000000 -0500
+++ src/GParted_Core.cc.new 2007-04-02 21:59:01.000000000 -0400
@@ -54,21 +54,6 @@
ped_exception_set_handler( ped_exception_handler ) ;
- //disable automount //FIXME: temporary hack, till i find a better solution...
- std::ofstream fdi_file( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ;
- if ( fdi_file )
- {
- fdi_file << "<deviceinfo version='0.2'>" ;
- fdi_file << "<device>" ;
- fdi_file << "<match key='@block.storage_device:storage.hotpluggable' bool='true'>" ;
- fdi_file << "<merge key='volume.ignore' type='bool'>true</merge>" ;
- fdi_file << "</match>" ;
- fdi_file << "</device>" ;
- fdi_file << "</deviceinfo>" ;
-
- fdi_file .close() ;
- }
-
//get valid flags ...
for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast<PedPartitionFlag>( NULL ) ) ;
flag ;
@@ -2287,8 +2272,6 @@
if ( p_filesystem )
delete p_filesystem ;
- //remove .fdi file..
- remove( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ;
}
} //GParted

View File

@ -0,0 +1,11 @@
diff -Nru gparted-0.5.0/gparted.desktop.in.in gparted-0.5.0.patched/gparted.desktop.in.in
--- gparted-0.5.0/gparted.desktop.in.in 2009-11-02 21:43:38.000000000 +0100
+++ gparted-0.5.0.patched/gparted.desktop.in.in 2009-12-24 12:24:11.920980029 +0100
@@ -9,3 +9,7 @@
Type=Application
Categories=GNOME;System;Filesystem;
StartupNotify=true
+X-KDE-RootOnly=true
+X-KDE-SubstituteUID=true
+X-KDE-Username=root
+

View File

@ -0,0 +1,11 @@
diff -Nru gparted-0.5.0.orig/src/Win_GParted.cc gparted-0.5.0/src/Win_GParted.cc
--- gparted-0.5.0.orig/src/Win_GParted.cc 2009-11-25 20:39:15.000000000 +0100
+++ gparted-0.5.0/src/Win_GParted.cc 2009-12-21 23:03:24.000000000 +0100
@@ -38,6 +38,7 @@
#include <gtkmm/messagedialog.h>
#include <gtkmm/radiobuttongroup.h>
#include <gtkmm/main.h>
+#include <gtk/gtk.h>
namespace GParted
{

3
gparted-pkexec Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
pkexec /usr/sbin/gparted $@

19
gparted-polkit Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.run-gparted">
<description>Run GParted</description>
<message>Authentication is required to run GParted</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
</policyconfig>

281
gparted.spec Normal file
View File

@ -0,0 +1,281 @@
Name: gparted
Version: 0.18.0
Release: 1mamba
Summary: The Gnome Partition Editor application
Group: Graphical Desktop/Applications/Administration
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://gparted.sourceforge.net/
Source: http://downloads.sourceforge.net/gparted/gparted-%{version}.tar.bz2
Source1: gparted-polkit
Source2: gparted-pkexec
Patch1: %{name}-0.5.0-filedesktop.patch
Patch2: %{name}-0.3.3-hal.patch
Patch3: %{name}-0.5.0-gtk_include.patch
Patch4: %{name}-0.11.0-filedesktop_no_startupnotify.patch
Patch5: %{name}-0.14.1-desktop-use_gparted_pkexec.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: e2fsprogs
BuildRequires: glibc-devel
BuildRequires: hfstools
BuildRequires: jfsutils
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libgtk-devel
BuildRequires: libgtkmm-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm-devel
BuildRequires: libparted-devel
BuildRequires: libsigc++2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: mdadm
BuildRequires: ntfsprogs
BuildRequires: reiser4progs
BuildRequires: reiserfsprogs
BuildRequires: xfsprogs
## AUTOBUILDREQ-END
BuildRequires: libgtkmm2-devel
BuildRequires: libreiserfs-devel >= 0.3.0.4
BuildRequires: jfsutils >= 1.1.5
Requires: ntfsprogs >= 1.9.0
Requires: jfsutils >= 1.1.5
Requires: xfsprogs >= 2.5.6
Requires: e2fsprogs
Requires: reiserfsprogs
Requires: reiser4progs
Requires: hfstools
Requires: hfsutils
Requires: mdadm
Requires: btrfs-progs
Requires: gpart
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GParted is an industrial-strength package for creating, destroying, resizing, checking and copying partitions, and the file systems on them.
This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks and mirroring one partition with another (disk imaging).
A hard disk is usually subdivided into one or more partitions.
These partitions are normally not re-sizable (making one larger and the adjacent one smaller) The purpose of GParted is to allow the individual to take a hard disk and change the partition organization therein, while preserving the partition contents.
%prep
%setup -q
#%patch1 -p1
#%patch2
#%patch3 -p1
%patch4 -p1
%patch5 -p1
%build
%configure --disable-scrollkeeper GKSUPROG=""
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/org.gparted.policy
install -D -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/gparted-pkexec
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gparted-pkexec
%{_sbindir}/gparted
%{_sbindir}/gpartedbin
%{_datadir}/appdata/gparted.appdata.xml
%{_datadir}/omf/gparted/gparted-*.omf
%{_datadir}/polkit-1/actions/org.gparted.policy
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/gparted.png
%{_datadir}/icons/hicolor/scalable/apps/gparted.svg
%dir %{_datadir}/gnome/help/gparted
#%{_datadir}/gnome/help/gparted/*
%{_datadir}/gnome/help/gparted/C
%lang(cs) %{_datadir}/gnome/help/gparted/cs
%lang(de) %{_datadir}/gnome/help/gparted/de
%lang(el) %{_datadir}/gnome/help/gparted/el
%lang(es) %{_datadir}/gnome/help/gparted/es
%lang(fr) %{_datadir}/gnome/help/gparted/fr
%lang(gd) %{_datadir}/gnome/help/gparted/gd
%lang(it) %{_datadir}/gnome/help/gparted/it
%lang(pt_BR) %{_datadir}/gnome/help/gparted/pt_BR
%lang(ro) %{_datadir}/gnome/help/gparted/ro
%lang(ru) %{_datadir}/gnome/help/gparted/ru
%lang(sl) %{_datadir}/gnome/help/gparted/sl
%lang(sr) %{_datadir}/gnome/help/gparted/sr
%lang(sr@latin) %{_datadir}/gnome/help/gparted/sr@latin
%lang(sv) %{_datadir}/gnome/help/gparted/sv
%lang(te) %{_datadir}/gnome/help/gparted/te
%lang(th) %{_datadir}/gnome/help/gparted/th
%{_mandir}/man8/gparted.8*
%doc AUTHORS COPYING
#ChangeLog README
%changelog
* Thu Feb 20 2014 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
- automatic version update by autodist
* Tue Dec 10 2013 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Thu Sep 19 2013 Automatic Build System <autodist@mambasoft.it> 0.16.2-1mamba
- automatic version update by autodist
* Wed May 01 2013 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
- automatic version update by autodist
* Wed Apr 24 2013 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
- automatic version update by autodist
* Sat Dec 15 2012 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
- automatic version update by autodist
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
- automatic version update by autodist
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
- automatic version update by autodist
* Sun Aug 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-2mamba
- added gparted-pkexec wrapper to workaround gnome menu not working with pkexec
* Sat Jul 14 2012 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic version update by autodist
* Tue Apr 10 2012 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
- automatic version update by autodist
* Tue Mar 06 2012 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
- automatic version update by autodist
* Sun Feb 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0-3mamba
- desktop file: remove KDE root execution in favour of using pkexec; disable startup notify
* Sun Feb 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0-2mamba
- add polkit file and launch using pkexec
* Wed Dec 14 2011 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
- automatic version update by autodist
* Fri Dec 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.0-2mamba
- rebuilt with glib 2.30
* Wed Nov 02 2011 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic version update by autodist
* Sun Oct 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
- added requirement for gksu and gpart
* Wed Sep 28 2011 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic version update by autodist
* Tue Jul 19 2011 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic update by autodist
* Tue May 24 2011 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic update by autodist
* Wed Feb 16 2011 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic update by autodist
* Tue Dec 14 2010 Automatic Build System <autodist@mambasoft.it> 0.7.1-1mamba
- automatic update to 0.7.1 by autodist
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-2mamba
- added requirement for btrfs-progs
* Mon Nov 08 2010 Automatic Build System <autodist@mambasoft.it> 0.7.0-1mamba
- automatic update to 0.7.0 by autodist
* Sat Oct 02 2010 Automatic Build System <autodist@mambasoft.it> 0.6.4-1mamba
- automatic update to 0.6.4 by autodist
* Fri Sep 24 2010 Automatic Build System <autodist@mambasoft.it> 0.6.3-1mamba
- automatic update to 0.6.3 by autodist
* Mon Aug 02 2010 Automatic Build System <autodist@mambasoft.it> 0.6.2-1mamba
- automatic update to 0.6.2 by autodist
* Fri Jul 09 2010 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
- automatic update to 0.6.1 by autodist
* Sat Jun 19 2010 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic update to 0.6.0 by autodist
* Sun Mar 14 2010 Automatic Build System <autodist@mambasoft.it> 0.5.2-1mamba
- automatic update to 0.5.2 by autodist
* Wed Jan 27 2010 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- automatic update to 0.5.1 by autodist
* Thu Dec 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.0-2mamba
- updated desktop entry patch
* Tue Dec 22 2009 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic update to 0.5.0 by autodist
* Tue Nov 03 2009 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
- automatic update to 0.4.8 by autodist
* Sat Oct 10 2009 Automatic Build System <autodist@mambasoft.it> 0.4.7-1mamba
- automatic update to 0.4.7 by autodist
* Thu Aug 06 2009 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
- automatic update to 0.4.6 by autodist
* Sun Jul 26 2009 Automatic Build System <autodist@mambasoft.it> 0.4.5-2mamba
- automatic rebuild by autodist
* Sat May 09 2009 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic update to 0.4.5 by autodist
* Fri Apr 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1mamba
- automatic update to 0.4.4 by autodist
* Fri Feb 13 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
- automatic update to 0.4.3 by autodist
* Sun Feb 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
- automatic update to 0.4.2 by autodist
* Tue Dec 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
- automatic update to 0.4.1 by autodist
* Sat Sep 13 2008 gil <puntogil@libero.it> 0.3.9-1mamba
- update to 0.3.9
- added disable-scrollkeeper configure option
* Tue Jul 22 2008 gil <puntogil@libero.it> 0.3.8-1mamba
- update to 0.3.8
- new builrequires: libcairomm
* Wed Apr 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.7-1mamba
- update to 0.3.7
* Fri Mar 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.6-1mamba
- update to 0.3.6
* Tue Feb 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.5-1mamba
- update to 0.3.5
* Fri May 04 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3.3-1mamba
- update to 0.3.3
* Wed Feb 22 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.2.1-1qilnx
- package created by autospec