8f8ec2
Name:          gnome-disk-utility
8f8ec2
Version:       3.28.3
8f8ec2
Release:       1%{?dist}
8f8ec2
Summary:       Disks
8f8ec2
8f8ec2
License:       GPLv2+
8f8ec2
URL:           https://git.gnome.org/browse/gnome-disk-utility
8f8ec2
Source0:       https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
8f8ec2
# Fix the build with Python 2
8f8ec2
Patch0:        gnome-disk-utility-python2.patch
8f8ec2
# Fix the build with RHEL 7 gcc that doesn't use c99 by default
8f8ec2
Patch1:        gnome-disk-utility-c99.patch
8f8ec2
# Define __USE_XOPEN to get M_PI from math.h with RHEL 7 glibc
8f8ec2
Patch2:        gnome-disk-utility-m_pi.patch
8f8ec2
8f8ec2
BuildRequires: /usr/bin/appstream-util
8f8ec2
BuildRequires: desktop-file-utils
8f8ec2
BuildRequires: docbook-style-xsl
8f8ec2
BuildRequires: gettext
8f8ec2
# for xsltproc
8f8ec2
BuildRequires: libxslt
8f8ec2
BuildRequires: meson
8f8ec2
BuildRequires: pkgconfig(dvdread)
8f8ec2
BuildRequires: pkgconfig(glib-2.0)
8f8ec2
BuildRequires: pkgconfig(gtk+-3.0)
8f8ec2
BuildRequires: pkgconfig(libcanberra-gtk3)
8f8ec2
BuildRequires: pkgconfig(liblzma)
8f8ec2
BuildRequires: pkgconfig(libnotify)
8f8ec2
BuildRequires: pkgconfig(libsecret-1)
8f8ec2
BuildRequires: pkgconfig(libsystemd)
8f8ec2
BuildRequires: pkgconfig(pwquality)
8f8ec2
BuildRequires: pkgconfig(udisks2)
8f8ec2
8f8ec2
Requires:      udisks2
8f8ec2
8f8ec2
%description
8f8ec2
This package contains the Disks and Disk Image Mounter applications.
8f8ec2
Disks supports partitioning, file system creation, encryption,
8f8ec2
fstab/crypttab editing, ATA SMART and other features
8f8ec2
8f8ec2
%prep
8f8ec2
%autosetup -p1
8f8ec2
8f8ec2
8f8ec2
%build
8f8ec2
%meson
8f8ec2
%meson_build
8f8ec2
8f8ec2
8f8ec2
%install
8f8ec2
%meson_install
8f8ec2
%find_lang %{name}
8f8ec2
8f8ec2
8f8ec2
%check
8f8ec2
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.DiskUtility.appdata.xml
8f8ec2
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
8f8ec2
8f8ec2
8f8ec2
%post
8f8ec2
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8f8ec2
update-desktop-database %{_datadir}/applications &> /dev/null || :
8f8ec2
8f8ec2
8f8ec2
%postun
8f8ec2
update-desktop-database %{_datadir}/applications &> /dev/null || :
8f8ec2
if [ $1 -eq 0 ] ; then
8f8ec2
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
8f8ec2
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
8f8ec2
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8f8ec2
fi
8f8ec2
8f8ec2
8f8ec2
%posttrans
8f8ec2
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
8f8ec2
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
8f8ec2
8f8ec2
8f8ec2
%files -f %{name}.lang
8f8ec2
%doc AUTHORS NEWS README
8f8ec2
%license COPYING
8f8ec2
%{_bindir}/gnome-disks
8f8ec2
%{_bindir}/gnome-disk-image-mounter
8f8ec2
%{_datadir}/applications/org.gnome.DiskUtility.desktop
8f8ec2
%{_datadir}/applications/gnome-disk-image-mounter.desktop
8f8ec2
%{_datadir}/applications/gnome-disk-image-writer.desktop
8f8ec2
%{_datadir}/dbus-1/services/org.gnome.DiskUtility.service
8f8ec2
%{_datadir}/glib-2.0/schemas/org.gnome.Disks.gschema.xml
8f8ec2
%{_datadir}/icons/hicolor/*/apps/gnome-disks*
8f8ec2
%{_datadir}/metainfo/org.gnome.DiskUtility.appdata.xml
8f8ec2
%{_mandir}/man1/*
8f8ec2
%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.DiskUtilityNotify.desktop
8f8ec2
%{_libexecdir}/gsd-disk-utility-notify
8f8ec2
8f8ec2
8f8ec2
%changelog
8f8ec2
* Fri Jun 01 2018 Kalev Lember <klember@redhat.com> - 3.28.3-1
8f8ec2
- Update to 3.28.3
8f8ec2
- Resolves: #1568170
8f8ec2
8f8ec2
* Tue May 08 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
8f8ec2
- Update to 3.28.2
8f8ec2
- Resolves: #1568170
8f8ec2
8f8ec2
* Thu Nov 24 2016 Kalev Lember <klember@redhat.com> - 3.22.1-1
8f8ec2
- Update to 3.22.1
8f8ec2
- Resolves: #1386891
8f8ec2
8f8ec2
* Fri May 22 2015 Matthias Clasen <mclasen@redhat.com> - 3.14.0-2
8f8ec2
- Remove deprecated keys from desktop files
8f8ec2
Related: #1174596
8f8ec2
8f8ec2
* Mon Mar 23 2015 Richard Hughes <rhughes@redhat.com> - 3.14.0-1
8f8ec2
- Update to 3.14.0
8f8ec2
- Resolves: #1174596
8f8ec2
8f8ec2
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.2-5
8f8ec2
- Mass rebuild 2014-01-24
8f8ec2
8f8ec2
* Fri Jan 10 2014 Matthias Clasen <mclasen@redhat.com> - 3.8.2-4
8f8ec2
- Make formatting usb drives from nautilus work again
8f8ec2
Resolves: #1051664
8f8ec2
8f8ec2
* Thu Jan  9 2014 Zeeshan Ali <zeenix@redhat.com> - 3.8.2-3
8f8ec2
- Complete translations (#1030339).
8f8ec2
8f8ec2
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.2-2
8f8ec2
- Mass rebuild 2013-12-27
8f8ec2
8f8ec2
* Sun Jun 02 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.2-1
8f8ec2
- Update to 3.8.2
8f8ec2
8f8ec2
* Wed Mar 20 2013 Richard Hughes <rhughes@redhat.com> - 3.8.0-1
8f8ec2
- Update to 3.8.0
8f8ec2
8f8ec2
* Mon Feb 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.2-2
8f8ec2
- Require gnome-icon-theme-symbolic (#910982)
8f8ec2
8f8ec2
* Tue Feb 19 2013 Richard Hughes <rhughes@redhat.com> - 3.7.2-1
8f8ec2
- Update to 3.7.2
8f8ec2
8f8ec2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.1-2
8f8ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8f8ec2
8f8ec2
* Mon Jan 07 2013 David Zeuthen <davidz@redhat.com> - 3.7.1-1%{?dist}
8f8ec2
- Update to 3.7.1
8f8ec2
8f8ec2
* Fri Dec 21 2012 David Zeuthen <davidz@redhat.com> - 3.7.0-4%{?dist}
8f8ec2
- Add files for the new gnome-settings-daemon plug-in
8f8ec2
8f8ec2
* Fri Dec 21 2012 David Zeuthen <davidz@redhat.com> - 3.7.0-3%{?dist}
8f8ec2
- BR gnome-settings-daemon 3.7.3 and rebuild without --disable-gsd-plugin
8f8ec2
8f8ec2
* Tue Dec 18 2012 David Zeuthen <davidz@redhat.com> - 3.7.0-2%{?dist}
8f8ec2
- Adjust BRs
8f8ec2
8f8ec2
* Tue Dec 18 2012 David Zeuthen <davidz@redhat.com> - 3.7.0-1%{?dist}
8f8ec2
- Update to 3.7.0
8f8ec2
8f8ec2
* Fri Oct 05 2012 David Zeuthen <davidz@redhat.com> - 3.6.1-1%{?dist}
8f8ec2
- Update to 3.6.1
8f8ec2
8f8ec2
* Sat Sep 22 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.0-1
8f8ec2
- Update to 3.6.0
8f8ec2
- Drop the -Werror patch; applied upstream
8f8ec2
- Add glib-compile-schemas scriptlets
8f8ec2
- Relicensed from LGPLv2+ to GPLv2+
8f8ec2
8f8ec2
* Fri Jul 27 2012 David Zeuthen <davidz@redhat.com> - 3.5.3-2%{?dist}
8f8ec2
- Avoid treating warnings as errors
8f8ec2
8f8ec2
* Fri Jul 27 2012 David Zeuthen <davidz@redhat.com> - 3.5.3-1%{?dist}
8f8ec2
- Update to 3.5.3
8f8ec2
8f8ec2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.2-3
8f8ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8f8ec2
8f8ec2
* Sun Jun 10 2012 Ville Skyttä <ville.skytta@iki.fi> - 3.5.2-2
8f8ec2
- Own the %%{_datadir}/gnome-disk-utility dir.
8f8ec2
8f8ec2
* Tue Jun 05 2012 David Zeuthen <davidz@redhat.com> - 3.5.2-1%{?dist}
8f8ec2
- Update to 3.5.2
8f8ec2
8f8ec2
* Mon May 09 2012 David Zeuthen <davidz@redhat.com> - 3.5.1-4%{?dist}
8f8ec2
- BR docbook-style-xsl for man pages
8f8ec2
8f8ec2
* Mon May 09 2012 David Zeuthen <davidz@redhat.com> - 3.5.1-3%{?dist}
8f8ec2
- BR libxslt (for xsltproc)
8f8ec2
8f8ec2
* Mon May 09 2012 David Zeuthen <davidz@redhat.com> - 3.5.1-2%{?dist}
8f8ec2
- BR libgnome-keyring-devel and systemd-devel
8f8ec2
8f8ec2
* Mon May 09 2012 David Zeuthen <davidz@redhat.com> - 3.5.1-1%{?dist}
8f8ec2
- Update to 3.5.1
8f8ec2
8f8ec2
* Mon Apr 30 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
8f8ec2
- Update to 3.4.1
8f8ec2
8f8ec2
* Mon Mar 26 2012 David Zeuthen <davidz@redhat.com> - 3.4.0-1%{?dist}
8f8ec2
- Update to release 3.4.0
8f8ec2
8f8ec2
* Mon Mar 05 2012 David Zeuthen <davidz@redhat.com> - 3.3.93-1%{?dist}
8f8ec2
- Update to release 3.3.93
8f8ec2
8f8ec2
* Thu Feb 23 2012 David Zeuthen <davidz@redhat.com> - 3.3.92-1%{?dist}
8f8ec2
- Update to release 3.3.92
8f8ec2
8f8ec2
* Mon Feb 06 2012 David Zeuthen <davidz@redhat.com> - 3.3.91-1%{?dist}
8f8ec2
- Update to release 3.3.91
8f8ec2
8f8ec2
* Tue Jan 24 2012 David Zeuthen <davidz@redhat.com> - 3.3.90-3%{?dist}
8f8ec2
- Require udisks2 package (for the daemon) (#783974)
8f8ec2
8f8ec2
* Fri Jan 20 2012 David Zeuthen <davidz@redhat.com> - 3.3.90-2%{?dist}
8f8ec2
- Rebuild
8f8ec2
8f8ec2
* Fri Jan 20 2012 David Zeuthen <davidz@redhat.com> - 3.3.90-1%{?dist}
8f8ec2
- Update to release 3.3.90
8f8ec2
8f8ec2
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-5
8f8ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8f8ec2
8f8ec2
* Tue Nov 08 2011 Adam Jackson <ajax@redhat.com> - 3.0.2-4
8f8ec2
- Rebuild to break bogus libpng dep
8f8ec2
8f8ec2
* Mon Jul 11 2011 David Zeuthen <davidz@redhat.com> - 3.0.2-3%{?dist}
8f8ec2
- BR gtk-doc
8f8ec2
8f8ec2
* Mon Jul 11 2011 David Zeuthen <davidz@redhat.com> - 3.0.2-2%{?dist}
8f8ec2
- BR gnome-common
8f8ec2
8f8ec2
* Mon Jul 11 2011 David Zeuthen <davidz@redhat.com> - 3.0.2-1%{?dist}
8f8ec2
- Update to 3.0.2
8f8ec2
8f8ec2
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-2
8f8ec2
- Update icon cache scriptlet
8f8ec2
8f8ec2
* Mon Apr  4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
8f8ec2
- Update to 3.0.0
8f8ec2
8f8ec2
* Mon Mar 21 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.7-1
8f8ec2
- Update to 2.91.7
8f8ec2
8f8ec2
* Mon Mar 14 2011 Tomas Bzatek <tbzatek@redhat.com> - 2.91.6-5
8f8ec2
- Fix gnome-disk-utility-nautilus upgrade path
8f8ec2
8f8ec2
* Tue Feb 22 2011 Tomas Bzatek <tbzatek@redhat.com> - 2.91.6-4
8f8ec2
- Split nautilus extension into a separate package
8f8ec2
8f8ec2
* Fri Feb 11 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-3
8f8ec2
- Rebuild against newer gtk
8f8ec2
8f8ec2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6-2
8f8ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8f8ec2
8f8ec2
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-1%{?dist}
8f8ec2
- Update to 2.91.6
8f8ec2
8f8ec2
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.32.1-4%{?dist}
8f8ec2
- Rebuild against newer gtk
8f8ec2
8f8ec2
* Fri Jan  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.32.1-3%{?dist}
8f8ec2
- Rebuild against new gtk
8f8ec2
8f8ec2
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.1-2%{?dist}
8f8ec2
- Rebuild against new gtk
8f8ec2
8f8ec2
* Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.1-1%{?dist}
8f8ec2
- 2.32.1
8f8ec2
8f8ec2
* Fri Nov  5 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-3%{?dist}
8f8ec2
- Fix a problem with 'disk failure' notifications
8f8ec2
8f8ec2
* Wed Nov  3 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-2%{?dist}
8f8ec2
- Rebuild against libnotify 0.7.0
8f8ec2
8f8ec2
* Tue Sep 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1%{?dist}
8f8ec2
- Update to 2.32.0
8f8ec2
8f8ec2
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.1-2%{?dist}
8f8ec2
- Kill the scrollkeeper runtime dep
8f8ec2
8f8ec2
* Mon Mar 22 2010 David Zeuthen <davidz@redhat.com> - 2.30.1-1%{?dist}
8f8ec2
- Update to 2.30.1
8f8ec2
8f8ec2
* Mon Mar 15 2010 David Zeuthen <davidz@redhat.com> - 2.30.0-1%{?dist}
8f8ec2
- Update to 2.30.0
8f8ec2
8f8ec2
* Tue Feb 23 2010 David Zeuthen <davidz@redhat.com> - 2.29.90-1%{?dist}
8f8ec2
- Update to 2.29.90
8f8ec2
8f8ec2
* Mon Feb 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100215.3%{?dist}
8f8ec2
- Add rarian-compat to BR
8f8ec2
8f8ec2
* Mon Feb 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100215.1%{?dist}
8f8ec2
- Update to git snapshot
8f8ec2
- Drop upstreamed patches
8f8ec2
8f8ec2
* Mon Jan 18 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.0-0.git20100115.2%{?dist}
8f8ec2
- Install missing include
8f8ec2
8f8ec2
* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100115.1%{?dist}
8f8ec2
- BR avahi-ui-devel
8f8ec2
8f8ec2
* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100115%{?dist}
8f8ec2
- Update to git snapshot
8f8ec2
8f8ec2
* Wed Dec  2 2009 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20091202%{?dist}
8f8ec2
- Update to git snapshot that requires udisks instead of DeviceKit-disks
8f8ec2
- The UI has been completely revamped
8f8ec2
8f8ec2
* Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 2.28.0-2%{?dist}
8f8ec2
- BR libatasmart-devel
8f8ec2
8f8ec2
* Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 2.28.0-1%{?dist}
8f8ec2
- Update to upstream release 2.28.0
8f8ec2
- Compared to previous releases, this release should whine less about SMART
8f8ec2
8f8ec2
* Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-3%{?dist}
8f8ec2
- Drop upstreamed patch
8f8ec2
8f8ec2
* Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-2%{?dist}
8f8ec2
- Rebuild
8f8ec2
8f8ec2
* Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-1%{?dist}
8f8ec2
- Update to release 0.5
8f8ec2
8f8ec2
* Mon Jul 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.4-3%{?dist}
8f8ec2
- Drop PolicyKit from .pc files, too
8f8ec2
8f8ec2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
8f8ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8f8ec2
8f8ec2
* Fri Jun 19 2009 David Zeuthen <davidz@redhat.com> - 0.4-1%{?dist}
8f8ec2
- Update to release 0.4
8f8ec2
8f8ec2
* Fri May 01 2009 David Zeuthen <davidz@redhat.com> - 0.3-1%{?dist}
8f8ec2
- Upstream release 0.3
8f8ec2
8f8ec2
* Wed Apr 15 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.5.20090415git%{?dist}
8f8ec2
- New snapshot
8f8ec2
8f8ec2
* Sun Apr 12 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.4.20090412git%{?dist}
8f8ec2
- New snapshot
8f8ec2
8f8ec2
* Fri Apr 10 2009 Matthias Clasen <mclasen@redhat.com> - 0.3-0.3.20090406git%{?dist}
8f8ec2
- Don't own directories that belong to hicolor-icon-theme
8f8ec2
8f8ec2
* Wed Apr 08 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.2.20090406git%{?dist}
8f8ec2
- Fix bug in detecting when a PolicyKit error is returned (#494787)
8f8ec2
8f8ec2
* Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.1.20090406git%{?dist}
8f8ec2
- New snapshot
8f8ec2
8f8ec2
* Wed Mar 04 2009 David Zeuthen <davidz@redhat.com> - 0.2-2%{?dist}
8f8ec2
- Don't crash when changing the LUKS passphrase on a device
8f8ec2
8f8ec2
* Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 0.2-1%{?dist}
8f8ec2
- Update to version 0.2
8f8ec2
8f8ec2
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.git20080720.2.1
8f8ec2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8f8ec2
8f8ec2
* Tue Jan 27 2009 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.2%{?dist}
8f8ec2
- Rebuild for pkgconfig provides
8f8ec2
8f8ec2
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.1%{?dist}
8f8ec2
- Improve %%summary and %%description
8f8ec2
8f8ec2
* Fri Jul 20 2008 David Zeuthen <davidz@redhat.com> - 0.1-0.git20080720%{?dist}
8f8ec2
- Initial Packaging