require yelp, exfat-utils

desktop entry: remove launching with pkexec [release 0.30.0-2mamba;Fri Jan 26 2018]
This commit is contained in:
Silvan Calarco 2024-01-05 23:21:51 +01:00
parent 46157a88b1
commit f7d7bf07f5

View File

@ -1,6 +1,6 @@
### AUTOUPDATE-OFF: 2
Name: gparted
Version: 0.29.0
Version: 0.30.0
Release: 2mamba
Summary: The Gnome Partition Editor application
Group: Graphical Desktop/Applications/Administration
@ -55,6 +55,10 @@ Requires: btrfs-progs
Requires: f2fs-tools
Requires: nilfs-utils
Requires: gpart
%ifnarch arm
Requires: yelp
%endif
Requires: fuse-exfat
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@ -70,7 +74,8 @@ These partitions are normally not re-sizable (making one larger and the adjacent
#%patch2
#%patch3 -p1
#%patch4 -p1
%patch5 -p1
#%patch5 -p1
#sed -i "s|Exec=.*|Exec=%{_bindir}/gparted-pkexec|" gparted.desktop gparted.desktop.in.in
%build
%configure --disable-scrollkeeper GKSUPROG=""
@ -80,8 +85,8 @@ These partitions are normally not re-sizable (making one larger and the adjacent
[ "%{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
#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}
@ -90,12 +95,13 @@ install -D -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/gparted-pkexec
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gparted-pkexec
%{_sbindir}/gparted
%{_bindir}/gparted
#%{_bindir}/gparted-pkexec
%{_sbindir}/gpartedbin
%{_datadir}/appdata/gparted.appdata.xml
%{_datadir}/omf/gparted/gparted-*.omf
%{_datadir}/polkit-1/actions/org.gparted.policy
#%{_datadir}/polkit-1/actions/org.gparted.policy
%{_datadir}/polkit-1/actions/org.gnome.gparted.policy
%{_datadir}/applications/%{name}.desktop
#%{_datadir}/pixmaps/gparted.png
%{_datadir}/icons/hicolor/*/apps/gparted.png
@ -124,6 +130,13 @@ install -D -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/gparted-pkexec
#ChangeLog README
%changelog
* Fri Jan 26 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.30.0-2mamba
- require yelp, exfat-utils
- desktop entry: remove launching with pkexec
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 0.30.0-1mamba
- automatic version update by autodist
* Thu Oct 05 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.29.0-2mamba
- restore necessary desktop file patch #5