gparted/gparted.spec
Dominique Leuenberger cd27bcf910 Accepting request 707939 from home:enzokiel:branches:devel:openSUSE:Factory:Apps
- Update to version 1.0.0:
  + Key changes include:
    - Port to Gtkmm 3
    - Port to GNOME 3 yelp-tools documentation infrastructure
    - Enable online resizing of extended partitions
    - Add F2FS support for read disk usage, grow, and check
    - Fix slow refreshing of NTFS file systems
  + Bug Fixes
    - Port to Gtkmm 3 (#7, !9)
    - Increase minimums to libparted 2.2 and glibmm 2.32 (!22)
    - Enable online resizing of extended partitions (!23)
    - Port to GNOME 3 yelp-tools documentation infrastructure (!24)
    - Remove support for btrfs-progs < 3.12 (!26)
    - Set title of Resize/Move dialog for an extended partition
      (#44, !28)
    - Add F2FS support for read disk usage, grow, and check (!29)
    - Replace String::ucompose() with Glibmm equivalent (#46, !31)
    - Always show menu images (!32)
    - Save partition layout to gparted_details.htm (bgo#639176)
    - Could not stat device /dev/mapper/No RAID disks - No such
      file (bgo#786031)
    - File include/Partition.h: performance problem (bgo#788813)
    - File include/HBoxOperations.h: performance problem
      (bgo#788814)
    - Display more version and configuration information (!34)
    - After GTK3 port icons are too big on KDE (#39, !35)
    - Set partition type when clearing partition contents (!36)
    - Fix slow refreshing of NTFS file systems (#47, !37)
    - Fix minor issues with File System Support rescanning (!38)
    - Modern Gtk3 - part 1 (!25)
    - Improve partition information mount status formatting (#52)
    - Request natural width in Gtk::ScrolledWindows for
      Gtk >= 3.22 (!39)
    - Limit wrapping Gtk::Labels (!40)
    - NTFS Resize results in Partition Information Warning on
      Refresh (#57, !42)
  + Updated translations.
  + Dependencies (new/updated)
    - gtkmm >= 3.4.0
    - glibmm >= 2.32
    - libparted >= 2.2
    - yelp-tools
  + Dependencies (no longer needed)
    - gnome-doc-utils
    - rarian
    - rarian-compat

OBS-URL: https://build.opensuse.org/request/show/707939
OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/gparted?expand=0&rev=14
2019-06-06 07:14:04 +00:00

121 lines
3.8 KiB
RPMSpec

#
# spec file for package gparted
#
# Copyright (c) 2019 SUSE LINUX 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: 1.0.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-%{version}/%{name}-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz.sig
Source98: %{name}.policy
Source99: %{name}.keyring
BuildRequires: e2fsprogs-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: polkit
BuildRequires: scrollkeeper
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: xfsprogs-devel
BuildRequires: pkgconfig(glibmm-2.4) >= 2.32
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.4.0
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(libparted) >= 2.2
BuildRequires: pkgconfig(sigc++-2.0) >= 2.5.1
Requires: btrfsprogs >= 4.1
Requires: cryptsetup
Requires: e2fsprogs
Requires: hdparm
Requires: hfsutils
Requires: jfsutils
Requires: mtools
Requires: nilfs-utils
Requires: ntfsprogs
Requires: parted
Requires: polkit
Requires: reiserfs
Requires: util-linux
Requires: xdg-utils
Requires: xfsprogs
Recommends: gpart
Recommends: udftools
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
%if !0%{?is_opensuse}
translation-update-upstream
%endif
%build
export GKSUPROG="pkexec"
%configure \
--disable-scrollkeeper \
--enable-xhost-root
make %{?_smp_mflags}
%install
%make_install
install -Dm0644 %{S:98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy
# Here we remove upstream policy file since we have our own
rm %{buildroot}%{_datadir}/polkit-1/actions/org.gnome.%{name}.policy
%suse_update_desktop_file %{name}
%fdupes %{buildroot}%{_datadir}
%find_lang %{name} %{?no_lang_C}
%files
%defattr(-,root,root)
%doc README ChangeLog AUTHORS NEWS
%license COPYING
%{_bindir}/%{name}
%{_sbindir}/%{name}bin
%{_mandir}/man8/%{name}.8.gz
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml
%{_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.%{name}.policy
#{_datadir}/polkit-1/actions/org.gnome.%%{name}.policy
%{_datadir}/help/C/%{name}/index.docbook
%{_datadir}/help/C/%{name}/figures/gparted_window.png
%dir %{_datadir}/help/C/%{name}
%dir %{_datadir}/help/C/%{name}/figures
%files lang -f %{name}.lang
%changelog