|
|
|
@ -1,99 +1,3 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.2.5)
|
|
|
|
|
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 1;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Summary: Gnome Partition Editor
|
|
|
|
|
Name: gparted
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: %autorelease.inferit
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://gparted.org
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch100: 0001-Added-Russian-description-for-ArcMenu.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtkmm30-devel
|
|
|
|
|
BuildRequires: parted-devel
|
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: polkit
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: itstool
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
Requires: PolicyKit-authentication-agent
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
|
--mode 0644 \
|
|
|
|
|
--add-category X-Fedora \
|
|
|
|
|
--add-category GTK \
|
|
|
|
|
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
# install appdata file
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/metainfo
|
|
|
|
|
%{__install} -p -m755 %{name}.appdata.xml %{buildroot}%{_datadir}/metainfo
|
|
|
|
|
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog README
|
|
|
|
|
%{_libexecdir}/gpartedbin
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gparted.*
|
|
|
|
|
%{_datadir}/polkit-1/actions/org.gnome.gparted.policy
|
|
|
|
|
%{_datadir}/appdata/gparted.appdata.xml
|
|
|
|
|
%{_datadir}/help/*/gparted/*
|
|
|
|
|
%{_mandir}/man8/gparted.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 10 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 1.4.0-1.inferit
|
|
|
|
|
- Added Russian description for ArcMenu
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 1.4.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Wed Mar 30 2022 Mukundan Ragavan <nonamedotc@gmail.com> 1.4.0-1
|
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
@ -518,4 +422,3 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a
|
|
|
|
|
|
|
|
|
|
* Wed Oct 26 2005 Deji Akingunola <dakingun@gmail.com> - 0.0.8-1
|
|
|
|
|
- initial Extras release
|
|
|
|
|
|