Update to 0.30.0

epel8
Mukundan Ragavan 7 years ago
parent 5ec3a6629f
commit 331a36ad13

1
.gitignore vendored

@ -25,3 +25,4 @@ gparted-0.6.2.tar.bz2
/gparted-0.28.0.tar.gz /gparted-0.28.0.tar.gz
/gparted-0.28.1.tar.gz /gparted-0.28.1.tar.gz
/gparted-0.29.0.tar.gz /gparted-0.29.0.tar.gz
/gparted-0.30.0.tar.gz

@ -1,22 +1,25 @@
Summary: Gnome Partition Editor Summary: Gnome Partition Editor
Name: gparted Name: gparted
Version: 0.29.0 Version: 0.30.0
Release: 1%{?dist} Release: 1%{?dist}
Group: Applications/System Group: Applications/System
License: GPLv2+ License: GPLv2+
URL: http://gparted.org URL: http://gparted.org
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: org.fedoraproject.pkexec.run-gparted.policy
Source2: gparted_polkit BuildRequires: gtkmm24-devel
# https://bugzilla.redhat.com/show_bug.cgi?id=1258891 BuildRequires: parted-devel
# Upstream bug report and source of patch BuildRequires: libuuid-devel
# https://bugzilla.gnome.org/show_bug.cgi?id=755022 BuildRequires: gettext
## Patch0: gparted_0.23_nvme.patch BuildRequires: perl(XML::Parser)
BuildRequires: gtkmm24-devel parted-devel BuildRequires: desktop-file-utils
BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: gnome-doc-utils
BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: intltool
BuildRequires: rarian-compat BuildRequires: rarian-compat
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: polkit
BuildRequires: libappstream-glib
Requires: PolicyKit-authentication-agent Requires: PolicyKit-authentication-agent
%description %description
@ -28,12 +31,11 @@ will be detected at runtime and don't require a rebuild of GParted
%prep %prep
%setup -q %setup -q
##%%patch0
sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in
%build %build
%configure --enable-libparted-dmraid --enable-online-resize %configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root
make %{?_smp_mflags} make V=1 %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -48,11 +50,11 @@ desktop-file-install --delete-original \
--add-category GTK \ --add-category GTK \
%{buildroot}%{_datadir}/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/polkit-1/actions/ # install appdata file
cp %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/ mkdir -p %{buildroot}%{_datadir}/metainfo
%{__install} -p -m755 %{name}.appdata.xml %{buildroot}%{_datadir}/metainfo
mkdir -p %{buildroot}%{_bindir} appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
%{__install} -p -m755 %{SOURCE2} %{buildroot}%{_bindir}/
%find_lang %{name} %find_lang %{name}
@ -69,19 +71,26 @@ fi
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang %files -f %{name}.lang
%doc AUTHORS COPYING ChangeLog README %license COPYING
%{_sbindir}/gparted %doc AUTHORS ChangeLog README
%{_bindir}/gparted_polkit %{_bindir}/%{name}
%{_sbindir}/gpartedbin %{_sbindir}/gpartedbin
%{_datadir}/applications/gparted.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/icons/hicolor/*/apps/gparted.* %{_datadir}/icons/hicolor/*/apps/gparted.*
%{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy %{_datadir}/polkit-1/actions/org.gnome.gparted.policy
%{_datadir}/appdata/gparted.appdata.xml %{_datadir}/appdata/gparted.appdata.xml
%{_datadir}/gnome/help/gparted/ %{_datadir}/gnome/help/gparted/
%{_datadir}/omf/gparted/ %{_datadir}/omf/gparted/
%{_mandir}/man8/gparted.* %{_mandir}/man8/gparted.*
%changelog %changelog
* Mon Oct 23 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.30.0-1
- Update to 0.30.0
- Add appdata files
- Drop fedora pkexec scripts
- Use pkexec policy from upstream
* Fri Sep 15 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.29.0-1 * Fri Sep 15 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.29.0-1
- Update to 0.29.0 - Update to 0.29.0

@ -1 +1 @@
SHA512 (gparted-0.29.0.tar.gz) = ea01a5b98f8a70d229eb81b58e46b5f0037e909cf72043e7364812ca77b32ee4bad0d215699a08f1b6fcacc31cece3a3058b6178e7bf2df6ba63b11ee64e2f8f SHA512 (gparted-0.30.0.tar.gz) = 64cfc3d0a30a94ccd19bd13bbbb6be06f059df57b1f810010b16fea0d78013066e6929ea7dadf2cff38230a215e478429e98a389edea8d3a29ddfe85075b4104

Loading…
Cancel
Save