Accepting request 545032 from home:luc14n0:branches:devel:openSUSE:Factory:Apps
Update to version 0.30.0. OBS-URL: https://build.opensuse.org/request/show/545032 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/gparted?expand=0&rev=9
This commit is contained in:
parent
c0bfe1e12a
commit
31128291bb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2250bf6bb43687be149c2a95fbfe2f6f0215690e187179d5f733ae518fa7c3cd
|
|
||||||
size 3751292
|
|
Binary file not shown.
3
gparted-0.30.0.tar.gz
Normal file
3
gparted-0.30.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d31193effe058bdaeb2a4cd4b514ec753191179a0bc3abefda68a2b7975ecf4a
|
||||||
|
size 3784163
|
BIN
gparted-0.30.0.tar.gz.sig
Normal file
BIN
gparted-0.30.0.tar.gz.sig
Normal file
Binary file not shown.
@ -1,3 +1,48 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 18 01:33:27 UTC 2017 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 0.30.0:
|
||||||
|
+ Interim fix for GParted fails to run as root under Wayland.
|
||||||
|
+ Fix reading Unicode labels when no FS specific tools available.
|
||||||
|
+ Safely quote and escape external programs arguments.
|
||||||
|
+ Uses pkexec command (part of polkit) for root privilege
|
||||||
|
escalation when available.
|
||||||
|
+ Bug Fixes:
|
||||||
|
- Interim fix for GParted fails to run as root under Wayland
|
||||||
|
(bgo#776437).
|
||||||
|
- Fix:
|
||||||
|
. Message failed to execute "mkudffs" when not installed
|
||||||
|
(bgo#786050).
|
||||||
|
. Reading Unicode labels when no FS specific tools available
|
||||||
|
(bgo#786502).
|
||||||
|
. Detection of file system images (bgo#787181).
|
||||||
|
. Problems with space in device names (bgo#649509).
|
||||||
|
+ Update list of prohibited fat label characters (bgo#787202).
|
||||||
|
+ Safely quote and escape external programs arguments
|
||||||
|
(bgo#787203).
|
||||||
|
+ Remove:
|
||||||
|
- Minor bits of legacy from DMRaid module (bgo#788007).
|
||||||
|
- whole_device partition flag (bgo#788308).
|
||||||
|
+ Updated translations.
|
||||||
|
- Pass --enable-xhost-root parameter to configure: an interim
|
||||||
|
workaround to allow GParted to run under Wayland by using xhost
|
||||||
|
to grant and revoke root access to the X11 display.
|
||||||
|
- Drop gparted_polkit and its sed command to inject it into
|
||||||
|
Makefile: the installation location of the gparted script has
|
||||||
|
changed and package scripts calling pkexec can be dropped.
|
||||||
|
- Point fdupes to the data directory instead of the build root,
|
||||||
|
which is a practice that must be avoided.
|
||||||
|
- Remove %clean section: it's no longer needed since RPM has this
|
||||||
|
functionality itself now.
|
||||||
|
- Drop %icon_theme_cache_* and %desktop_database_* post/postun
|
||||||
|
scriptlets: it's no longer needed since RPM file triggers.
|
||||||
|
- Add conditional use to translation-update-upstream: it's a
|
||||||
|
SLE-only requirement.
|
||||||
|
- Switch gtkmm2-devel BuildRequires to its pkgconfig counterpart
|
||||||
|
once that configure only checks for its module.
|
||||||
|
- Add glibmm-2.4 and sigc++-2.0 pkgconfig BuildRequires: note that
|
||||||
|
they were already being used but not declared in the specfile.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 09 22:11:23 UTC 2017 - joerg.lorenzen@ki.tng.de
|
Wed Aug 09 22:11:23 UTC 2017 - joerg.lorenzen@ki.tng.de
|
||||||
|
|
||||||
|
57
gparted.spec
57
gparted.spec
@ -17,30 +17,34 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gparted
|
Name: gparted
|
||||||
Version: 0.29.0
|
Version: 0.30.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Gnome Partition Editor
|
Summary: Gnome Partition Editor
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Filesystems
|
Group: System/Filesystems
|
||||||
Url: http://gparted.sourceforge.net/
|
Url: http://gparted.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: gparted.policy
|
Source1: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz.sig
|
||||||
Source2: gparted_polkit
|
Source98: %{name}.policy
|
||||||
Source98: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz.sig
|
|
||||||
Source99: %{name}.keyring
|
Source99: %{name}.keyring
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gnome-doc-utils-devel
|
BuildRequires: gnome-doc-utils-devel
|
||||||
BuildRequires: gtkmm2-devel >= 2.22.0
|
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: parted-devel
|
BuildRequires: parted-devel
|
||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
BuildRequires: polkit
|
BuildRequires: polkit
|
||||||
BuildRequires: scrollkeeper
|
BuildRequires: scrollkeeper
|
||||||
|
%if !0%{?is_opensuse}
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
|
%endif
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: xfsprogs-devel
|
BuildRequires: xfsprogs-devel
|
||||||
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.14.0
|
||||||
|
BuildRequires: pkgconfig(gtkmm-2.4) > 2.8
|
||||||
|
BuildRequires: pkgconfig(gthread-2.0)
|
||||||
|
BuildRequires: pkgconfig(sigc++-2.0) >= 2.5.1
|
||||||
Requires: btrfsprogs >= 4.1
|
Requires: btrfsprogs >= 4.1
|
||||||
Requires: cryptsetup
|
Requires: cryptsetup
|
||||||
Requires: e2fsprogs
|
Requires: e2fsprogs
|
||||||
@ -70,58 +74,47 @@ copying data residing on hard disks and mirroring one partition with another
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in
|
%if !0%{?is_opensuse}
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export GKSUPROG="pkexec"
|
export GKSUPROG="pkexec"
|
||||||
%configure \
|
%configure \
|
||||||
--disable-scrollkeeper
|
--disable-scrollkeeper \
|
||||||
|
--enable-xhost-root
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
install -Dm0644 %{S:1} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.gparted.policy
|
install -Dm0644 %{S:98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy
|
||||||
|
# Here we remove upstream policy file since we have our own
|
||||||
# install the helper wrapper
|
rm %{buildroot}%{_datadir}/polkit-1/actions/org.gnome.%{name}.policy
|
||||||
mkdir -p %{buildroot}%{_sbindir}
|
|
||||||
install -p -m755 %{SOURCE2} %{buildroot}%{_sbindir}
|
|
||||||
|
|
||||||
%suse_update_desktop_file %{name}
|
%suse_update_desktop_file %{name}
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post
|
|
||||||
%icon_theme_cache_post
|
|
||||||
%desktop_database_post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%icon_theme_cache_postun
|
|
||||||
%desktop_database_postun
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README ChangeLog AUTHORS NEWS COPYING
|
%doc README ChangeLog AUTHORS NEWS COPYING
|
||||||
%{_sbindir}/gparted_polkit
|
%{_bindir}/%{name}
|
||||||
%{_sbindir}/gparted
|
%{_sbindir}/%{name}bin
|
||||||
%{_sbindir}/gpartedbin
|
%{_mandir}/man8/%{name}.8.gz
|
||||||
%{_mandir}/man8/gparted.8.gz
|
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
%{_datadir}/appdata/%{name}.appdata.xml
|
%{_datadir}/appdata/%{name}.appdata.xml
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
|
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
%{_datadir}/polkit-1/actions/org.opensuse.policykit.gparted.policy
|
%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy
|
||||||
|
#{_datadir}/polkit-1/actions/org.gnome.%%{name}.policy
|
||||||
%dir %{_datadir}/gnome
|
%dir %{_datadir}/gnome
|
||||||
%dir %{_datadir}/gnome/help
|
%dir %{_datadir}/gnome/help
|
||||||
%dir %{_datadir}/gnome/help/gparted
|
%dir %{_datadir}/gnome/help/%{name}
|
||||||
%doc %{_datadir}/gnome/help/gparted/C/
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
||||||
%dir %{_datadir}/omf
|
%dir %{_datadir}/omf
|
||||||
%doc %{_datadir}/omf/gparted/gparted-C.omf
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ $(which pkexec) ]; then
|
|
||||||
pkexec --disable-internal-agent "/usr/sbin/gparted" "$@"
|
|
||||||
else
|
|
||||||
/usr/sbin/gparted "$@"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user