57542d1e09
Update to 0.16.0 - bug fix (forwarded request 173307 from darix) OBS-URL: https://build.opensuse.org/request/show/173308 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gparted?expand=0&rev=17
113 lines
3.2 KiB
RPMSpec
113 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package gparted
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gparted
|
|
Version: 0.16.0
|
|
Release: 0
|
|
Summary: Gnome Partition Editor
|
|
License: GPL-2.0
|
|
Group: System/Filesystems
|
|
Url: http://gparted.sourceforge.net/
|
|
Source0: http://downloads.sourceforge.net/project/gparted/gparted/gparted-0.16.0/%{name}-%{version}.tar.bz2
|
|
Source1: gparted.policy
|
|
BuildRequires: e2fsprogs-devel
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: gtkmm2-devel >= 2.22.0
|
|
BuildRequires: intltool
|
|
BuildRequires: parted-devel
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: polkit
|
|
BuildRequires: scrollkeeper
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xfsprogs-devel
|
|
Requires: btrfsprogs
|
|
Requires: e2fsprogs
|
|
Requires: hfsutils
|
|
Requires: jfsutils
|
|
Requires: mtools
|
|
Requires: nilfs-utils
|
|
Requires: ntfsprogs
|
|
Requires: parted
|
|
Requires: polkit
|
|
Requires: reiserfs
|
|
Requires: xdg-utils
|
|
Requires: xfsprogs
|
|
Recommends: gpart
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
GParted is an industrial-strength package for creating, destroying, resizing,
|
|
moving, checking and copying partitions, and the filesystems on them. This is
|
|
useful for creating space for new operating systems, reorganizing disk usage,
|
|
copying data residing on hard disks and mirroring one partition with another
|
|
(disk imaging).
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
export GKSUPROG="pkexec"
|
|
%configure \
|
|
--disable-scrollkeeper
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
install -Dm0644 %{S:1} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.gparted.policy
|
|
|
|
%suse_update_desktop_file %{name}
|
|
%fdupes %{buildroot}
|
|
%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
|
|
%defattr(-,root,root)
|
|
%doc README ChangeLog AUTHORS NEWS COPYING
|
|
%{_sbindir}/gparted
|
|
%{_sbindir}/gpartedbin
|
|
%{_mandir}/man8/gparted.8.gz
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
%{_datadir}/polkit-1/actions/org.opensuse.policykit.gparted.policy
|
|
%dir %{_datadir}/gnome
|
|
%dir %{_datadir}/gnome/help
|
|
%dir %{_datadir}/gnome/help/gparted
|
|
%doc %{_datadir}/gnome/help/gparted/C/
|
|
%doc %{_datadir}/omf/gparted/gparted-C.omf
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|