You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gparted/gparted.spec

77 lines
2.1 KiB

Summary: Gnome Partition Editor
Name: gparted
3 years ago
Version: 1.4.0
Release: %autorelease
License: GPLv2+
8 years ago
URL: http://gparted.org
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
7 years ago
BuildRequires: gtkmm30-devel
7 years ago
BuildRequires: parted-devel
BuildRequires: libuuid-devel
BuildRequires: gettext
BuildRequires: perl(XML::Parser)
BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: pkgconfig
7 years ago
BuildRequires: polkit
BuildRequires: libappstream-glib
BuildRequires: itstool
BuildRequires: gcc-c++
4 years ago
BuildRequires: make
7 years ago
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
%setup -q
%build
7 years ago
%configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root
7 years ago
%make_build
%install
7 years ago
%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
7 years ago
# install appdata file
mkdir -p %{buildroot}%{_datadir}/metainfo
%{__install} -p -m755 %{name}.appdata.xml %{buildroot}%{_datadir}/metainfo
7 years ago
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml
%find_lang %{name}
7 years ago
%ldconfig_scriptlets
16 years ago
%files -f %{name}.lang
7 years ago
%license COPYING
%doc AUTHORS ChangeLog README
4 years ago
%{_libexecdir}/gpartedbin
7 years ago
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/icons/hicolor/*/apps/gparted.*
7 years ago
%{_datadir}/polkit-1/actions/org.gnome.gparted.policy
%{_datadir}/appdata/gparted.appdata.xml
%{_datadir}/help/*/gparted/*
%{_mandir}/man8/gparted.*
%changelog
%autochangelog