Add an AppData file for the software center
This commit is contained in:
parent
993f9366c8
commit
a0604eb5eb
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: gnome-disk-utility
|
Name: gnome-disk-utility
|
||||||
Version: 3.16.0
|
Version: 3.16.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Disks
|
Summary: Disks
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -64,6 +64,41 @@ make DESTDIR=%{buildroot} INSTALL="install -p" install
|
|||||||
rm -f %{buildroot}%{_libdir}/gnome-settings-daemon-3.0/*.la
|
rm -f %{buildroot}%{_libdir}/gnome-settings-daemon-3.0/*.la
|
||||||
rm -f %{buildroot}%{_libdir}/gnome-settings-daemon-3.0/*.a
|
rm -f %{buildroot}%{_libdir}/gnome-settings-daemon-3.0/*.a
|
||||||
|
|
||||||
|
# Register as an application to be visible in the software center
|
||||||
|
#
|
||||||
|
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||||
|
# project, translated and installed into the right place during `make install`.
|
||||||
|
#
|
||||||
|
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||||
|
#
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||||
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/gnome-disks.appdata.xml <<EOF
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||||
|
<!--
|
||||||
|
BugReportURL: https://bugzilla.gnome.org/show_bug.cgi?id=722688
|
||||||
|
-->
|
||||||
|
<application>
|
||||||
|
<id type="desktop">gnome-disks.desktop</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Disks provides a way to inspect, format, partition and configure disks and block devices.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Using Disks, you can view SMART data, manage RAID devices and benchmark physical disks.
|
||||||
|
Tasks are executed in the background, even after the application has been closed by the user.
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">http://people.freedesktop.org/~david/gnome-disks-mdraid-20120920-1.png</screenshot>
|
||||||
|
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-disks/a.png</screenshot>
|
||||||
|
<screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-disks/b.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<url type="homepage">https://wiki.gnome.org/Design/Apps/Disks</url>
|
||||||
|
<updatecontact>zeuthen@gmail.com</updatecontact>
|
||||||
|
</application>
|
||||||
|
EOF
|
||||||
|
|
||||||
%check
|
%check
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||||
@ -98,6 +133,7 @@ done
|
|||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS COPYING NEWS README
|
||||||
%{_bindir}/gnome-disks
|
%{_bindir}/gnome-disks
|
||||||
%{_bindir}/gnome-disk-image-mounter
|
%{_bindir}/gnome-disk-image-mounter
|
||||||
|
%{_datadir}/appdata/*.appdata.xml
|
||||||
%{_datadir}/applications/gnome-disks.desktop
|
%{_datadir}/applications/gnome-disks.desktop
|
||||||
%{_datadir}/applications/gnome-disk-image-mounter.desktop
|
%{_datadir}/applications/gnome-disk-image-mounter.desktop
|
||||||
%{_datadir}/applications/gnome-disk-image-writer.desktop
|
%{_datadir}/applications/gnome-disk-image-writer.desktop
|
||||||
@ -111,6 +147,9 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 3.16.0-2
|
||||||
|
- Add an AppData file for the software center
|
||||||
|
|
||||||
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
|
* Mon Mar 23 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.0-1
|
||||||
- Update to 3.16.0
|
- Update to 3.16.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user